Files

59 lines
1.6 KiB
Plaintext

<!-- 实名认证页面 -->
<view class="page">
<view class="header">
<text class="title">实名认证</text>
<text class="subtitle">您的真实身份将帮助我们为您提供更安全的婚恋服务</text>
</view>
<view class="form">
<view class="field">
<text class="label">姓名</text>
<input
class="input"
placeholder="请输入真实姓名"
value="{{realName}}"
bindinput="onRealNameInput"
/>
</view>
<view class="field">
<text class="label">身份证号码</text>
<input
class="input"
placeholder="请输入18位身份证号码"
value="{{idNumber}}"
bindinput="onIdNumberInput"
maxlength="18"
/>
</view>
<view class="agreement" bindtap="onAgreeChange">
<checkbox checked="{{agreed}}" />
<text class="agreement-text">
我已阅读并同意
<text class="link">《用户服务协议》</text>
和
<text class="link">《隐私政策》</text>
</text>
</view>
<view wx:if="{{error}}" class="error">{{error}}</view>
<button
class="submit-btn"
loading="{{loading}}"
disabled="{{loading || !agreed}}"
bindtap="handleSubmit"
>
提交认证
</button>
</view>
<view class="tips">
<text class="tip-title">认证说明</text>
<text class="tip-item">· 您的身份信息仅用于实名认证,不会向其他用户展示</text>
<text class="tip-item">· 实名认证是平台安全的重要保障</text>
<text class="tip-item">· 未满18周岁不能使用本平台服务</text>
</view>
</view>