<!--package_mine/pages/approveId/index.wxml-->
<view class="approve_container">
<text class="approve_title">请提交你的申请信息</text>
    <view class="form_container">
        <view class="form_item {{formRules.applyName.warning ? 'warning' : ''}}">
            <text><text style="color: red;">* </text>姓名：</text>
            <view class="value_box">
                <input style="width: 100%;height: 100%;" type="text" maxlength="100" placeholder="请输入您的姓名" placeholder-style="font-size: 24rpx; color: #A6A6A6;" adjust-position="{{true}}" value="{{form.applyName}}" data-name="applyName" name="applyName" bindblur="bindValue" />
            </view>
            <text class="tips">请输入您的姓名</text>
        </view>
        <view class="form_item {{formRules.applyPhone.warning ? 'warning' : ''}}">
            <text><text style="color: red;">* </text>电话：</text>
            <view class="value_box">
                <input style="width: 100%;height: 100%;" maxlength="11" type="text" placeholder="请输入您的电话" placeholder-style="font-size: 24rpx; color: #A6A6A6;" adjust-position="{{true}}" value="{{form.applyPhone}}" data-name="applyPhone" name="applyPhone" bindblur="bindValue" />
            </view>
            <text class="tips">请输入您的电话</text>
        </view>
        <view class="use_purpose">
            <text>申请理由：</text>
            <textarea maxlength="200" style="width:460rpx; height: 160rpx;" type="text" adjust-position="{{true}}" placeholder="请输入申请理由" placeholder-style="font-size: 24rpx; color: #A6A6A6;" value="{{form.applyRemark}}" data-name="applyRemark" name="applyRemark" bindblur="bindValue" />
            <text class="tips">请输入申请理由</text>
        </view>
    </view>
    <view class="safe_box">
        <label class="checkbox" bindtap="checkBoxChange">
            <checkbox value="{{checkAgree}}" /><text>同意</text>
        </label>
        <text style="color: #2a82e4;" bindtap="showAgree">《用户服务协议》</text>和<text style="color: #2a82e4;" bindtap="showConceal">《隐私政策》</text>
    </view>
    <view class="btn_list">
        <button disabled="{{!checkAgree}}" class="btn_item submit_btn" bindtap="submit">确认</button>
        <button class="btn_item cancel_btn" bindtap="returnLastPage">取消</button>
    </view>
</view>