mBanner.wxml 1.5 KB

1
  1. <view class="swiperBg"><block wx:if="{{$root.g0}}"><view class="{{['boutique',(sty==='off')?'off':'']}}"><swiper style="{{('height:'+imageH+'rpx;')}}" autoplay="true" indicator-dots="true" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff"><block wx:for="{{bastBanner}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><swiper-item><view style="width:100%;height:100%;" hover-class="none" data-event-opts="{{[['tap',[['goDetail',['$0'],[[['bastBanner','',index]]]]]]]}}" bindtap="__e"><image class="slide-image" style="{{('height:'+imageH+'rpx;')}}" src="{{item.img}}"></image></view></swiper-item></block></block></swiper></view></block><block wx:if="{{$root.g1}}"><view class="boutique" style="{{('height:'+imageH+'rpx;')}}"><swiper style="{{('height:'+imageH+'rpx;')}}" autoplay="true" indicator-dots="true" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff"><block wx:for="{{bastBanner}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><swiper-item><view style="width:100%;height:100%;" hover-class="none" data-event-opts="{{[['tap',[['goDetail',['$0'],[[['bastBanner','',index]]]]]]]}}" bindtap="__e"><image class="slide-image" style="{{('height:'+imageH+'rpx;')}}" src="{{item.img}}"></image></view></swiper-item></block></block></swiper></view></block><block wx:if="{{$root.g2}}"><block><view class="empty-img">{{$root.m0}}</view></block></block></view>