<!--component/auth/auth.wxml-->
<view wx:if="{{show}}">
  <cover-view class="auth-bg" bindtap="quitHandle">
  </cover-view>
    <cover-view class="auth-layer" style="bottom: {{bottom}}">
      <cover-view class="title">授权登录</cover-view>
      <cover-view class="content">
        <cover-image src="/static/images/img_empower_logo@2x.png" ></cover-image>
        <cover-view class="text">良房一廳申请使用微信登录提供的服务，将使用：</cover-view>
        <cover-view class="xian"></cover-view>
        <cover-view class="authul">
          <cover-view class="authli">
            ·您的公开信息（昵称、头像等）
          </cover-view>
        </cover-view>
      </cover-view>

			<block wx:if="{{canIUse}}">
				<button class="button" wx:if="{{loginNew}}"  bindtap="bindGetUserInfo">允许使用</button>
        <button class="button" wx:if="{{!loginNew}}" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">允许使用</button>
			</block>
    </cover-view>
</view>
