From 63298679cf76ba3ea4e806a2724c542c85f3a265 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Sat, 5 Sep 2020 17:07:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=BA=97=E9=93=BA=E6=89=A7?= =?UTF-8?q?=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageC/merchant/details.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pageC/merchant/details.vue b/pageC/merchant/details.vue index baabf0e..85b170a 100644 --- a/pageC/merchant/details.vue +++ b/pageC/merchant/details.vue @@ -25,7 +25,7 @@ - + @@ -42,6 +42,15 @@ export default { // console.log(res) this.info = res.data }) + }, + methods: { + previewImage(urls) { + // console.log(urls); + const imageList = [urls]; + uni.previewImage({ + urls: imageList, + }); + }, } };