hengmei-two/unpackage/dist/build/mp-baidu/components/swiper-pu_1.swan

1 line
1.3 KiB
Plaintext

<view class="data-v-d83a2f7e"><block s-if="{{isDot}}"><view class="banner-box data-v-d83a2f7e"><swiper style="{{'height:'+(newHeight+'px')+';'}}" current="{{bcurrent}}" autoplay="{{true}}" circular="{{true}}" interval="{{3000}}" duration="{{1000}}" data-event-opts="{{[['change',[['changeBanner',['$event']]]]]}}" bindchange="__e" class="data-v-d83a2f7e"><block s-for="{{bannerList}}" s-for-item="item" s-for-index="index" s-key="index"><swiper-item class="data-v-d83a2f7e"><view data-event-opts="{{[['tap',[['chooseImg',[index]]]]]}}" class="posir data-v-d83a2f7e" bindtap="__e"><image class="img data-v-d83a2f7e" style="{{'border-radius:'+(newRadius+'px')+';'}}" src="{{item.imgSrc}}" mode="aspectFill"></image><block s-if="{{item.isVideo}}"><image class="posia data-v-d83a2f7e" style="top:50%;left:50%;transform:translate(-50%,-50%);width:126rpx;height:126rpx;z-index:1;" src="/static/public/video.png" mode data-event-opts="{{[['tap',[['playVideo',[index]]]]]}}" catchtap="__e"></image></block></view></swiper-item></block></swiper><view class="dot-box data-v-d83a2f7e" style="{{'bottom:'+(newBottom+'px')+';'}}"><block s-for="{{bannerList.length}}" s-for-item="itemd" s-for-index="indexd" s-key="indexd"><view class="{{['data-v-d83a2f7e',bcurrent==indexd?'dotActive':'dotMo']}}"></view></block></view></view></block></view>