处罚反馈图片 不能放大

dev-2024年1月8日
dearlin 2023-11-09 14:49:47 +08:00
parent e7107158cf
commit 94d8533849
1 changed files with 8 additions and 1 deletions

View File

@ -159,7 +159,7 @@
<view slot="title" class="title">罚款缴纳单</view>
<view slot="value" class="mt-10">
<u--image :showLoading="true" :src="punishForm.HANDLE_IMG"
width="80px" height="80px" @click="previewImage(punishForm.HANDLE_IMG)"></u--image>
width="80px" height="80px" @click="previewImagePunish(punishForm.HANDLE_IMG)"></u--image>
</view>
</u-cell>
<u-cell v-if="punishForm.HANLDE_TIME">
@ -243,6 +243,13 @@ export default {
this.modalShow = true;
this.videoUrl = videoUrl;
},
previewImagePunish(e) {
let urls = []
urls.push(e)
uni.previewImage({
urls
});
},
previewImage(list,current) {
let urls = []
for (let i = 0; i < list.length; i++) {