From 26fb0b3e76f52212a2cef49a0bc0b94e7425880c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 29 七月 2024 10:55:10 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_staff/pages/detailDis/case.js | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/wechat_staff/pages/detailDis/case.js b/wechat_staff/pages/detailDis/case.js
index 99a8561..5e0a0ee 100644
--- a/wechat_staff/pages/detailDis/case.js
+++ b/wechat_staff/pages/detailDis/case.js
@@ -30,14 +30,29 @@
wx.navigateTo({
url: '/pages/webView/index',
success: function(res) {
- // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
- res.eventChannel.emit('acceptDataFromOpenerPage', { link, title })
- }
+ // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
+ console.log(link+"--------------------")
+ res.eventChannel.emit('data',{link:link,title:title} );
+ }
})
},
openShare() {
this.setData({showShare: true})
},
+ priviewLayout() {
+ wx.previewImage({
+ urls: [this.data.info.layoutUlr]
+ })
+ },
+ priviewSpace(e) {
+ const url = e.currentTarget.dataset.url
+ const index = e.currentTarget.dataset.index
+ const { info } = this.data
+ wx.previewImage({
+ urls: info.apiSpaceCaseVos[index].imgList,
+ current: url
+ })
+ },
handleShare() {
console.log('鐐瑰嚮浜嗗垎浜�');
actionDo({ actionType: 'share', id: this.data.info.id })
--
Gitblit v1.9.3