1 |
- <view class="swiper data-v-9ce97ec0"><block wx:if="{{mode==='card'}}"><swiper class="app-swiper-tall data-v-9ce97ec0" style="{{'height:'+(height-30+'rpx')+';'}}" indicator-dots="{{true}}" previous-margin="{{previousMargin}}" next-margin="{{nextMargin}}" circular="{{true}}" autoplay="{{true}}" current="{{swiperCurrentIndex}}" data-event-opts="{{[['change',[['change',['$event']]]]]}}" bindchange="__e"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="app-swiper-container data-v-9ce97ec0" item-id="{{index}}" data-year="{{index}}"><view class="app-sw data-v-9ce97ec0"><app-jump-button vue-id="{{'2bc32c28-1-'+index}}" height="100" width="100" open_type="{{item.open_type}}" url="{{item.url}}" form="{{true}}" class="data-v-9ce97ec0" bind:__l="__l" vue-slots="{{['default']}}"><view class="app-swiper-item data-v-9ce97ec0" style="{{'background:'+(item.pic_url?'url('+item.pic_url+') center no-repeat':'')+';'+('height:'+(height+'rpx')+';')+('background-size:'+(''+(fill===0?'contain':fill===1?'cover':'cover'))+';')}}" animation="{{animationData[index]}}"></view></app-jump-button></view></swiper-item></block></swiper></block><block wx:else><block wx:if="{{mode==='screen'}}"><swiper style="{{'height:'+(height+'rpx')+';'}}" autoplay="{{true}}" indicator-dots="{{true}}" circular="{{true}}" class="data-v-9ce97ec0"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-9ce97ec0"><view class="app-swiper-image data-v-9ce97ec0"><app-jump-button vue-id="{{'2bc32c28-2-'+index}}" height="100" width="100" open_type="{{item.open_type}}" url="{{item.page_url}}" form="{{true}}" class="data-v-9ce97ec0" bind:__l="__l" vue-slots="{{['default']}}"><view class="app-swiper-item-w data-v-9ce97ec0" style="{{'background:'+(item?'url('+item.pic_url+') center no-repeat':'')+';'+('background-size:'+(''+(fill===0?'contain':fill===1?'cover':'cover'))+';')}}"></view></app-jump-button></view></swiper-item></block></swiper></block></block></view>
|