html
<view class="list" v-for="(item, index) in urls" :key="index">
<image :src="item" @click="viewImg(item, index)" disabled></image>
</view>
```js
// 预览大图
javascript
viewImg(data, index) {
uni.previewImage({
current: index,
urls: this.urls,
});
},
},