1 |
- <view class="swiperContent data-v-5cd622e1"><swiper class="{{['z-screen-swiper','data-v-5cd622e1',(effect3d&&displayMultipleItems==1)?'effect3D':'',(effect3d&&!vertical)?'effect3D-X':'',(effect3d&&vertical)?'effect3D-Y':'']}}" style="{{'height:'+(swiperHeight+'px')+';'+('border-radius:'+(contentRadius)+';')+('overflow:'+('hidden')+';')}}" indicator-dots="{{indicatorDots}}" indicator-active-color="{{indicatorActiveColor}}" indicator-color="{{indicatorColor}}" autoplay="{{autoplay&&!videoPlaySataus}}" current="{{activeCurrent}}" interval="{{interval}}" duration="{{duration}}" circular="{{circular}}" vertical="{{vertical}}" previous-margin="{{effect3d?effect3dMargin:previousMargin}}" next-margin="{{effect3d?effect3dMargin:nextMargin}}" display-multiple-items="{{displayMultipleItems}}" skip-hidden-item-layout="{{skipHiddenItemLayout}}" data-event-opts="{{[['transition',[['transition',['$event']]]],['change',[['change',['$event']]]],['animationfinish',[['animationfinish',['$event']]]]]}}" bindtransition="__e" bindchange="__e" bindanimationfinish="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['clickItem',[index]]]]]}}" class="{{['z-swiper-item','data-v-5cd622e1',(activeCurrent===index)?'active-swiper':'']}}" style="{{'background-color:'+(''+bgColor)+';'}}" bindtap="__e"><view class="swiper-box data-v-5cd622e1" style="{{'background-color:'+(''+bgColorItem)+';'}}"><view data-event-opts="{{[['tap',[['$emit',['clickTop',['o',['item',item.$orig],['index',index]]]]]]]}}" class="{{['swiper-top','data-v-5cd622e1',(topFloat)?'isFloat':'']}}" bindtap="__e"><block wx:if="{{$slots.top}}"><slot name="top"></slot><scoped-slots-top row="{{item.$orig}}" index="{{index}}" class="scoped-ref" bind:__l="__l"></scoped-slots-top></block><block wx:else><block wx:if="{{item.$orig[topTextKey]}}"><view style="{{'text-align:'+(''+topTextAlign)+';'+('color:'+(''+topColor)+';')+('background-color:'+(''+topBackground)+';')}}" class="data-v-5cd622e1"><text class="data-v-5cd622e1">{{item.$orig[topTextKey]}}</text></view></block></block></view><view class="swiper-content data-v-5cd622e1"><block wx:if="{{$slots.default}}"><slot></slot><scoped-slots-default row="{{item.$orig}}" index="{{index}}" class="scoped-ref" bind:__l="__l"></scoped-slots-default></block><block wx:else><block wx:if="{{item.$orig.type==='image'}}"><image src="{{item.$orig[imageKey]}}" mode="{{imgMode}}" class="data-v-5cd622e1"></image></block><block wx:if="{{item.$orig.type==='video'}}"><video style="{{'height:'+(fullScreen?'':'100%')+';'}}" initial-time="{{item.$orig.currentTime||0}}" enable-play-gesture="{{true}}" enable-progress-gesture="{{false}}" x5-video-player-type="h5" x-webkit-airplay="allow" objectFit="contain" webkit-playsinline="true" id="{{'video_'+index}}" src="{{item.$orig[videoKey]}}" poster="{{item.$orig.poster}}" controls="{{true}}" data-event-opts="{{[['play',[['play',['$event']]]],['pause',[['pause',['$event']]]],['timeupdate',[['timeupdate',['$event']]]]]}}" bindplay="__e" bindpause="__e" bindtimeupdate="__e" class="data-v-5cd622e1"></video></block></block></view><view data-event-opts="{{[['tap',[['$emit',['clickBottom',['o',['item',item.$orig],['index',index]]]]]]]}}" class="{{['swiper-fotter','data-v-5cd622e1',(fotterFloat)?'isFloat':'']}}" bindtap="__e"><block wx:if="{{$slots.fotter}}"><slot name="fotter"></slot><scoped-slots-fotter row="{{item.$orig}}" index="{{index}}" class="scoped-ref" bind:__l="__l"></scoped-slots-fotter></block><block wx:else><block wx:if="{{item.$orig[bottomTextKey]}}"><view style="{{'text-align:'+(''+bottomTextAlign)+';'+('color:'+(''+bottomColor)+';')+('background-color:'+(''+bottomBackground)+';')}}" class="data-v-5cd622e1"><text class="data-v-5cd622e1">{{item.$orig[bottomTextKey]}}</text></view></block></block></view></view></swiper-item></block></swiper><block wx:if="{{!indicatorDots}}"><view class="{{['data-v-5cd622e1','dot',vertical?'verticalDot':''+indicatorPos]}}" style="{{'margin:'+('0 '+effect3dMargin)+';'}}"><block wx:if="{{$slots.dot}}"><slot name="dot"></slot><scoped-slots-dot list="{{list}}" total="{{list.length}}" activeIndex="{{activeCurrent}}" class="scoped-ref" bind:__l="__l"></scoped-slots-dot></block><block wx:else><block wx:if="{{mode==='number'}}"><view class="data-v-5cd622e1">{{''+(activeCurrent+1)+"/"+list.length+''}}</view></block><block wx:else><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="{{['data-v-5cd622e1','dotItem',''+mode,''+(activeCurrent==index?'defautActive':'')]}}" style="{{'background-color:'+(activeCurrent==index?indicatorActiveColor:indicatorColor)+';'}}" bindtap="__e"><block wx:if="{{mode==='index'}}"><label class="_span data-v-5cd622e1">{{index+1}}</label></block></view></block></block></block></view></block></view>
|