You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

33 lines
445 B

// refresh.js
Page({
/**
* 页面的初始数据
*/
data: {
refresherState: false
},
onRefresh(e) {
console.log('onRefresh>>>>')
this.setData({
refresherState: true
})
setTimeout(() => {
this.setData({
refresherState: false
})
}, 3000)
},
onLoad() {
setTimeout(() => {
this.setData({
refresherState: true
})
}, 3000)
},
onPulling(e) {
}
})