< scroll-view wx:if="{{headImageMode}}" scroll-y bindscroll = "scrollViewDidScroll" style = "width: 750rpx;height: 390rpx;position: relative" > < image src = "" bindload = "headImageLoaded" style = "width: {{scrollHeadImageSize.width}}rpx;height: {{scrollHeadImageSize.height}}rpx;position: absolute" >
|
scroll-view 带有条件判断,第一次显示的时候无法滚动,第二次显示的时候就可以了
微信版本 6.5.14
---------------
找到问题了,得把 scrollHeadImageSize.height 的初始值设置的比较大 比如1000