onPageScroll (e) {
console.log(e)
},
<view class="wrapIndex" bindtouchstart="touchStart" bindtouchend="touchEnd"></view>
touchStart(e){
//console.log('滚起来', e);
this.setData({
scrollStop: false
})
},
touchEnd(e){
// console.log('停下来', e);
this.setData({
scrollStop: true
})
},
微信小程序的文档
scroll-view
https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html