2025-04-01 09:03:51 +08:00

1 line
1.5 KiB
Plaintext

<swiper class="swiper data-v-1d345fb4" circular="{{true}}" autoplay="{{autoplaySwiper}}" indicator-dots="{{dotsShow}}" current="{{swiperCurrent}}" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-1d345fb4"><block wx:if="{{item.m0}}"><image class="swiper-image data-v-1d345fb4" src="{{item.$orig.image}}" mode="scaleToFill" lazy-load="{{true}}" data-event-opts="{{[['tap',[['click',['$0'],[[['list','',index,'url']]]]]]]}}" bindtap="__e"></image></block><block wx:else><view style="height:100%;width:100%;position:relative;" class="_div data-v-1d345fb4"><video class="swiper-video data-v-1d345fb4" id="{{'Video'+item.$orig.id}}" src="{{item.$orig.image}}" autoplay="{{true}}" controls="{{true}}" show-center-play-btn="{{false}}" enable-progress-gesture="{{false}}" data-event-opts="{{[['ended',[['endVideo',['$0'],[[['list','',index,'id']]]]]],['loadedmetadata',[['loadVideo',['$0'],[[['list','',index,'id']]]]]]]}}" bindended="__e" bindloadedmetadata="__e"></video><block wx:if="{{isShow}}"><cover-view style="z-index:99;position:absolute;width:100%;height:100%;top:0;left:0;display:flex;justify-content:center;align-items:center;" class="data-v-1d345fb4"><cover-image style="width:40px;height:40px;" src="/static/bofang.png" data-event-opts="{{[['tap',[['plays',['$0',index],[[['list','',index,'id']]]]]]]}}" catchtap="__e" class="data-v-1d345fb4"></cover-image></cover-view></block></view></block></swiper-item></block></swiper>