<!--component/authorize/authorize.wxml-->
|
<van-dialog
|
use-slot
|
show="{{ isShowAvatarDialog }}"
|
confirmButtonText="授权头像"
|
bind:close="onDialogClose"
|
overlay="{{isShowMask}}"
|
confirm-button-open-type="getUserInfo"
|
bind:getuserinfo="getUserInfo"
|
>
|
<view class="title">
|
<text> 为了给您提供更贴心的服务,我们需要您授权您的头像!</text>
|
</view>
|
</van-dialog>
|
|
<van-dialog
|
use-slot
|
show="{{ isShowPhoneDialog }}"
|
confirmButtonText="授权登录"
|
overlay="{{isShowMask}}"
|
bind:close="onDialogClose"
|
confirm-button-open-type="getPhoneNumber"
|
bind:getphonenumber="getPhoneNumber"
|
>
|
<view class="title">
|
<text> 为了给您提供更贴心的服务,我们需要您授权登录!</text>
|
</view>
|
</van-dialog>
|