From 1ae423f71a056e06a1f8908c6ae048d865e8ff47 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 11:43:43 +0800
Subject: [PATCH] b端

---
 wechat_jiaxuan/pages/homeId/index.js |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/wechat_jiaxuan/pages/homeId/index.js b/wechat_jiaxuan/pages/homeId/index.js
index 8a633b7..03b2ca0 100644
--- a/wechat_jiaxuan/pages/homeId/index.js
+++ b/wechat_jiaxuan/pages/homeId/index.js
@@ -36,6 +36,11 @@
       })
     }
   },
+  onPullDownRefresh: function () {
+    console.log('涓嬫媺鍒锋柊');
+    this.setData({ dataList: [], pageNum: 1, total: 0 })
+    this.getList()
+  },
   getList(){
     const { code, tagCodes, pageSize, pageNum } = this.data
     pageZSZXContentList({
@@ -62,7 +67,11 @@
     }
     if(item.contentType == 'link'){
       wx.navigateTo({
-        url: '/pages/webView/index?link=' + item.content,
+        url: '/pages/webView/index',
+        success: function(res) {
+          console.log('鍙戝嚭浜嬩欢');
+          res.eventChannel.emit('data',{link:item.content} );
+        }
       })
     }
     if(item.contentType == 'page'){
@@ -117,14 +126,6 @@
   onUnload() {
 
   },
-
-  /**
-   * 椤甸潰鐩稿叧浜嬩欢澶勭悊鍑芥暟--鐩戝惉鐢ㄦ埛涓嬫媺鍔ㄤ綔
-   */
-  onPullDownRefresh() {
-
-  },
-
   /**
    * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁�
    */

--
Gitblit v1.9.3