<!--pages/login/login.wxml-->
<view class="login-container" wx:if="{{!showBindTips}}">
  <view class="content">
    <image src='http://img-test.gz-yami.com/mini/logo.jpg' class='c-logo'></image>
    <view class="title">海马购精选</view>
    <view class="msg">申请获得你的公开信息（昵称、头像等）</view>
  </view>
  <view class="login-phone">
    <button class="authorized-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">微信一键登录</button>
  </view>
  <view class="login-phone">
    <button class="authorized-btn hole-btn" bindtap="toLogin">账号密码登录</button>
  </view>
  <!-- <view class="login-bottom">
    <button class="authorized-btn bottom-btn" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">微信登录</button>
    <button class="authorized-btn bottom-btn" bindtap="toLogin">账号登录</button>
  </view> -->
</view>
<view class="bind-tips" wx:if="{{showBindTips}}">
  <view class="user-info">
    <open-data class="head-img" type="userAvatarUrl"></open-data>
    <open-data class="userNickName" type="userNickName"></open-data>
  </view>
  <button class="authorized-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号一键登录</button>
</view>