scrollview的bindscrolltoupper无法触发
发布于 5 年前 作者 ama 3196 次浏览 来自 问答

scrollview设置了高度,如果wx:for的list撑满屏幕滚动和下拉刷新都没问题,但是list数据过少时,

bindscrolltoupper和bindscroll都无效。(图一无效,图二有效)

<scroll-view class="bigWrap" scroll-y="true" scroll-top="{{scrollTop}}"   bindscroll="scroll" bindscrolltolower="scrollLower" bindscrolltoupper="scrolltoupper" upper-threshold="-20"lower-threshold="0" style="height:{{scrollHeight}}px;">

1 回复

这个社区没啥用啊

回到顶部