<!--index.wxml-->
<!-- <include src="../../include.wxml" /> -->
<!-- <view style="background: #ededed;font-size:16px;height:32px;color: #999;text-align: center;line-height: 32px;box-sizing: border-box;border-bottom: 1px solid #e2e2e2;">
  <image src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/b.svg" style="width:56px;height:24px;vertical-align: text-bottom;position: relative;top:2px" mode="aspectFit"></image>

伯才人力资源供应链产品矩阵</view>-->

<view class="container">
  <view class="tc">
 <image src='https://matripe.oss-cn-beijing.aliyuncs.com/bcgyl.png' class='logoPng' mode='aspectFit'></image> 
      <!--  <image class="logo" src="http://matripe.oss-cn-beijing.aliyuncs.com/images/daotian.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>-->
    <!-- -->
    <view>
      <image src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/title3.svg" style="width: 190px;height: 19px;margin-top:20px;"></image>
    </view>
    <!-- <view class='logoTxt'>为劳动者创造价值</view>  -->
    <!-- <view class='logoTxt'>伯乐找人才啦</view> -->
  </view>
  <view class="loginForm">
    <form bindsubmit="beforeFormSubmit">
      <!-- 验证码登录页面 -->
      <view class="flex-1 fsa por" style="background-color: #f5f5f5;border-radius: 8px;">
        <input type="number" bindinput="showCha" class="phoneInput" bindblur="changeBtn" data-num="5" data-tel="1" maxlength="11" placeholder-class="pce" placeholder="请输入手机号码" name="tel" value="{{tel}}" placeholder-style="color:#999" />
        <view class="iconfont icon-qingchu1 biggerSize cccc" style="position:absolute;right:20px" wx:if="{{tel}}" catchtap="clearInput"></view>
      </view>

      <view class wx:if="{{loginType == 'tel'}}" hover-class="none" hover-stop-propagation="false">
        <view class="fsa mt20" style="background-color:#f4f4f4;border-radius: 8px;">
          <view class="section flex-left">
            <input type="number" class="f18 phoneInput" bindinput="showCha" bindfocus="showCha" data-num="6" placeholder-class="pce" maxlength="4" placeholder="请输入验证码" name="id" value="{{msgCode}}" placeholder-style="color:#999" />
          </view>
          <view hover-class="thover" style="color:{{btnColor ? '#576b95' : '#999'}}" class="section sendCode f14 fw500 code {{disabled == 1?'':'disabled'}}" bindtap="sendMsg">{{getmsg}}</view>
        </view>
      </view>
      <view class="flex-1 fsa por mt20" wx:else style="background-color: #f5f5f5;border-radius: 8px;">
        <input type="{{showPSW?'text':'password'}}" class="phoneInput " data-num="5" data-tel="1" placeholder-class="pce" placeholder="请输入密码" name="psw" model:value="{{password}}" placeholder-style="color:#999" />
        <view class="iconfont {{showPSW ? 'icon-eye':'icon-eye-close'}} biggerSize c9" wx:if="{{password}}" style="position:absolute;right:20px" catchtap="showPSW"></view>
      </view>

      <!-- 密码登录页面 -->
      <!-- <view class wx:else hover-class="none" hover-stop-propagation="false">
        <input type="number" bindinput="showCha" class="phoneInput" bindblur="changeBtn" data-num="5" data-tel="1" maxlength="11" placeholder-class="pce" placeholder="请输入手机号码" name="tel" model:value="{{tel}}" placeholder-style="color:#999" />
        <input type="password" class="phoneInput mt20" data-num="5" data-tel="1" placeholder-class="pce" placeholder="请输入密码" name="psw" model:value="{{password}}" placeholder-style="color:#999" />
      </view>-->
      <!-- 登录类型切换 -->
      <view class="changeType fsa f14 fw500 mt10 mb32" style="color:#576B95" hover-class="none" hover-stop-propagation="false">
        <view class bindtap="changeLoginType" hover-class="none" hover-stop-propagation="false">{{loginType == 'psw' ? '验证码登录':'密码登录'}}</view>
        <navigator class wx:if="{{loginType == 'psw'}}" target url="../changePsw/index?type=1" hover-class="hcb" open-type="navigate">找回密码</navigator>
      </view>
      <!-- 登录按钮 -->
      <view class="onlyBtn mb20">
        <button type="primary" class="loginBtn ysd-basebg-color" formType="submit">登录/注册</button>
      </view>
       <!--  #if MP -->
      <view class="weui-loadmore weui-loadmore_line" style="margin-bottom:0;">
        <text class="weui-loadmore__tips f16" style="color:#999">或</text>
      </view>
      <!-- #endif -->
      <view class="onlyBtn" style="margin-top:0px;position:relative">
        <!--  #if MP -->

        <button type class="loginBtn wxBtn ysd-base-bgcolor" style="display:flex;justify-content:center;align-items:center;" hover-class="loginBtnHov" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber">
          <i class="iconfont icon-shouji1 mr8"></i>手机号快捷登录
        </button>
        <view class="m-mask" bindtap="checkCheck" wx:if="{{!switchChecked}}" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%"></view>
        <!-- #elif ANDROID -->

        <!-- <button type class="loginBtn wxBtn ysd-base-bgcolor" style="display:flex;justify-content:center;align-items:center;" hover-class="loginBtnHov" bindtap="appLogin">
          <i class="iconfont icon-shouji1 mr8"></i>手机号快捷登录
        </button> -->
        <!-- #endif -->
      </view>
      <view class="f12 c9 g_flex_row_center g_mb_32" style="align-items: center; margin-top: 16px">
        <radio-group class="dib ">
          <radio checked="{{switchChecked}}" bindtap="switchChange" value="0" class="dib biggerSize" color="#1890ff" style="transform: scale(0.7)" />
        </radio-group>
        我已阅读并同意
        <navigator url="/pages/serviceTerm/index" class="aLink">《用户服务协议》</navigator>
        及
        <navigator url="/pages/secret/index" class="aLink">《隐私政策》</navigator>
      </view>
    </form>
  </view>
  
  <view class="tc bocai" style="font-size:12px;color: #999;line-height: 32px;box-sizing: border-box;">
    <image src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/b.svg" style="width:16px;height:16px;vertical-align: text-bottom;position: relative" mode="aspectFit"></image>伯才人力资源供应链平台 荣誉出品
  </view>

  <!-- <navigator url="/pages/register/index" class="tc f14 cf00" hover-class="thover" style="margin-top:40px;">新代理注册</navigator> -->
</view>
<view class="ui-poptips {{pop==1?'ui-poptipsTop':''}}">
  <view class="ui-poptips-cnt">{{popErrorMsg}}</view>
</view>
