index.wxml 667 B

123456789101112
  1. <view class='swiper'>
  2. <swiper autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperChange">
  3. <block wx:for="{{imgUrls}}" wx:key='index'>
  4. <swiper-item>
  5. <navigator url="{{item.link}}" style='width:100%;height:100%;' hover-class='none'><image src="{{item.img}}" class="slide-image"/></navigator>
  6. </swiper-item>
  7. </block>
  8. </swiper>
  9. <view class="dots acea-row">
  10. <view class="dot {{index == currentSwiper ? 'active' : ''}}" wx:for="{{imgUrls}}" wx:key='index'></view>
  11. </view>
  12. </view>