From ae3833a1fc16bd3c9fd13f8301397e5835a9e49c Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sun, 15 Sep 2024 15:31:02 +0800
Subject: [PATCH] fix: 自行排查更改、流程组件完善
---
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