<!--pages/login/index.wxml-->
<view>
  <t-input label="帐号" placeholder="请输入账号" model:value="{{username}}" name="username"></t-input>
  <t-input label="密码" placeholder="请输入密码" model:value="{{password}}" type="password" name="password" clearable ></t-input>
  <t-button theme="primary" size="large" bindtap="doLogin"block t-class="external-class">登陆</t-button>
</view>
<!-- <view class="login-box">
  
  <view class="cu-form-group">
    <view class="title">账号</view>
    
  </view>
  <view class="cu-form-group">
    <view class="title">密码</view>
    
  </view>
  <view class=" padding flex flex-direction">
    <button bindtap="doLogin" class="cu-btn shadow bg-gradual-purple shadow-blur">登陆</button>
  </view>
</view> -->