Mini Program: load more pages without scroll-view,. Is there any way to tell if you slide to the bottom?

feel that the scroll-view sliding experience is a little worse


has its own method API onReachBottom
example:

onReachBottom: function() {
    if (!this.data.lastPage && this.data.isLoadMore) {
        this.getListData();
    }
},

can also be configured with scrolling distance

"onReachBottomDistance":400,

onReachBottomDistance this can only be used once or it is better to judge the visual height in getsysteminfo

Menu