<navbar home text="微信授权"></navbar>
<view class="login-body" >
  <view class="login-logo">
    <image src="{{mallImgUrl}}" mode='widthFix'></image>
  </view>
  <view class="title">
    <text>Hi , 请登录~</text>
    <text>授权后，可以更好的体验我们哦~</text>
  </view>
  <view class="login-btn">
    <button open-type="getUserProfile" wx:if="{{canIUse}}" hover-class='active' class="login-btn-login" bindtap="bindGetUserInfo">获取微信授权</button>
     <!-- <button open-type="getUserInfo" wx:if="{{canIUse}}" hover-class='active' class="login-btn-login" bindgetuserinfo="bindGetUserInfo">获取微信授权</button> -->
    <view wx:else>微信用户登录</view>
    <button  hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
  </view>
</view>