<view class="container">
  <input class="input" bindinput="inputUsername" placeholder="请输入用户名" />
  <input class="input" bindinput="inputPassword" placeholder="请输入密码" type="password" />
  <button class="btn" bindtap="login">登录</button>
  <text class="error">{{errorMessage}}</text>
</view>
