user-certification.wxml 2.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <wxs src="../../../../core/wxs/dictionary.wxs" module="dictionary" />
  2. <!--module/user/pages/user-certification/user-certification.wxml-->
  3. <t-navbar title="完善信息" left-arrow="{{hide !== true}}" />
  4. <scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
  5. <form bindsubmit="onSubmit">
  6. <!-- <view class="open-button">
  7. <t-cell t-class="cell-border-gradient" required title="手机号" hover="{{!model['phone']}}" note="{{model['phone'] || '点击获取手机号码'}}">
  8. <t-loading wx:if="{{loading}}" theme="spinner" size="24rpx" slot="note" />
  9. </t-cell>
  10. <button wx:if="{{!loading && !model['phone']}}" class="open-button__inner" size="mini" open-type="getRealtimePhoneNumber" bind:getrealtimephonenumber="getPhoneNumber">选择授权手机</button>
  11. </view> -->
  12. <t-cell t-class="cell-border-gradient cell-field" t-class-note="cell-field__wrapper" required title="姓名">
  13. <input class="cell-field__inner" slot="note" name="name" type="text" placeholder="请输入姓名" confirm-type="next" />
  14. </t-cell>
  15. <t-cell t-class="cell-border-gradient cell-field" t-class-note="cell-field__wrapper" required title="身份证号">
  16. <input class="cell-field__inner" slot="note" name="cardno" model:value="{{cardno}}" type="idcard" placeholder="请输入身份证号" maxlength="18" confirm-type="next" bind:blur="verifyCardno" />
  17. <t-loading wx:if="{{verifying}}" slot="note" theme="spinner" size="24rpx" slot="note" />
  18. </t-cell>
  19. <!-- <t-cell t-class="cell-border-gradient" required title="年龄" note="{{model['age']}}岁" />
  20. <t-cell t-class="cell-border-gradient" required title="性别" note="{{dictionary.label($dictionaries, 'sys_user_sex', model['sex'])}}" /> -->
  21. <user-data-edit model="{{model}}" sex="{{sex}}" retractable="{{true}}" dirty="{{dirty}}"></user-data-edit>
  22. <view class="privacy-contract-wrapper">
  23. <t-radio t-class="privacy-contract" t-class-border="no-border" icon="circle" block="{{false}}" checked="{{privacyContract.agree}}" bind:change="onAgreeChange">
  24. <text slot="content" style="font-size: 14px;">我已阅读与同意 <text class="name" catch:tap="openPrivacyContract">{{privacyContract.name}}</text></text>
  25. </t-radio>
  26. </view>
  27. <form-button block index="1"></form-button>
  28. </form>
  29. </scroll-view>
  30. <t-message id="{{$messageId}}" />
  31. <popup-privacy show="{{privacyContract.show}}" bind:setting="onPrivacySetting" bind:agree="onAgree"></popup-privacy>