login.wxml 535 B

123456789101112131415161718192021222324252627
  1. <view class="border">
  2. <view class="container">
  3. </view>
  4. <view class="bdy">
  5. <van-cell-group>
  6. <van-field
  7. model:value="{{ username }}"
  8. required
  9. clearable
  10. label="用户名"
  11. icon="question-o"
  12. placeholder="请输入用户名"
  13. bind:click-icon="onClickIcon"
  14. />
  15. <van-field
  16. model:value="{{ password }}"
  17. type="password"
  18. label="密码"
  19. placeholder="请输入密码"
  20. required
  21. border="{{ false }}"
  22. />
  23. </van-cell-group>
  24. </view>
  25. <button bindtap="handleLogin" class="btn">登录</button>
  26. </view>