|
|
@@ -1,13 +1,16 @@
|
|
|
<!--pages/authorize/authorize.wxml-->
|
|
|
<view class='Popup' hidden='{{iShidden}}'>
|
|
|
<image src='{{logo_url}}'></image>
|
|
|
- <view class='title'>授权提醒</view>
|
|
|
- <view class='tip'>请授权头像等信息,以便为您提供更好的服务</view>
|
|
|
+ <view class='title'>请授权并同意协议</view>
|
|
|
+ <view class='tip'>请授权微信头像,用户名等信息,并遵守
|
|
|
+ <a href='/pages/user_license/license' bindtap='onTabRegular'>《美天旺平台规则》</a>,
|
|
|
+ 以便更好地为您服务。
|
|
|
+ </view>
|
|
|
<view class='bottom flex'>
|
|
|
<view class='item' bindtap='close'>随便逛逛</view>
|
|
|
<!-- 在高版本中获取用户信息已改成uni.getUserProfile-->
|
|
|
- <button class='item grant' type="primary" wx:if="{{canIUseGetUserProfile}}" lang="zh_CN" bindtap="getUserProfile"> 去授权 </button>
|
|
|
- <button class='item grant' type="primary" wx:else open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="setUserInfo"> 去授权 </button>
|
|
|
+ <button class='item grant' type="primary" wx:if="{{canIUseGetUserProfile}}" lang="zh_CN" bindtap="getUserProfile">同意并授权</button>
|
|
|
+ <button class='item grant' type="primary" wx:else open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="setUserInfo"> 同意并授权 </button>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mask' hidden='{{iShidden}}' catchtouchmove="true" bindtap='close'></view>
|