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