From f6efc465e8f5633313afc8da54c17988722073eb Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sat, 14 Sep 2024 15:55:07 +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