|
|
@@ -304,7 +304,11 @@ Page({
|
|
|
this.doAnimation(false);
|
|
|
},
|
|
|
complete: () => {
|
|
|
- wx.stopPullDownRefresh();
|
|
|
+ wx.stopPullDownRefresh({
|
|
|
+ success: () => {
|
|
|
+ console.log('stopPullDownRefresh')
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -377,6 +381,13 @@ Page({
|
|
|
duration: 600,
|
|
|
timingFunction: 'ease',
|
|
|
})
|
|
|
+ wx.getSystemInfo({
|
|
|
+ success: res => {
|
|
|
+ this.setData({
|
|
|
+ per: 750 / res.windowWidth
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
wx.createSelectorQuery().select('.choose-area').boundingClientRect((rect) => {
|
|
|
this.setData({
|
|
|
fixTop: rect.top,
|
|
|
@@ -407,7 +418,6 @@ Page({
|
|
|
pageNo: 1,
|
|
|
scrollTop: 0
|
|
|
}, _ => {
|
|
|
- this.doAnimation(true)
|
|
|
this.getList()
|
|
|
})
|
|
|
},
|