From 3cf0f35521abb20a5c0cde5276f63b88c51aeff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E6=A5=9A?= <823169880@qq.com> Date: Sat, 12 Jan 2019 11:21:37 +0800 Subject: [PATCH] =?UTF-8?q?1,=20=20=E9=80=89=E6=8B=A9=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/operation/Select.json | 2 +- src/core/process/Process.java | 2 +- web/cssFile/home.css | 46 ++++++++++++++++++++++++++++------ web/cssFile/login-style.css | 18 +++++++++++-- web/home.jsp | 23 +++++++++++------ web/jsFile/homeActive.js | 42 ++++++++++++++++++------------- web/jsFile/login.js | 7 +++++- web/jsFile/personal.js | 4 +-- web/login.jsp | 9 +++++-- 9 files changed, 112 insertions(+), 41 deletions(-) diff --git a/src/core/operation/Select.json b/src/core/operation/Select.json index 6b2332b..e136f43 100644 --- a/src/core/operation/Select.json +++ b/src/core/operation/Select.json @@ -1,4 +1,4 @@ { - "student_id": "java.lang.String", + "student_'id": "java.lang.String", "teacher_id": "java.lang.String" } \ No newline at end of file diff --git a/src/core/process/Process.java b/src/core/process/Process.java index bcdf14f..f303287 100644 --- a/src/core/process/Process.java +++ b/src/core/process/Process.java @@ -30,7 +30,7 @@ public abstract class Process implements Cloneable{ public void setUserOperations(String key,Object value){ this.operation.addUserOperations(key,value); } - public void execute(User subject) throws GExcptSQL { + public void execute(User subject) throws Exception { this.operation.execute(subject); } private void setOperation(String operationName) throws GExcptFactory { diff --git a/web/cssFile/home.css b/web/cssFile/home.css index f2856b5..8c85dd2 100644 --- a/web/cssFile/home.css +++ b/web/cssFile/home.css @@ -5,6 +5,9 @@ body{ width: 100%; height: 100%; } +.main2{ + background-color: #f8f9ff; +} a{ text-decoration: none; } @@ -52,6 +55,11 @@ ul{ line-height: 70px; height:70px; } +.back-home a{ + display: block; + width: 100%; + height: 100%; +} .opt-options{ visibility: hidden; width: 100px; @@ -250,11 +258,11 @@ width: 35px; background-color: #c62e35; width:200px; height: 50px; - border-radius: 0px 0px 8px 0px; + border-radius: 0 0 8px 0; text-align:center; line-height: 40px; font-size: 25px; - box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.29); + box-shadow: 0 0 8px rgba(0, 0, 0, 0.29); } .notice-frame .notice-cont{ overflow-y: scroll; @@ -263,17 +271,27 @@ width: 35px; width: 750px; margin: 5px 30px; } +.bar-change::-webkit-scrollbar{ + width: 10px; + background-color: #dcdcdc; + border-radius: 10px; +} +.bar-change::-webkit-scrollbar-thumb{ + width: 10px; + transition: all 0.3s; + background-color: #e45053; + border-radius: 10px; +} .notice-child{ - margin: 5px 0px; + margin: 5px 0; width: 98%; float: left; border: 1px solid #d4d4d4; border-radius: 5px; - box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); } .notice-child .notice-title{ - border-left: 5px solid #c62e35; line-height: 40px; color: rgba(0, 0, 0, 0.91); width: 100%; @@ -297,6 +315,20 @@ width: 35px; .notice-child .notice-text:hover{ display: block; } +.notice-child .notice-title .expend{ + position: relative; + background-color: #251d20; + width: 30px; + height: 60px; + float: left; + border-radius: 0 0 5px 5px; + margin-left: 20px; +} +.notice-title .title-text{ + width: 400px; + float: left; + margin: 0px 120px; +} .notice-choose{ width: 80px; height: 200px; @@ -306,7 +338,7 @@ width: 35px; border: 1px solid rgba(255, 255, 255, 0); } .notice-choose .notice-class{ - margin: 8px 0px; + margin: 8px 0; width: 100%; height: 50px; color: white; @@ -314,7 +346,7 @@ width: 35px; line-height: 45px; text-align: center; background-color: #c62235; - border-radius: 0px 10px 10px 0px; + border-radius: 0 10px 10px 0; transition: all 0.3s; } .notice-choose .notice-class:hover{ diff --git a/web/cssFile/login-style.css b/web/cssFile/login-style.css index bdf4ad7..aedcc44 100644 --- a/web/cssFile/login-style.css +++ b/web/cssFile/login-style.css @@ -94,16 +94,30 @@ body{ } .register-submit-style{ position: absolute; - width: 300px; + width: 200px; height: 40px; border-radius: 5px; - left: 49px; + right: 31px; border: 1px solid rgba(0, 0, 0, 0.2); background-color: #65b0ff; color: white; font-size: 20px; cursor: pointer; } +.id-check{ + appearance:none; + -moz-appearance:none; + -webkit-appearance:none; + position: absolute; + top: 440px; + left: 29px; + width: 100px; + height: 25px; + color: rgba(0,0,0,0.58); + border:1px solid rgba(0, 0, 0, 0.41); + padding-left: 20px; + border-radius: 5px; +} .register-input-text.sno-text{ top: 60px; } diff --git a/web/home.jsp b/web/home.jsp index 0cd90e5..41530f5 100644 --- a/web/home.jsp +++ b/web/home.jsp @@ -11,10 +11,12 @@