index.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <scroll-view scroll-y="true" class="scroll-view">
  2. <view class="identify-box" style="height:300rpx;">
  3. </view>
  4. <view class="p20 ">
  5. <view class="info-title">绑定用户信息</view>
  6. <i-panel class="m20 p20" wx:if="{{info.identify}}">
  7. <i-input value="{{ studyUser.nickname }}" error title="*真实姓名" class="mt20" disable />
  8. <i-input value="{{ studyUser.cardId }}" error title="*身份号码" class="mt20" disable />
  9. <i-input value="{{ studyUser.phone }}" error title="*联系方式" class="mt20" disable />
  10. </i-panel>
  11. <form wx:else class="p20" bindsubmit="doIdentify">
  12. <i-input value="{{ studyUser.nickname }}" name="nickname" title="*真实姓名" class="mt20" maxlength="100" />
  13. <i-input value="{{ studyUser.cardId }}" name="cardId" title="*身份号码" class="mt20" maxlength="18" />
  14. <i-input value="{{ studyUser.phone }}" name="phone" title="*联系方式" class="mt20" type="number" maxlength="11"/>
  15. <button wx:if="{{!!studyUser.identify}}" class="i-btn i-btn-square" type="text">已经实名认证</button>
  16. <button wx:else class="i-btn i-btn-primary i-btn-square" form-type="submit">实名认证</button>
  17. </form>
  18. </view>
  19. <view class="tc">
  20. <view>
  21. <text style="color:red">姓名、身份证、联系方式三者一致才能对接部证书</text>
  22. </view>
  23. <view>
  24. <text> 已经实名认证的可以快捷登入 </text>
  25. </view>
  26. <button class="mt20" type="primary" bindtap="wxLogin" size="mini">
  27. 快捷登入
  28. </button>
  29. </view>
  30. </scroll-view>