图片能点击放大
parent
f26c6c94a7
commit
d8525f5cb5
|
@ -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