<view wx:if="{{!phone}}">

<!-- 登录图 -->
<view >
  <view class="logins flex-center2 ali-c flex" style="padding-top: 120rpx;">
  <image mode="widthFix"  bindtap="go_index" class="login_img_back" src="{{imghots}}/miniapp/images/loginbg.jpg"></image>
    <view class="middle_view">
       <image bindtap="go_index" class="login_img" src="{{store_logo}}" binderror="bind_bnerr" lazy-load="true" data-errorimg="store_logo"></image>
        <view>{{store.store_name}}</view>
    </view>
  </view>
</view>

<!-- 登录按钮 -->
<view>
  <view class="phones">
    <!-- <button  style="height: 100%;" class="g_mobile f2 flex ali-c flex-center2 fs36 txt-red" open-type="getPhoneNumber" bindgetphonenumber="getphone">立即授权</button> -->

  <!-- <view bindtap="" class="user-name flex-vertical fs24 jc-center">
    <checkbox-group bindchange="isAgree">
      <checkbox value="true"/>
    </checkbox-group>
    <view class="user-name-txt">我已阅读同意 <text class="gray" bindtap="goto" data-url="/packageA/pages/parseHtml/parseHtml?t=0">《用户使用协议》</text>与<text class="gray" bindtap="goto" data-url="/packageA/pages/parseHtml/parseHtml?t=1">《隐私政策》</text></view>
  </view> -->

 <!-- 授权获取基础信息 -->
 <block >
       <button hidden="{{user}}"  class="getPhoneNumber" catchtap="charuser">
       <view class="flex flex-center ali-c">
         <!-- <image class="we_chat" src="{{imghots}}/miniapp/images/we_chat.png"></image> -->
         <view>暂未登录请授权登录</view>
       </view>
       </button>
 </block>

 <!-- <block wx:else>
    <button hidden="{{user}}"  class="getPhoneNumber" open-type="getUserInfo" bindgetuserinfo="bindUserInfo">
        <view class="flex flex-center ali-c">
             <image class="we_chat" src="{{imghots}}/miniapp/images/we_chat.png"></image>
             <view>微信账号快捷登录</view>
        </view>
    </button>
  </block> -->

  <!-- 点击显示绑定手机的对话框 -->
  <!-- <button  hidden="{{!user}}" class="getPhoneNumber" bindtap="show_bind_mobile">
    <view  class="flex flex-center2 ali-c" >
    <image class="we_chat" src="{{imghots}}/miniapp/images/we_chat.png"></image>
    <view>微信账号快捷登录</view>
    </view>
  </button> -->
  </view>

  <!-- <view class="userlongin flex-center2 flex fs30 jc_sb" style="margin: 0 130rpx">
    <view bindtap="cancle_bind">暂不授权</view>
  </view> -->

</view>

</view>
<view wx:else class="meBox" >
  <view style="font-weight: bold;margin-bottom: 10rpx;">长按识别二维码</view>
  <view style="margin-bottom: 80rpx;">添加我的企业微信</view>
  <image style="height: 500rpx;width: 500rpx;" src="{{qr_code}}" show-menu-by-longpress ></image>
</view>

<!-- <view wx:if="{{show_bind}}">
<view class="cover-layer" bindtap="close_pop"></view>
<view class="p_content">
  <view class="p_title flex ali-c fs34">
    登录手机号，同步会员信息以及订单记录
  </view>
  <view class="flex btn_view">
    <view bindtap="close_pop_back" style="height: 100%; line-height:normal;" class="txt-center f2 flex ali-c flex-center2 fs36 b_right">暂不授权</view>
    <button disabled="{{sub}}" style="height: 100%;" class="g_mobile f2 flex ali-c flex-center2 fs36 txt-red" open-type="getPhoneNumber" bindgetphonenumber="getphone">立即授权</button>
   </view>
  </view>
</view>
<warn id="warn"></warn> -->

