<view class="card">
  <view>手机号验证码登录</view>
  <view class="muted">开发验证码 682139</view>
  <input value="{{phone}}" bindinput="onPhone" placeholder="手机号" />
  <input value="{{code}}" bindinput="onCode" placeholder="验证码" />
  <view class="muted">{{error}}</view>
  <button class="btn-primary" bindtap="submit">登录</button>
</view>
