swiper组件为视频和图片排版的时候,视频在ios无法滑动
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" current="{{current}}" bindchange="swiperChange"> <block wx:for="{{imgUrls}}" wx:key="{{index}}"> <swiper-item wx:if="{{item.type == 2}}"> <video autoplay="{{true}}" objectFit="{{cover}}" enable-progress-gesture="{{false}}" custom-cache="{{false}}" controls="{{true}}" src="{{item.src}}" style="width:100%;height:100%;" /> swiper-item> <swiper-item wx:else> <image src="{{item.src}}" data-src="{{item.src}}" class="slide-image" mode="scaleToFill" bind:tap="previewImage"/> swiper-item> block> swiper> 模拟器可以滑动 真机预览不能滑动