1 |
- <view class="product-bg data-v-2fee5615"><block wx:if="{{isPlay}}"><swiper indicator-dots="{{indicatorDots}}" indicator-active-color="var(--view-theme)" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" data-event-opts="{{[['change',[['change',['$event']]]]]}}" bindchange="__e" class="data-v-2fee5615"><block wx:if="{{videoline}}"><swiper-item class="data-v-2fee5615"><view class="item data-v-2fee5615"><view hidden="{{!(!controls)}}" style="width:100%;height:100%;" class="data-v-2fee5615"><video style="width:100%;height:100%;" id="myVideo" src="{{$root.m0}}" object-fit="contain" controls="{{true}}" show-center-play-btn="{{true}}" show-mute-btn="true" auto-pause-if-navigate="{{true}}" custom-cache="{{false}}" enable-progress-gesture="{{false}}" poster="{{imgUrls[0]}}" data-event-opts="{{[['pause',[['videoPause',['$event']]]]]}}" bindpause="__e" class="data-v-2fee5615"></video></view><view hidden="{{!(controls)}}" class="poster data-v-2fee5615"><image class="image data-v-2fee5615" src="{{imgUrls[0]}}"></image></view><view data-event-opts="{{[['tap',[['bindPause',['$event']]]]]}}" hidden="{{!(controls)}}" class="stop data-v-2fee5615" catchtap="__e"><image class="image data-v-2fee5615" src="../../static/images/stop.png"></image></view></view></swiper-item></block><block wx:for="{{imgUrls}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-2fee5615"><block wx:if="{{videoline?index>=1:index>=0}}"><swiper-item class="data-v-2fee5615"><image class="slide-image data-v-2fee5615" src="{{item}}" data-event-opts="{{[['tap',[['openImage',[index]]]]]}}" catchtap="__e"></image></swiper-item></block></block></block></swiper></block></view>
|