The mini program comes with a pull-down refresh option. Just turn on the "onPullDownRefresh" option. Infinite loading can be achieved using the "binscrolltolower" event of the view container "scroll-view";
Now you need to use pull-down refresh and infinite loading at the same time, but the official said the following sentence, is it possible to rewrite it by yourself through touchstart, touchmove, touchend? How does everyone do this?
I don’t want to use the “bindscrolltoupper” event of “scroll-view” to refresh, this is too fake
The solution has been found. It can be completed by using the following two methods on the page. There is no need to use "scroll-view"