<scroll-view class="contaioner" scroll-y bindscroll="scroll" scroll-top="{{top}}" disableScroll="{{false}}">
<view class="item">{{top}}</view>
<view class="item" style="background:blue">{{top}}</view>
<view class="item" style="background:pink">{{top}}</view>
</scroll-view>
.contaioner{
width: 100%;
height: 100vh;
background-color: red;
}
.item{
width: 100%;
height: 100vh;
background-color: green;
}
这是ios的橡皮筋效果
百度可以搜到一些解决方案
做成触底的时候禁止滚动 松手的时候恢复滚动,可能效果不太好。。
不过iOS本来就这样。。为啥要改掉呢