<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="main" style="height:{{infoHeight}}px;">
        <form catchsubmit="formSubmit" catchreset="formReset">
            <view class="form">
                <view class="top">
                    <view class="zero">
                        <view class="text">团队LOGO</view>
                        <van-uploader class="tou" file-list="{{fileList}}" preview-image="true" max-count="1" bind:after-read="afterRead" />
                    </view>
                    <view class="one">
                        <view class="text">团队名称</view>
                        <input class="input" name="ranks" value="{{form.ranks}}" placeholder="" />
                    </view>
                    <view class="one">
                        <view class="text">团队创建人</view>
                        <input class="input" name="mechanism" value="{{form.mechanism}}" placeholder="" />
                    </view>
                    <view class="one">
                        <view class="text">团队类型</view>
                        <picker name="sex" bindchange="bindPickerChange" value="{{index}}" range="{{form.type}}">
                            <view class="input">{{form.type[index]}}
                                <image class="back" src="/image/back.png"></image>
                            </view>
                        </picker>
                    </view>
                </view>
                <view class="bottom" style="height:{{infoHeight-270}}px;">
                    <view class="two">
                        <view class="two_title"> 团队队员</view>
                        <view class="two_main">
                            <view class="two_1" wx:key="item" wx:for="{{lists}}">
                                <view class="team_1">
                                    <image class="two_logo1" src="{{item.logo}}"></image>
                                    <image bindtap='delList' class="two_jian" src="{{item.jian}}"></image>
                                </view>
                                <view class="team_text">{{item.text}}</view>
                            </view>
                            <view class="two_1">
                                <view class="team_1">
                                    <view class="tianjia">
                                        <text bindtap='addList' class=" icon iconfont icon-jia"></text>
                                    </view>
                                </view>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
            <view class="btn-area">
                <button class="button" formType="submit">创建团队</button>
            </view>
        </form>
    </view>
</mobile-main>