29 lines
2.0 KiB
Plaintext
29 lines
2.0 KiB
Plaintext
<view class="page">
|
|
<view class="status-card" wx:if="{{auditStatusText}}">
|
|
<text class="status-title">{{auditStatusText}}</text>
|
|
<text class="status-remark" wx:if="{{auditRemark}}">{{auditRemark}}</text>
|
|
</view>
|
|
<view class="form-card">
|
|
<text class="label">姓名 *</text>
|
|
<input class="input" value="{{name}}" maxlength="30" placeholder="请输入真实姓名" bindinput="onNameInput" />
|
|
<text class="label">手机号</text>
|
|
<view class="inline"><input class="input grow" type="number" maxlength="11" value="{{mobile}}" placeholder="请输入手机号" bindinput="onMobileInput" /><button class="code-btn" bindtap="onSendCode">获取验证码</button></view>
|
|
<text class="label">验证码</text>
|
|
<input class="input" type="number" maxlength="8" value="{{verificationCode}}" placeholder="手机号变更时填写" bindinput="onCodeInput" />
|
|
<text class="label">所在地区 *</text>
|
|
<picker mode="region" value="{{region}}" bindchange="onRegionChange"><view class="input picker">{{regionText || '请选择省 / 市 / 区'}}</view></picker>
|
|
<text class="label">裁判级别 *</text>
|
|
<picker mode="selector" range="{{levelNames}}" value="{{levelIndex}}" bindchange="onLevelChange"><view class="input picker">{{levelNames[levelIndex] || '请选择裁判级别'}}</view></picker>
|
|
<text class="label">裁判角色 *</text>
|
|
<checkbox-group bindchange="onRoleChange" class="roles">
|
|
<label class="role" wx:for="{{roleOptions}}" wx:key="value"><checkbox value="{{item.value}}" checked="{{item.checked}}" color="#2463c5" />{{item.label || item.name}}</label>
|
|
</checkbox-group>
|
|
<text class="label">裁判证书 *</text>
|
|
<view class="upload" bindtap="onUploadCertificate">
|
|
<image wx:if="{{certificateUrl}}" src="{{certificateUrl}}" mode="aspectFit" />
|
|
<text wx:else>{{uploading ? '上传中...' : '点击上传证书图片'}}</text>
|
|
</view>
|
|
<button class="submit" loading="{{submitting}}" disabled="{{loading || submitting || uploading}}" bindtap="onSubmit">提交裁判资料</button>
|
|
</view>
|
|
</view>
|