From aaf97d54c83e4a454ff9c656cae09366a30a4f22 Mon Sep 17 00:00:00 2001 From: jyx <2012969435@qq.com> Date: Mon, 30 Sep 2024 09:51:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index faf4451..a02cc6d 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -21,7 +21,7 @@ - + {{painting.ArtworkName}} 画作编号:{{ painting.Tfnum }} @@ -186,7 +186,14 @@ const scrolltolower = async () => { showMessage({type: "error", message: res.msg}); } }; +//点击照片预览 +const enlarge=(src) =>{ + uni.previewImage({ + urls: [src], + current: src + }); +}