这三个属性是触发下拉效果的。
通常搭配onPullDownRefresh生命周期
onPullDownRefresh:function() {
console.log('下拉刷新');
}
关于 onReachBottomDistance 的使用,要搭配页面生命周期 onReachBottom使用。
(页面上拉触底事件触发时距页面底部距离,单位只支持px)
onReachBottom:function(){
console.log('页面触底')
}