<!--pages/login/login.wxml-->
<view class="login_logo">
  <image src="https://guangzhou.sxyanzhu.com/YZLJXM/profile/xmgl/static/sys_logo.png"></image>
</view>
<view class="login_title">
  <text>数字工程项目管理系统</text>
</view>
<view class="login_bg">
  <view class="login_ex">请使用手机号登录</view>
  <view class="login_input">
    <input placeholder="输入登录手机" placeholder-style="color:#5e6ea2" bindinput="name" class="name" maxlength="11"/>
  </view>
  <view class="login_input">
    <input placeholder="输入登录密码" placeholder-style="color:#5e6ea2" password="true" bindinput="psw" class="pass" maxlength="20" />
  </view>
  <van-row>
    <van-col span="14">
      <view class="login_input">
        <input placeholder="请输入验证码" placeholder-style="color:#5e6ea2" bindinput="code" class="code" maxlength="5" />
      </view>
    </van-col>
    <van-col span="10">
      <view class="login_code">
        <image src="{{ codeUrl }}" bindtap="loadCodeImage"/>
      </view>
    </van-col>
  </van-row>
  
  <view class="login_btn" bindtap="userLogin">
    账 号 登 录
  </view>

  <view class="wxlogin_btn">
    <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">微 信 登 录</button>
  </view>
</view>