Home  >  Q&A  >  body text

javascript - WeChat applet pull-up loading, pull-down refresh implementation problem?

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

过去多啦不再A梦过去多啦不再A梦2729 days ago1006

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-19 10:22:21

    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"

    reply
    0
  • Cancelreply