riku
2025-04-27 f46786f11c5c08ead7501a82e5a71430ad69b782
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--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>