<swiper class="video-swiper" vertical duration="10" current="{{current}}" bindchange="onChange" circular="{{circular}}">
<swiper-item wx:for="{{videoList}}" wx:key="index">
<!-- wx:if="{{(index+1)===(current) || index===current ||(index-1)===(current)}}" -->
<!-- <block wx:if="{{item.url!=''}}"> -->
<block >
<video wx:if="{{index===current?true:false}}" id="video_{{index}}" class="video-swiper" show-fullscreen-btn="{{false}}" enable-play-gesture show-center-play-btn="{{false}}" controls enable-progress-gesture="{{false}}" show-bottom-progress src="{{item.url}}" data-id="{{item.id}}" object-fit="cover" data-index="{{index}}" bindtap="videoTap" data-videoId="{{item.id}}" show-play-btn="{{false}}" auto-pause-if-navigate autoplay="{{index===current}}" loop bindplay="onBindplay" custom-cache="{{false}}">
<image class="playImage" src="../../assets/images/play.png" wx:if="{{item.play}}"></image>
</video>
</block>
</swiper-item>
</swiper>
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
楼主有解决吗