uni.previewImage预览图片
使用方法:
<image class="poster" :src="imageUrl" mode="" @click="previewImg(imageUrl)"></image>const previewImg = (e) => {uni.previewImage({current: e,urls: image});
}
官网链接uni.chooseImage(OBJECT) | uni-app官网uni-app,uniCloud,serverlesshttps://uniapp.dcloud.net.cn/api/media/image.html#unipreviewimageobject