微信小程序监听页面滚动的事件

onPageScroll (e) { console.log(e) }, <view class="wrapIndex" bindtouchstart="touchStart" bindtouchend="touchEnd"></view> touchStart(e){ //console.log('滚起来', e); this.setData({ sc
相关文章
相关标签/搜索