user-certification.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <wxs src="../../../../core/wxs/dictionary.wxs" module="dictionary" />
  2. <!--module/user/pages/user-certification/user-certification.wxml-->
  3. <t-navbar title="完善信息" left-arrow />
  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 phone-cell" t-class-note="note-class" 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. <!-- 新注释的 -->
  13. <!-- <t-cell t-class="cell-border-gradient cell-field" t-class-note="cell-field__wrapper" required title="姓名">
  14. <input class="cell-field__inner" slot="note" name="name" type="text" placeholder="请输入姓名" confirm-type="next" />
  15. </t-cell>
  16. <t-cell t-class="cell-border-gradient cell-field" t-class-note="cell-field__wrapper" required title="身份证号">
  17. <input class="cell-field__inner" slot="note" name="cardno" model:value="{{cardno}}" type="idcard" placeholder="请输入身份证号" maxlength="18" confirm-type="next" bind:blur="verifyCardno" />
  18. <t-loading wx:if="{{verifying}}" slot="note" theme="spinner" size="24rpx" slot="note" />
  19. </t-cell> -->
  20. <!-- end -->
  21. <!-- <t-cell t-class="cell-border-gradient" required title="年龄" note="{{model['age']}}岁" />
  22. <t-cell t-class="cell-border-gradient" required title="性别" note="{{dictionary.label($dictionaries, 'sys_user_sex', model['sex'])}}" /> -->
  23. <!-- 新注释的 -->
  24. <!-- <user-data-edit model="{{model}}" sex="{{sex}}" retractable="{{true}}" dirty="{{dirty}}"></user-data-edit> -->
  25. <!-- end -->
  26. <view class="privacy-contract-wrapper">
  27. <t-radio t-class="privacy-contract" t-class-border="no-border" icon="circle" block="{{false}}" checked="{{privacyContract.agree}}" bind:change="onAgreeChange">
  28. <text slot="content" style="font-size: 14px;">我已阅读与同意 <text class="name" catch:tap="openPrivacyContract">{{privacyContract.name}}</text></text>
  29. </t-radio>
  30. </view>
  31. <form-button block index="1" id="submitBtn"></form-button>
  32. <button bindtap="cancel" style="margin: auto;width: 95%;">取消</button>
  33. </form>
  34. </scroll-view>
  35. <t-message id="{{$messageId}}" />
  36. <popup-privacy show="{{privacyContract.show}}" bind:setting="onPrivacySetting" bind:agree="onAgree"></popup-privacy>