处罚反馈图片 不能放大

pull/2/head
dearlin 2023-11-09 14:42:29 +08:00
parent bd5bbaefde
commit 782eb04212
1 changed files with 207 additions and 200 deletions

View File

@ -159,7 +159,7 @@
</view>
<view class="cu-form-group" v-if="punishForm.HANDLE_IMG">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img">
<view class="bg-img" @tap="viewImagePunish">
<image :src="baseImgPath + punishForm.HANDLE_IMG" mode="aspectFill"></image>
</view>
</view>
@ -265,6 +265,13 @@ export default {
}
})
},
viewImagePunish(e) {
let files = [];
files.push(this.baseImgPath + this.punishForm.HANDLE_IMG)
uni.previewImage({
urls: files
});
},
ViewImage(e) {
let files = [];
for (var i = 0; i < this.hiddenForm.hiddenImgs.length; i++) {