From a812fee59d8051da5a59311ce5d0e0d5def44578 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 15:21:29 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_jiaxuan/components/disProduct/index.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
index d1d3649..31babd3 100644
--- a/wechat_jiaxuan/components/disProduct/index.js
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -22,13 +22,12 @@
pageSize: 10,
total: 0,
query: '',
- sortType: 'NORMAL',
+ sortType: '',
catalogCode: ""
},
attached() {
this.getCatelist()
var app = getApp()
- console.log('globalData', app.globalData);
if(app.globalData.catalogCode){
this.setData({ catalogCode: app.globalData.catalogCode })
setTimeout(() => {
@@ -66,7 +65,6 @@
})
},
bindblur() {
- console.log('澶卞幓鐒︾偣');
this.setData({ pageNum: 1,datalist: [],total: 0})
this.getList()
},
@@ -94,6 +92,10 @@
})
}
},
+ scrolltoupper() {
+ this.setData({ pageNum: 1,datalist: [],total: 0})
+ this.getList()
+ },
cateClick(e) {
const catalogCode = e.currentTarget.dataset.code
this.setData({ catalogCode, tagCodes: [] })
--
Gitblit v1.9.3