From d8525f5cb53722babe52a488c49eab6a16d1d900 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 3 Dec 2024 16:00:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=83=BD=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=94=BE=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/eight_assignments/view_info.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/eight_assignments/view_info.vue b/pages/eight_assignments/view_info.vue index f45f43b..7fd3794 100644 --- a/pages/eight_assignments/view_info.vue +++ b/pages/eight_assignments/view_info.vue @@ -14,6 +14,7 @@ height="200rpx" :src="$filePath + item1.ITEM_VALUE" mode="widthFix" + @click="fnPreviewImage($filePath + item1.ITEM_VALUE)" /> @@ -140,6 +141,12 @@ export default { }, goBack(){ uni.navigateBack() + }, + fnPreviewImage(src){ + uni.previewImage({ + urls: [src], + current: src, + }); } }, }