一、主要知识点:
利用"onPullDownRefresh"和"onReachBottom"方法
二、页面视图代码
<scroll-view scroll-y = true >
.........
</scroll-view>
三、页面js代码
onPullDownRefresh: function() {
// Do something when pull down.
console.log('刷新');
},
onReachBottom: function() {
// Do something when page reach bottom.
console.log('circle 下一页');
},