<!-- 视频 -->
<view a:if="{{(item.videoSrc)?true:false}}">
<view style="width:{{picWidth}}rpx;height:{{picHeight}}rpx;">
<video id="myVideo{{index}}"
custom-cache="{{false}}"
src="{{item.videoSrc}}"
controls="{{showAllControls==1?true:false}}"
loop="{{isLooping==1?true:false}}"
muted="{{isMute==1?true:false}}"
show-fullscreen-btn="{{isShowFull==1?true:false}}"
show-play-btn="{{isShowPlay==1?true:false}}"
show-center-play-btn="{{isShowCenter==1?true:false}}"
object-fit="{{objectFit}}"
autoplay="{{true}}"
style="width:100%;height:100%;background-size:100% 100%;transform:scale({{index==curIndex?1:0.9}})"/>
</view>
</view>
在video组件加上custom-cache="{{false}}"解决视频卡顿问题