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_jiaxuan/components/disProduct/index.js |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
index abd00dd..6a8d494 100644
--- a/wechat_jiaxuan/components/disProduct/index.js
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -22,7 +22,7 @@
     pageSize: 10,
     total: 0,
     query: '',
-    sortType: 'NORMAL',
+    sortType: '',
     catalogCode: ""
   },
   attached() {
@@ -66,7 +66,6 @@
       })
     },
     bindblur() {
-      console.log('澶卞幓鐒︾偣');
       this.setData({ pageNum: 1,datalist: [],total: 0})
       this.getList()
     },
@@ -94,9 +93,13 @@
         })
       }
     },
+    scrolltoupper() {
+      this.setData({ pageNum: 1,datalist: [],total: 0})
+      this.getList()
+    },
     cateClick(e) {
       const catalogCode = e.currentTarget.dataset.code
-      this.setData({ catalogCode })
+      this.setData({ catalogCode, tagCodes: [] })
       this.setData({ pageNum: 1,datalist: [],total: 0})
       this.getTag()
       this.getList()
@@ -138,7 +141,6 @@
         secondCateList[activeIndex].paramIndex = -1
         secondCateList[activeIndex].paramName = ''
       }
-      this.setData({ pageNum: 1,datalist: [],total: 0})
       this.setData({ tagCodes, secondCateList })
     },
     changeShowParams(e){
@@ -154,7 +156,6 @@
           activeParam: secondCateList[activeIndex].valueVos
         })
       }
-      console.log('activeParam', this.data.activeParam);
       // this.setData({showTwo: false})
     },
     cancelParam() {

--
Gitblit v1.9.3