real-name-authentication.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <!--实名认证-->
  2. <view class="module">
  3. <view class="module-label">请完善您的身份信息</view>
  4. <view class="form-box">
  5. <view class="form-row">
  6. <view class="form-label">真实姓名</view>
  7. <input type="text" class="form-input" placeholder="请填写您本人真实姓名" placeholder-class="placeholder" bindinput="setName" value="{{name}}"/>
  8. </view>
  9. <view class="form-row">
  10. <view class="form-label">身份证号</view>
  11. <input type="text" class="form-input" placeholder="请填写您本人的身份证号" placeholder-class="placeholder" bindinput="setCard" value="{{id_number}}"/>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="btn-box">
  16. <button bindtap="realNameAuthAction">提交认证</button>
  17. </view>
  18. <!-- 认证成功弹窗 -->
  19. <view wx:if="{{isShow}}">
  20. <view class="mask" bindtap="hideWindow"></view>
  21. <view class="window">
  22. <view class="window-title" wx:if="{{isSuccess}}">认证成功</view>
  23. <view class="window-title" wx:if="{{!isSuccess}}">认证失败</view>
  24. <view class="window-msg" wx:if="{{isSuccess}}">恭喜您,提交实名信息认证成功</view>
  25. <view class="window-msg" wx:if="{{!isSuccess}}">身份审核没有通过,请重新认证</view>
  26. <view class="window-btn-box">
  27. <button wx:if="{{isSuccess}}" bindtap="successResult">确认</button>
  28. <button wx:if="{{!isSuccess}}" bindtap="authAgain">重新认证</button>
  29. </view>
  30. </view>
  31. </view>