图片能点击放大
parent
10ef76c1b6
commit
cc9dd66f3b
|
@ -14,6 +14,7 @@
|
|||
height="200rpx"
|
||||
:src="$filePath + item1.ITEM_VALUE"
|
||||
mode="widthFix"
|
||||
@click="fnPreviewImage($filePath + item1.ITEM_VALUE)"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -140,6 +141,12 @@ export default {
|
|||
},
|
||||
goBack(){
|
||||
uni.navigateBack()
|
||||
},
|
||||
fnPreviewImage(src){
|
||||
uni.previewImage({
|
||||
urls: [src],
|
||||
current: src,
|
||||
});
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue