diff --git a/ext.json b/ext.json index 057d054..be47808 100644 --- a/ext.json +++ b/ext.json @@ -4,7 +4,7 @@ "ext": { "weappId": "wxea71200db93d756b", "name": "富茂客官开发", - "appVersion": "C.4.2.107", + "appVersion": "C.4.2.108", "attr": { "configUrl": "https://ciformall.youlane.cn/C/api", "socketUrl": "wss://mp.youlane.cn/W/ws", diff --git a/pages/czdetail/czdetail.js b/pages/czdetail/czdetail.js index b5634a2..053a8ec 100644 --- a/pages/czdetail/czdetail.js +++ b/pages/czdetail/czdetail.js @@ -47,6 +47,7 @@ Page({ pageSize: 20, } }).then(res => { + wx.stopPullDownRefresh(); res.data.list.map(file => { file.createDate = util.formatTime( file.createDate, @@ -73,6 +74,18 @@ Page({ }) } }, + /** + * 刷新 + */ + onPullDownRefresh: function (e) { + let that = this; + that.setData({ + pageNum: 1, + list: [], + allow_load: true + }); + that.record(1); + }, getScore: function() { let that = this; Http.get({ diff --git a/pages/czdetail/czdetail.json b/pages/czdetail/czdetail.json index cd2bb5f..067d648 100644 --- a/pages/czdetail/czdetail.json +++ b/pages/czdetail/czdetail.json @@ -1,3 +1,4 @@ { - "navigationBarTitleText": "成长值" + "navigationBarTitleText": "成长值", + "enablePullDownRefresh": true } \ No newline at end of file diff --git a/pages/integralmall/integraHistory/index.js b/pages/integralmall/integraHistory/index.js index 69ee154..8f857fd 100644 --- a/pages/integralmall/integraHistory/index.js +++ b/pages/integralmall/integraHistory/index.js @@ -89,7 +89,8 @@ Page({ let that = this; that.setData({ pageNum: 1, - list:[] + list:[], + allow_load:true }); that.record(1); },