<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="container main">
        <view class="one">
            <form catchsubmit="onSubmit">
                <view class="content">
                    <view class="label">logo</view>
                    <view class="value">
                        <vanupload list="{{logo}}" count="{{1}}" previewSize="{{50}}" bind:imgUpload="imgUpl" bind:imgDel="imgDel"></vanupload>
                    </view>
                </view>
                <view class="content">
                    <view class="label">比赛类别</view>
                    <view class="value">
                        <picker mode="selector" bindchange="typeChange" value="{{form.type}}" name="type" range-key='value' range="{{typeList}}">
                            <view class="input">{{form.type||'请选择比赛类别'}}</view>
                        </picker>
                    </view>
                </view>
                <view class="content">
                    <view class="label">比赛名称</view>
                    <view class="value">
                        <textarea name="name" value="{{form.name}}" auto-height placeholder="请输入比赛名称" />
                    </view>
                </view>
                <view class="content">
                    <view class="label">比赛开始时间</view>
                    <view class="value">
                        <picker mode="date" name="start_time" value="{{form.start_time}}" bindchange="startChange">
                            <view class="picker">{{form.start_time||'比赛开始时间'}}</view>
                        </picker>
                    </view>
                </view>
                <view class="content">
                    <view class="label">比赛结束时间</view>
                    <view class="value">
                        <picker mode="date" name="end_time" value="{{form.end_time}}" bindchange="endChange">
                            <view class="picker">{{form.end_time||'比赛结束时间'}}</view>
                        </picker>
                    </view>
                </view>
                <view class="content">
                    <view class="label">比赛地点</view>
                    <view class="value">
                        <input type="text" name="address" value="{{form.address}}" placeholder="请输入比赛地点" />
                    </view>
                </view>
                <view class="content">
                    <view class="label">报名截止日期</view>
                    <view class="value">
                        <picker mode="date" name="sign_date" value="{{form.sign_date}}" bindchange="dateChange">
                            <view class="picker">{{form.sign_date||'报名截止日期'}}</view>
                        </picker>
                    </view>
                </view>
                <view class="content">
                    <view class="label">报名截止时间</view>
                    <view class="value">
                        <picker mode="time" name="sign_time" value="{{form.sign_time}}" bindchange="timeChange">
                            <view class="picker">{{form.sign_time||'报名截止时间'}}</view>
                        </picker>
                    </view>
                </view>
                <view class="content">
                    <view class="label">报名费用说明</view>
                    <view class="value">
                        <textarea name="money_remark" value="{{form.money_remark}}" auto-height placeholder="请输入报名费用说明" />
                    </view>
                </view>
                <view class="content">
                    <view class="label">付款方式</view>
                    <view class="value">
                        <input type="text" name="money_mode" value="{{form.money_mode}}" placeholder="请输入付款方式" />
                    </view>
                </view>
                <view class="content">
                    <view class="label">联系方式</view>
                    <view class="value">
                        <input type="text" name="contact" value="{{form.contact}}" placeholder="请输入联系方式" />
                    </view>
                </view>
                <view class="content">
                    <view class="label">报名说明</view>
                    <view class="value">
                        <textarea name="explain" value="{{form.explain}}" auto-height placeholder="请输入报名说明" />
                    </view>
                </view>
                <view class="content">
                    <view class="label">赛事规程</view>
                    <view class="value">
                        <textarea name="regular" value="{{form.regular}}" auto-height placeholder="请输入赛事规程" />
                    </view>
                </view>
                <view class="btn">
                    <button type="primary" size="mini" form-type="submit">提交保存</button>
                </view>
            </form>
        </view>
    </view>
</mobile-main>