<!--pages/index/login.wxml-->
<view class="container">
  <view class="login-icon">
    <image class="login-img" src="../../image/icon/login-background.svg"></image>
  </view>
  <view class="login-from">
    <view class="inputView">
      <!--账号-->
      <input class="inputText" placeholder="账号" id="username" bindinput="bindKeyInput" />
      <!--密码-->
      <input class="inputText" placeholder="密码" id="password" bindinput="bindKeyInput" password="true" />
    </view>
    <view class="loginBtnView">
      <!--按钮-->
      <button class="loginBtn" type="primary" bindtap="login">登录</button>
      <button class="loginBtn" type="secondary" bindtap="visitor">访客申请</button>
    </view>
  </view>
</view>