From 8c728223a1aae91ff37a5326d961ad45823ba865 Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期五, 08 八月 2025 15:27:19 +0800
Subject: [PATCH] 添加综合站监测功能,更新首页逻辑以支持登录检查并跳转至监测页面;在app.json中添加新页面和插件配置。
---
pages/login/login.wxml | 44 +++++++++++++++++++++++++++++---------------
1 files changed, 29 insertions(+), 15 deletions(-)
diff --git a/pages/login/login.wxml b/pages/login/login.wxml
index b500eae..44f34ef 100644
--- a/pages/login/login.wxml
+++ b/pages/login/login.wxml
@@ -1,23 +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">
- <view class="label-container">
- <text class="input-label">鎵嬫満鍙凤細</text>
+
+ <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>
- <input class="input" placeholder="璇疯緭鍏�11浣嶆墜鏈哄彿" maxlength="11" />
- </view>
- <view class="input-wrapper">
- <view class="label-container">
- <text class="input-label"> 瀵嗙爜锛�</text>
+
+ <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>
- <input class="input" type="password" placeholder="璇疯緭鍏ュ瘑鐮�" bindinput="bindPasswordInput" />
+
+ <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>
- <button class="login-button" bindtap="login">鐧诲綍</button>
+
+ <view class="project-info">
+ <text>褰撳墠椤圭洰: {{projectName}}</text>
</view>
-
- </view>
\ No newline at end of file
+</view>
\ No newline at end of file
--
Gitblit v1.8.0