croll-view内包裹的元素无法触发onReachBottom,只要设置scroll-view的min-height为screenHeight就可以触发onReachBottom,但是scroll-view自身的bindscroll事件就会失效,但是如果设置scroll-view的height为screenHeight时,虽然自身的bindscroll事件可生效,但是onReachBottom却不触发。 请问有两全的办法吗,因为我既需要上拉加载功能也需要监听滚动事件,现在二者不能同时实现很困扰。 那很简单啊 scroll-view文档有啊
<scroll-view bindscrolltolower="bottom" lower-threshold=“距离底部高度”>scroll-view> //index.js
bottom(t){...};//触底加载
|