- movable-view中的图片在IOS上放大后模糊
movable-view中有个image,图片放在本地,图片本身不模糊。在Android中放大之后,图片由模糊迅速变为了清晰,而在IOS中放大之后,图片始终模糊。感觉在Android中,图片放大之后做了分级加载,而在IOS中没有这么处理。代码如下: <movable-area> <movable-view x="0" y="0" direction="all" scale="true" animation="true" inertia="true" scale-min="1" scale-max="5" out-of-bounds> <image class='map' mode='widthFix' src='{{mapSrc}}'> </image> </movable-view> </movable-area>
2018-08-17 - swiper 和 movable-view一起使用,缩放拖动图片,冲突,怎么解决?
双指缩放放大图片之后,拖动图片,swiper也生效,变成上一页下一页了 <swiper class="swiper" skip-hidden-item-layout current="{{current}}"> <block wx:for="{{groupList}}" wx:key="{{item.id}}"> <swiper-item> <movable-area class="swiper" scale-area> <movable-view class="swiper" direction="all" out-of-bounds scale scale-min="1" scale-max="4" scale-value="1" > <image lazy-load src="{{item.url}}" mode="aspectFit"></image> </movable-view> </movable-area> </swiper-item> </block> </swiper>
2019-10-10