# 图片预览 ### 使用: ```js //开始预览 this.$image({index, urlList}) //退出预览 this.$image.close() ``` ### $image({index, urlList}) - `index` : `number`,当前图片在图片数组中的下标。 - `urlList` : `array`,需要预览的图片的url数组