uni-app 图片放大预览

 <div class="event-img">
            <img :src="item" alt="" v-for="(item,index) in imgPathList" @click="viewImg(imgPathList,index)"/>
          </div>
  viewImg(item,index){
      uni.previewImage({
        current:index,
        urls:item
      })
    },

 

posted @ 2023-05-12 15:34  abcByme  阅读(218)  评论(0编辑  收藏  举报