<mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
    <view slot="info" class="container main">
        <view class="one">
            <form catchsubmit="onSubmit">
                <view class="content">
                    <view class="label">场地名称</view>
                    <view class="value">
                        <view class="value"><input name="name" value="{{form.name}}" placeholder="请输入比赛场地名称" /></view>
                    </view>
                </view>
                <view class="content">
                    <view class="label">裁判：</view>
                    <picker name="referee_id" bindchange="referee_idChange" value="{{form.referee_id}}" range-key='name' range="{{referee_idList}}">
                        <view class="input">{{form.referee_name||'请选择裁判'}}</view>
                    </picker>
                </view>
                <view class="content">
                    <view class="label">备注：</view>
                    <view class="value">
                        <view class="value"><input name="remark" value="{{form.remark}}" placeholder="请输入备注" /></view>
                    </view>
                </view>
                <view class="content">
                    <view class="label">是否使用：</view>
                    <picker name="is_use" bindchange="is_useChange" value="{{form.is_use}}" range-key='label' range="{{is_useList}}">
                        <view class="input">{{form.is_use=='0'?'启用':form.is_use=='1'?'禁用':'选择是否使用'}}</view>
                    </picker>
                </view>
                <view class="btn">
                    <button type="primary" size="mini" formType="submit">提交保存</button>
                </view>
            </form>
        </view>
    </view>
</mobile-main>