<!--pages/mUser/userloginpw/userloginpw.wxml-->
|
<view class="page">
|
<view class="login-container">
|
<view class="user-info">
|
<view class="user-info_item">
|
<text>账号:</text>
|
<input
|
type="text"
|
placeholder="请输入账号"
|
value="{{userName}}"
|
bindinput="inputUserName"
|
/>
|
</view>
|
<view class="user-info_item">
|
<text>密码:</text>
|
<input
|
type="password"
|
placeholder="请输入密码"
|
value="{{password}}"
|
bindinput="inputPassword"
|
/>
|
</view>
|
</view>
|
<button
|
class="bottom-btn {{password.length > 0 ? 'bottom-btn_active' : ''}}"
|
bindtap="login"
|
loading="{{loading}}"
|
disabled="{{password.length == 0}}"
|
>
|
登录
|
</button>
|
<!-- <view class="login-btn_text" style="color: gray;" bindtap="gotoRegister">去注册</view> -->
|
</view>
|
</view>
|