authorize.wxml 1005 B

123456789101112131415161718
  1. <!--pages/authorize/authorize.wxml-->
  2. <view class='Popup' hidden='{{isHidden}}'>
  3. <image src='{{logo_url}}'></image>
  4. <view class='title'>请授权并同意协议</view>
  5. <view class='tip'>请授权微信头像,用户名等信息,并遵守
  6. <a href='/pages/user_license/license' bindtap='onTabRegular'>《美天旺平台规则》</a>,
  7. 以便更好地为您服务。
  8. </view>
  9. <view class='bottom flex'>
  10. <view class='item' bindtap='close'>随便逛逛</view>
  11. <!-- 在高版本中获取用户信息已改成uni.getUserProfile-->
  12. <button class='item grant' type="primary" wx:if="{{canIUseGetUserProfile}}" lang="zh_CN"
  13. bindtap="agreeAndAuth">同意并授权</button>
  14. <button class='item grant' type="primary" wx:else open-type="getUserInfo" lang="zh_CN"
  15. bindgetuserinfo="agreeAndAuth">同意并授权</button>
  16. </view>
  17. </view>
  18. <view class='mask' hidden='{{isHidden}}' catchtouchmove="true" bindtap='close'></view>