<view class="header">
    <view class="headerBg"></view>
    <swiper class="swiper" autoplay circular indicator-dots="{{bannerList.length>1}}" indicator-active-color="#fff"
        indicator-color='#ecececa1' current="{{current}}">
        <block wx:for="{{bannerList}}" wx:key="id">
            <swiper-item bindtap='bannelEvent' data-type='{{item.type}}' data-content="{{item.content}}">
                <image src="{{item.icon}}" class="swiper-item" mode="" />
            </swiper-item>
        </block>
    </swiper>
</view>
<buyVip id="buyVip" bind:toBuy="toBuy" />