小程序scroll-view上拉加载
2018-11-19 本文已影响73人
前端来入坑
<!--wxml-->
<scroll-view scroll-top="{{scrollTop}}" scroll-y="true" style="height:{{scrollHeight}}px;" bindscrolltolower="toLowFun" bindscroll="scroll">
</scroll-view>
//js
toLowFun() {
console.log("触底事件");
}
