You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
826 B
17 lines
826 B
<!--pages/login/index.wxml--> |
|
<view class="authorization"> |
|
<open-data class="user-avatar" type="userAvatarUrl"></open-data> |
|
<open-data class="user-name" type="userNickName"></open-data> |
|
<view class="login-notice">为了提供更优质的服务,需要您授权基本信息</view> |
|
<button class="wx-btn" bindtap='getUserProfile' wx:if="{{!login && canIUseGetUserProfile}}"> |
|
<text>微信授权登录</text> |
|
</button> |
|
<button open-type="getPhoneNumber" class="wx-btn" bindgetphonenumber="getPhoneNumber" wx:if="{{login}}"> |
|
<text>绑定手机号</text> |
|
</button> |
|
<view class="login-notice" wx:if="{{!login && !canIUseGetUserProfile}}">请升级微信版本后再授权</view> |
|
<button class="wx-btn btn" bindtap="back"> |
|
<text>暂不授权</text> |
|
</button> |
|
|
|
</view>
|
|
|