From a79edd57659a6a8b0333647293b295ae585a1686 Mon Sep 17 00:00:00 2001
From: syruan <321359594@qq.com>
Date: Thu, 10 Jul 2025 18:01:14 +0800
Subject: [PATCH] =?UTF-8?q?feat(login):=20=E9=87=8D=E6=9E=84=E7=99=BB?=
=?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=B9=B6=E6=B7=BB=E5=8A=A0=E6=96=B0?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 重新设计了登录页面的布局和样式,增加了更多视觉元素
- 添加了记住密码功能,支持本地存储用户名和密码
- 实现了表单实时验证和错误提示
- 增加了用户协议弹窗和登录中动画效果
- 优化了键盘导航,支持Tab键在表单元素间切换- 调整了首页导航
---
WebContent/WEB-INF/views/login/login.jsp | 998 +++++++++++++++++++----
WebContent/WEB-INF/views/sys/index.jsp | 7 +-
WebContent/static/css/ace/ace.min.css | 2 +-
3 files changed, 841 insertions(+), 166 deletions(-)
diff --git a/WebContent/WEB-INF/views/login/login.jsp b/WebContent/WEB-INF/views/login/login.jsp
index 7cbc75d..4ad5cf5 100644
--- a/WebContent/WEB-INF/views/login/login.jsp
+++ b/WebContent/WEB-INF/views/login/login.jsp
@@ -7,49 +7,38 @@
-
+
+
-
-
-Insert title here
-
+
+贵送机具管理系统 - 登录
<%
-
String uuid = UUID.randomUUID().toString().replaceAll("-", "");
request.getSession().setAttribute("randTxt", uuid);
String sessionId = request.getSession().getId();
-
response.setHeader("SET-COOKIE", "JSESSIONID="+sessionId+";secure;HttpOnly");
-
-
%>
-
-
-
-
+
-
+
-
-
-
-
+
+
+
+
+
+
+
+
-
-
+
-
-
+
+
@@ -138,174 +127,859 @@ function showAgreement() {
+
-
+
+
-
-
-

-
-
-
+
diff --git a/WebContent/WEB-INF/views/sys/index.jsp b/WebContent/WEB-INF/views/sys/index.jsp
index 887380e..7dc4595 100644
--- a/WebContent/WEB-INF/views/sys/index.jsp
+++ b/WebContent/WEB-INF/views/sys/index.jsp
@@ -35,7 +35,8 @@
-
+ 贵送机具管理系统
+<%--
--%>
@@ -125,8 +126,8 @@
diff --git a/WebContent/static/css/ace/ace.min.css b/WebContent/static/css/ace/ace.min.css
index a970694..b342e78 100644
--- a/WebContent/static/css/ace/ace.min.css
+++ b/WebContent/static/css/ace/ace.min.css
@@ -1252,7 +1252,7 @@ blockquote, blockquote.pull-right {
padding-right: 0;
min-height: 45px;
position: relative;
- background: #438eb9
+ background: #1f77aa
}
.navbar>.container {