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