index.wxml 571 B

123456789101112
  1. <view class="header">
  2. <view class="headerBg"></view>
  3. <swiper class="swiper" autoplay circular indicator-dots="{{bannerList.length>1}}" indicator-active-color="#fff"
  4. indicator-color='#ecececa1' current="{{current}}">
  5. <block wx:for="{{bannerList}}" wx:key="id">
  6. <swiper-item bindtap='bannelEvent' data-type='{{item.type}}' data-content="{{item.content}}">
  7. <image src="{{item.icon}}" class="swiper-item" mode="" />
  8. </swiper-item>
  9. </block>
  10. </swiper>
  11. </view>
  12. <buyVip id="buyVip" bind:toBuy="toBuy" />