popup-user-auth.wxml 1.5 KB

1234567891011121314151617181920212223
  1. <!--components/popup-user-auth/popup-user-auth.wxml-->
  2. <t-popup placement="bottom" show-overlay="{{overlay}}" visible="{{visible}}">
  3. <view class="popup">
  4. <view class="popup__header">{{title}}</view>
  5. <view class="popup__content">
  6. <form class="user-auth-form" bindsubmit="onSubmit">
  7. <view class="open-button">
  8. <t-cell t-class="cell-border-gradient phone-cell" t-class-note="note-class" required title="手机号" hover="{{!model['phone']}}" note="{{loading ? '' : model['phone'] || '点击获取手机号码'}}">
  9. <t-loading wx:if="{{loading}}" theme="spinner" size="24rpx" slot="note" />
  10. </t-cell>
  11. <button wx:if="{{!loading && !model['phone']}}" class="open-button__inner" size="mini" open-type="getPhoneNumber" bind:getphonenumber="getPhoneNumberHandle">选择授权手机</button>
  12. </view>
  13. <view class="privacy-contract-wrapper">
  14. <t-radio t-class="privacy-contract" t-class-border="no-border" icon="circle" block="{{false}}" checked="{{privacyContract.agree}}" bind:change="onAgreeChange">
  15. <text slot="content" style="font-size: 14px;">我已阅读与同意 <text class="name" catch:tap="openPrivacyContract">{{privacyContract.name}}</text></text>
  16. </t-radio>
  17. </view>
  18. <form-button block index="1" loading="{{submitting}}" disableOnClick="{{false}}">提交</form-button>
  19. </form>
  20. </view>
  21. </view>
  22. </t-popup>
  23. <popup-privacy show="{{privacyContract.show}}" bind:setting="onPrivacySetting" bind:agree="onAgree" />