Merge remote-tracking branch 'origin/dev' into lmy20231110

pull/2/head
limingyu 2023-11-21 10:11:02 +08:00
commit e777225a63
1 changed files with 207 additions and 200 deletions

View File

@ -159,7 +159,7 @@
</view> </view>
<view class="cu-form-group" v-if="punishForm.HANDLE_IMG"> <view class="cu-form-group" v-if="punishForm.HANDLE_IMG">
<view class="grid col-4 grid-square flex-sub"> <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> <image :src="baseImgPath + punishForm.HANDLE_IMG" mode="aspectFill"></image>
</view> </view>
</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) { ViewImage(e) {
let files = []; let files = [];
for (var i = 0; i < this.hiddenForm.hiddenImgs.length; i++) { for (var i = 0; i < this.hiddenForm.hiddenImgs.length; i++) {