处罚反馈图片 不能放大
parent
bd5bbaefde
commit
782eb04212
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue