From b43d04ef7295105e78feb5980de619f58a9803a6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 06 九月 2022 17:49:06 +0800
Subject: [PATCH] 2022.9.6 代码结构整理
---
pages/m_user/userloginpw/userloginpw.wxml | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/pages/login/login.wxml b/pages/m_user/userloginpw/userloginpw.wxml
similarity index 64%
rename from pages/login/login.wxml
rename to pages/m_user/userloginpw/userloginpw.wxml
index accfda3..0acbb40 100644
--- a/pages/login/login.wxml
+++ b/pages/m_user/userloginpw/userloginpw.wxml
@@ -1,26 +1,20 @@
+<!--pages/m_user/userloginpw/userloginpw.wxml-->
<view class="page">
- <view class="banner-bg"></view>
<view class="login-container">
- <view class="top-view">
- <image class="login-img" src="/res/icons/icon1.png"></image>
- </view>
- <view class="page-text">涓皬浼佷笟瀹堟硶鏈嶅姟骞冲彴</view>
<view class="user-info">
<view class="user-info_item">
<text>璐﹀彿锛�</text>
- <input type="text" placeholder="璇疯緭鍏ヨ处鍙�" value="{{userName}}" bindinput="inputUserName"/>
+ <input type="text" placeholder="璇疯緭鍏ヨ处鍙�" value="{{userName}}" bindinput="inputUserName" />
</view>
<view class="user-info_item">
<text>瀵嗙爜锛�</text>
- <input type="password" placeholder="璇疯緭鍏ュ瘑鐮�" value="{{password}}" bindinput="inputPassword"/>
+ <input type="password" placeholder="璇疯緭鍏ュ瘑鐮�" value="{{password}}" bindinput="inputPassword" />
</view>
</view>
- <view class="bottom-view">
-
- <button class="bottom-btn" bindtap="login" loading="{{loading}}" hover-class="hoverClass">
- 鐧诲綍
- </button>
- </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" bindtap="gotoRegister">鍘绘敞鍐�</view>
<!-- <view>
<label class="weui-agree" bindtap="checkboxChange">
<checkbox class="weui-agree__checkbox-check" value="agree" checked="{{agree}}"/>
--
Gitblit v1.9.3