index.wxml 917 B

1234567891011121314
  1. <view class="wrap" wx:if="{{needAuth&&loaded}}">
  2. <button bindgetuserinfo="bindGetUserInfoTwo" openType="getUserInfo" class='auth_bg' wx:if="{{auth_bg}}" style='background: url({{auth_bg}}) no-repeat top center;background-size: cover;'></button>
  3. <block wx:else>
  4. <image class='auth-login' mode='widthFix' src="../../images/login.png"></image>
  5. <view class='line1'>我们的小程序将获取您的以下权限:</view>
  6. <view class='line2'>·获取您的公开信息(昵称和头像等)</view>
  7. <view class='line3'>(如未授权,可能无法正常使用该小程序)</view>
  8. <i-button bindgetuserinfo="bindGetUserInfo" iClass="confirm" loading="{{btnLoading}}" openType="getUserInfo" wx:if="canIUse">确认授权</i-button>
  9. <view class="updateWx" wx:else>请升级微信版本</view>
  10. </block>
  11. </view>
  12. <view class="container {{isIpx?'pb20 mb20':''}}" wx:else>
  13. <slot></slot>
  14. </view>