From c9be45b837c24928571f4ebc016bfdd10804ea63 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期四, 16 五月 2024 17:12:43 +0800
Subject: [PATCH] 修改了登录页

---
 javaweb-plus/javaweb-cms/src/main/resources/templates/loginPage/process/login.html |   34 +++++++++++++++++++++++++++++-----
 javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html   |    5 +++--
 2 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html
index c6a0e41..742db8c 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html
@@ -41,9 +41,10 @@
         </form>
     </div>
     <th:block th:include="include :: footer" />
-    <script type="text/javascript">
+    <script th:inline="javascript">
         var prefix = ctx + "geo/projectPerson"
-        var project_Id = [[${project_Id}]];
+        var project_Ids = [[${project_Id}]];
+        alert(project_Ids);
         console.log("projectId",project_Id);
 
         $("#form-projectPerson-add").validate({
diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/loginPage/process/login.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/loginPage/process/login.html
index 957b4e8..c17681e 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/loginPage/process/login.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/loginPage/process/login.html
@@ -3,7 +3,8 @@
 <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-    
+    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" name="viewport" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
     <title>閽绘帰宸ョ▼淇℃伅鍖栫郴缁�</title>
     <meta name="description" content="閽绘帰宸ョ▼淇℃伅鍖栫郴缁�">
     <!--[if lt IE 9]>
@@ -22,18 +23,25 @@
         }  
         html,body{
         	height: 100%;
+            touch-action: manipulation;
+        }
+        html {
+            touch-action: manipulation;
         }
         #logo-text{
-        	color: rgba(51, 51, 51, 1);
-        	font-size: 44px;
-        	margin-left: 0px;
+        	/*color: rgba(51, 51, 51, 1);*/
+        	font-size: 40px;
+        	margin-left: 25px;
+            color: white;
+            margin-bottom: 20px;
         }
         .page-con{
         	border-width: 0px;
         	margin-left: 0px;
         	/*text-align: left;*/
-        	left: 524px;
+        	left: 38%;
         	padding: 0px;
+            color: white;
         }
         .bar-line{
         	display: block;
@@ -133,5 +141,21 @@
 <script  th:src="@{/ajax/libs/encrypt/jsencrypt.min.js}"></script>
 <script  th:src="@{/loginPage/process/login.js}"></script>
 
+<script type="text/javascript">
+    window.addEventListener('wheel', function (event) {
+        if (event.ctrlKey === true || event.metaKey) {
+            event.preventDefault();
+        }
+    }, { passive: false });
+
+    //firefox
+    window.addEventListener('DOMMouseScroll', function (event) {
+        if (event.ctrlKey === true || event.metaKey) {
+            event.preventDefault();
+        }
+    }, { passive: false })
+
+</script>
+
 </body>
 </html>

--
Gitblit v1.9.1