From b0862808be397892e57b7e20d0859040effd01b4 Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期五, 15 八月 2025 10:46:58 +0800
Subject: [PATCH] 更新项目配置,添加监测站相关数据和状态管理;优化首页和监测页面的逻辑,提升用户体验;新增SVG图标资源,更新样式以增强可视化效果。

---
 pages/login/login.wxml |   42 ++++++++++++++++++++++++++++++------------
 1 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/pages/login/login.wxml b/pages/login/login.wxml
index 80ca67a..44f34ef 100644
--- a/pages/login/login.wxml
+++ b/pages/login/login.wxml
@@ -1,19 +1,37 @@
 <!--pages/login/login.wxml-->
 <view class="login-container">
-  <view>
-    <image src="/images/login_bg.jpeg"></image>
+  <view class="logo-container">
+    
   </view>
-  <view class="input-wrapper">
-    <input class="input" placeholder="璇疯緭鍏�11浣嶆墜鏈哄彿" maxlength="11" bindinput="bindMobileInput" />
+  
+  <view class="form-container">
+    <view class="title">鐢ㄦ埛鐧诲綍</view>
+    
+    <view class="input-wrapper">
+      <view class="input-icon user-icon"></view>
+      <input class="input" type="number" placeholder="璇疯緭鍏ユ墜鏈哄彿" maxlength="11" bindinput="bindPhoneInput" />
+    </view>
+    
+    <view class="input-wrapper">
+      <view class="input-icon lock-icon"></view>
+      <input class="input" type="number" placeholder="璇疯緭鍏ラ獙璇佺爜" maxlength="6" bindinput="bindCodeInput" />
+      <view class="code-button" bindtap="sendVerificationCode">
+        <text>{{codeText}}</text>
+      </view>
+    </view>
+    
+    <view class="login-btn-container">
+      <button class="login-button" bindtap="login">鐧诲綍</button>
+    </view>
+    
+    <view class="footer-links">
+      <view class="link" bindtap="goToForgetPassword">蹇樿瀵嗙爜</view>
+      <view class="link" bindtap="goToAccountLogin">璐﹀彿瀵嗙爜鐧诲綍</view>
+    </view>
   </view>
-  <view class="input-wrapper">
-    <input class="input" type="number" placeholder="璇疯緭鍏ラ獙璇佺爜"  />
-    <button class="code-button" wx:if="{{!codeSent}}" bindtap="sendCode">鑾峰彇楠岃瘉鐮�</button>
-    <button class="code-button" wx:if="{{codeSent}}" disabled>閲嶆柊鑾峰彇({{countdown}}s)</button>
+  
+  <view class="project-info">
+    <text>褰撳墠椤圭洰: {{projectName}}</text>
   </view>
-  <view>
-    <button class="login-button" bindtap="login">鐧诲綍</button>
-  </view>
-
 
 </view>
\ No newline at end of file

--
Gitblit v1.8.0