<view class="login-wrapper">
  <image class="logo" src="{{tools.imgFilter('/common/About_logo@2x.png')}}"></image>
  <view class="main">
    <view class="button-wrap">
      <view class="disabled" hidden="{{checked}}" bind:tap="bindTip"></view>
      <button class="get-phone"
              disabled="{{booLock}}"
              open-type="getPhoneNumber"
              bindgetphonenumber="getPhoneNumber">微信用户一键登录
      </button>
    </view>
    <view class="button-wrap">
      <view class="disabled" hidden="{{checked}}" bind:tap="bindTip"></view>
      <button class="jump-bind"
              bind:tap="jumpBind">手机号码登录/注册
      </button>
    </view>
    <view class="agreement-wrap">
      <view class="check-box" bind:tap="bindChange">
        <image src="{{tools.imgFilter('/common/Confirm_icon_uncheck@2x.png')}}"
               hidden="{{checked}}"></image>
        <image src="{{tools.imgFilter('/common/Confirm_icon_check@2x.png')}}"
               hidden="{{!checked}}"></image>
      </view>
      <view class="text-wrap">
        <text style="color: #666;"
              wx:for="{{'登录代表您已同意'}}"
              wx:for-item="a"
              wx:for-index="aa"
              wx:key="aa">{{a}}</text>
        <text style="color: #3370FF;"
              wx:for="{{'《包个大巴服务协议》'}}"
              wx:for-item="b"
              wx:for-index="bb"
              wx:key="bb" bind:tap="jumpAgreement">{{b}}</text>
        <text style="color: #666;">、</text>
        <text style="color: #3370FF;"
              wx:for="{{'《隐私政策》'}}"
              wx:for-item="c"
              wx:for-index="cc"
              wx:key="cc" bind:tap="jumpPrivacy">{{c}}</text>
      </view>
    </view>
  </view>
</view>
<view class="footer">
  <view>18周岁以下用户禁止在平台包车，须由监护人下单</view>
</view>
<wxs src="../../components/wxs/index.wxs" module="tools"></wxs>
