Sanakey
2020-08-13 d98d05000c3d14e1f12a7754ebeea11ec1fa0f0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!--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>