swiper 图片抖动问题
小程序顶部banner图在模拟环境中没有问题,但是发布之后,在真机中就一直抖动,如下图
<scroll-view style=“width:100%;height:100%” scroll-y=“true” bindscroll=“scrollTopFun” scroll-with-animation=“true” scroll-top=“{{scrollTop}}”>
<view class=“page-section page-section-spacing” bindtap=“goJnh”>
<swiper class=“swiper” indicator-dots=“{{indicatorDots}}” autoplay=“{{autoplay}}” circular=“{{circular}}” vertical=“{{vertical}}” interval=“{{interval}}” duration=“{{duration}}” previous-margin=“{{previousMargin}}px” next-margin=“{{nextMargin}}px” bindchange=‘bindchange’ current=“{{current}}” style=“height:{{imgheights[current]}}rpx;”>
<block wx:for=“{{background}}” wx:key=“*this”>
<swiper-item>
<image mode=“widthFix” src=“{{item}}” bindload=“imageLoad” data-index=‘{{index}}’ class=“slide-image” width=“355” height=“200” />
</swiper-item>
</block>
</swiper>
<text class=“banner-text”>国家AAAA级景区———金牛湖旅游度假区</text>
</view>
