kaishi.wxml 1.3 KB
<!--pages/kaishi/kaishi.wxml-->
<swiper indicator-dots="{{indicatorDots}}" interval="{{interval}}" duration="{{duration}}" indicator-active-color='{{activecolor}}' indicator-color='{{color}}' current='{{indexs}}' bindchange='changeindexs'>
    <block wx:for="{{imgUrls}}" wx:key>
        <swiper-item>
            <image src="{{item}}" class="slide-image" width="355" height="150" />
        </swiper-item>

    </block>
    <swiper-item>
        <view class='start_main'>
            <image src='{{imgUrl}}yonghushouyedenglubiejing@3x.png'></image>
            <view class='head_txt'>
                <view class='head_title'>从友</view>
                <view>From·Friends</view>
                <view class='head_subtitle'>让娱乐更简单</view>
            </view>
            <view class='logo'>
                <image src='{{imgUrl}}qdongtupian@3x.png'></image>
            </view>
        </view>
        <view class='start_btnbox'>
            <button class='start_btn' open-type='getUserInfo' bindgetuserinfo='start'>
                <text class='txt'>一起来吧</text> 
            </button>
        </view>
    </swiper-item>
</swiper>
<view class='botsbox'>
    <view class='bots {{index==indexs?"activecolor":""}}' wx:for='{{imgUrls.length+1}}' wx:key></view>
</view>