From 00e08c6ccc009f0629e6a7891353ce1bdc1d3a0b Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Sat, 19 Oct 2024 15:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=9A=E5=9B=BE=E9=A2=84?= =?UTF-8?q?=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundle_b/pages/mall_news/detail.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bundle_b/pages/mall_news/detail.vue b/bundle_b/pages/mall_news/detail.vue index 4ec4e3d..cb79c49 100644 --- a/bundle_b/pages/mall_news/detail.vue +++ b/bundle_b/pages/mall_news/detail.vue @@ -10,7 +10,7 @@ - + @@ -68,9 +68,14 @@ this.getDetail() }, methods: { - preview(url) { + preview(i) { + let f = this.item.files.map((v) => { + return v.src + }) + uni.previewImage({ - urls: [url] + current: i, + urls: f }); },