You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
6.0 KiB
125 lines
6.0 KiB
<view wx:if="{{iniLoaded}}">
|
|
<view class="m-hint"
|
|
wx:if="{{fmData.isCertificated=='yes'}}">您已认证通过。</view>
|
|
<view class="m-hint"
|
|
wx:elif="{{fmData.authResult=='auditing'}}">您的认证正在审核,请耐心等待。</view>
|
|
|
|
<form wx:else
|
|
class="m-fm"
|
|
bindsubmit="submit"
|
|
report-submit="true">
|
|
<view class="result"
|
|
wx:if="{{fmData.authResult=='rejected'}}">
|
|
<view class="item">
|
|
<view class="field">审核结果</view>
|
|
<view class="value">已拒绝</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="field">拒绝原因</view>
|
|
<view class="value">{{fmData.authReason}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="fm">
|
|
<view class="item"
|
|
wx:if="{{fmConfig.surname}}">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
姓
|
|
</view>
|
|
<view class="input">
|
|
<input type="text" value="{{ fmData.surname }}" placeholder="请输入您的姓氏" placeholder-class="z-ph" data-fm="fmData" data-name="surname" bindinput="inputSync" cursor-spacing="14" maxlength="100" />
|
|
</view>
|
|
</view>
|
|
<view class="item"
|
|
wx:if="{{fmConfig.name}}">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
名
|
|
</view>
|
|
<view class="input">
|
|
<input type="text" value="{{ fmData.name }}" placeholder="请输入您的名字" placeholder-class="z-ph" data-fm="fmData" data-name="name" bindinput="inputSync" cursor-spacing="14" maxlength="100" />
|
|
</view>
|
|
</view>
|
|
<view class="item"
|
|
wx:if="{{fmConfig.idcard}}">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
证件号
|
|
</view>
|
|
<view class="input">
|
|
<input type="text" value="{{ fmData.idcard }}" placeholder="请输入您的身份证号或护照号" placeholder-class="z-ph" data-fm="fmData" data-name="idcard" bindinput="inputSync" cursor-spacing="14" maxlength="18" />
|
|
</view>
|
|
</view>
|
|
<view class="item"
|
|
wx:if="{{fmConfig.mobile}}">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
手机号
|
|
</view>
|
|
<view class="input">
|
|
<input type="number" value="{{ fmData.mobile }}" placeholder="请输入您的手机号" placeholder-class="z-ph" data-fm="fmData" data-name="mobile" bindinput="inputSync" cursor-spacing="14" maxlength="100" />
|
|
</view>
|
|
</view>
|
|
<view class="item"
|
|
wx:if="{{fmConfig.mobile}}">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
验证码
|
|
</view>
|
|
<view class="item-btn" bind:tap="getTelCode">
|
|
<text hidden="{{ codeData.status != 0 }}">获取验证码</text>
|
|
<text hidden="{{ codeData.status != 1 }}">发送中……</text>
|
|
<text hidden="{{ !( codeData.cd <= 0 && codeData.status > 1) }}">再次发送</text>
|
|
<text hidden="{{ codeData.cd == 0 }}">{{ codeData.cd }}s后重发</text>
|
|
</view>
|
|
<view class="input z-small">
|
|
<input type="text" value="{{ fmData.code }}" placeholder="请输入验证码" placeholder-class="z-ph" data-fm="fmData" data-name="code" bindinput="inputSync" cursor-spacing="14" maxlength="100" />
|
|
</view>
|
|
</view>
|
|
<view class="item"
|
|
wx:if="{{fmConfig.remark}}">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
备注
|
|
</view>
|
|
<view class="textarea">
|
|
<textarea type="text" value="{{ fmData.remark }}" placeholder="请输入备注" placeholder-class="z-ph" data-fm="fmData" data-name="remark" confirm-type="send" bindinput="inputSync" cursor-spacing="14" maxlength="200"></textarea>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="fm"
|
|
wx:if="{{fmConfig.certificationImg}}">
|
|
<view class="item">
|
|
<view class="field">
|
|
<text class="z-stress">*</text>
|
|
请上传认证证件
|
|
</view>
|
|
<view class="f-cb"></view>
|
|
<view class="pic"
|
|
bindtap="addImg">
|
|
<image wx:if="{{!fmData.certificationImg}}"
|
|
mode="aspectFill"
|
|
src="../../../images/badge/zhengshu-default.png" />
|
|
<image wx:else
|
|
class="z-big"
|
|
bind:longtap="handleLongTapCertificationImg"
|
|
src="{{fmData.certificationImg}}"
|
|
mode="aspectFill" />
|
|
</view>
|
|
<view class="field">示例图</view>
|
|
<view class="pic-hint">
|
|
<image mode="widthFix" src="../../../images/badge/zhengshu-hint.png" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="fm-hint">*认证成功后会自动点亮徽章</view>
|
|
<button formType="submit"
|
|
class="btn {{ submitBtnIsAllowed ? '' : 'z-disabled'}}"
|
|
plain="true">
|
|
提交
|
|
</button>
|
|
</form>
|
|
</view>
|
|
|
|
<loading showed="{{!iniLoaded}}"></loading>
|
|
<request-msg behavior-title="为了不错过徽章认证审核结果提醒,请订阅消息推送" behavior-type="徽章认证" template-type="站内信提醒" id="requestMsg" />
|
|
|