From c7d7aff39b6566d05d3c0a080839c46bb2b6a8aa Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 11:43:44 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
 wechat_staff/components/disRealpic/index.js |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/wechat_staff/components/disRealpic/index.js b/wechat_staff/components/disRealpic/index.js
index d5fea88..52ce1e3 100644
--- a/wechat_staff/components/disRealpic/index.js
+++ b/wechat_staff/components/disRealpic/index.js
@@ -74,10 +74,10 @@
       const item = e.currentTarget.dataset.item
       console.log('item', item);
       wx.navigateTo({
-        url: '/pages/webView/index?link=' + item.openContent,
+        url: '/pages/webView/index',
         success: function(res) {
-          // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
-          res.eventChannel.emit('acceptDataFromOpenerPage', { link: item.openContent, title: item.title })
+          // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹� 
+          res.eventChannel.emit('data',{link:item.openContent} );
         }
       })
     },
@@ -107,7 +107,11 @@
       }
       if(item.openType == 'link'){
         wx.navigateTo({
-          url: '/pages/webView/index?link=' + item.openContent,
+          url: '/pages/webView/index',
+          success: function(res) {
+            // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹� 
+            res.eventChannel.emit('data',{link:item.openContent} );
+          }
         })
       }
       if(item.openType == 'page'){
--
Gitblit v1.9.3