From b444da33c9de750aec3724e8f1cb4efe8775b165 Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Thu, 12 Sep 2024 20:50:09 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master
---
gz-wxparty/pages/myRegisterDetail/index.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/gz-wxparty/pages/myRegisterDetail/index.js b/gz-wxparty/pages/myRegisterDetail/index.js
index 7e8c800..7d47145 100644
--- a/gz-wxparty/pages/myRegisterDetail/index.js
+++ b/gz-wxparty/pages/myRegisterDetail/index.js
@@ -29,6 +29,7 @@
*/
data: {
imgUrl: $$.url.img,
+ fileUrl: $$.baseUrl + $$.url.fileShowUrl,
submitData: {},
oneList: [],
fileList: []
@@ -57,6 +58,18 @@
});
},
+ // 预览图片
+ handlePreviewImage(e) {
+ let item = e.currentTarget.dataset.item;
+ let index = e.currentTarget.dataset.index;
+ console.log('item,', item);
+ console.log('item,', `${this.data.fileUrl}${item.showUrl}`);
+ wx.previewImage({
+ current: `${this.data.fileUrl}${item.showUrl}`,
+ urls: [`${this.data.fileUrl}${item.showUrl}`] // 需要预览的图片http链接列表
+ });
+ },
+
// 获取纠纷案件详情
async getById(data) {
$$.showLoading();
--
Gitblit v1.8.0