From 08bf737f19505c036f72c42827db833f369bf2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E6=A5=9A?= <823169880@qq.com> Date: Fri, 11 Jan 2019 10:45:50 +0800 Subject: [PATCH] =?UTF-8?q?1,=20=20=E4=B8=BB=E9=A1=B5=EF=BC=8C=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E5=9F=BA=E6=9C=AC=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/cssFile/home.css | 108 ++++++++++++++++-- web/cssFile/personal.css | 56 +++++++-- web/home.jsp | 32 +++++- web/login.jsp | 8 +- ...sonal-setting.jsp => personal_setting.jsp} | 21 +++- web/test2.js | 5 +- 6 files changed, 192 insertions(+), 38 deletions(-) rename web/{personal-setting.jsp => personal_setting.jsp} (76%) diff --git a/web/cssFile/home.css b/web/cssFile/home.css index 83c988e..f2856b5 100644 --- a/web/cssFile/home.css +++ b/web/cssFile/home.css @@ -1,7 +1,7 @@ body{ margin: 0px; padding: 0px; - background-color: #efefef; + background-color: #dad0ce; width: 100%; height: 100%; } @@ -14,7 +14,6 @@ ul{ } .main{ position: relative; - height: 100%; } .top-bar{ width: 100%; @@ -60,7 +59,7 @@ ul{ background-color: white; position: absolute; top: 55px; - right: -20px; + right: -8px; border: 1px solid rgba(0, 0, 0, 0.07); border-radius: 0px 0px 5px 5px; box-shadow: 5px 2px 8px rgba(0, 0, 0, 0.29); @@ -93,8 +92,6 @@ ul{ margin: 2px; width: 45px; height: 45px; -border-radius: 50%; - border: 3px solid white; } .opt .img{ display: block; @@ -134,6 +131,7 @@ width: 35px; width: 100px; height: 800px; background-color: #251d20; + box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.35); } .nav-bar .a-process{ border: 1px solid rgba(255, 255, 255, 0.2); @@ -149,6 +147,7 @@ width: 35px; background-color: rgba(255, 255, 255, 0.3); } .point-bar{ + border-right:1px solid rgb(198, 34, 53); width: 10px; position: absolute; left: 100px; @@ -158,12 +157,12 @@ width: 35px; background-color: #cf4240; transition: all 0.4s; visibility: hidden; + box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.32); } .main2{ z-index: 2; position: relative; width: 1100px; - height: 1100px; margin: 0px auto; background-color: white; } @@ -190,24 +189,27 @@ width: 35px; font-size: 12px; } .update-frame{ + border-top: 1px solid rgba(255,105,0,0); width: 990px; - height: 1100px; position: relative; left: 110px; + height: 900px; } .scroll-ads{ - height: 300px; + height: 320px; width: 900px; - background-color: black; + background-color: #ffffff; position: absolute; margin: 20px 45px; border-radius: 10px; overflow: hidden; + border: 1px solid rgba(0, 0, 0, 0.33); + box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.22); } .scroll-ads .scroll-ads-imgs .scroll-child{ display: inline-block; width: 100%; - height: 100%; + height: 90%; transition: all 0.4s; } .scroll-ads .scroll-ads-imgs{ @@ -231,4 +233,90 @@ width: 35px; z-index: 10; font-size: 20px; color: white; +} +.notice-frame{ + margin:370px auto 0px 45px; + position: relative; + width: 800px; + height: 400px; + border:1px solid rgba(0, 0, 0, 0.32); + border-radius: 5px; + overflow: hidden; + box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.29); +} +.notice-frame .notice-frame-info{ + + color: white; + background-color: #c62e35; + width:200px; + height: 50px; + border-radius: 0px 0px 8px 0px; + text-align:center; + line-height: 40px; + font-size: 25px; + box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.29); +} +.notice-frame .notice-cont{ + overflow-y: scroll; + border:1px solid rgba(255, 255, 255, 0); + height: 340px; + width: 750px; + margin: 5px 30px; +} +.notice-child{ + margin: 5px 0px; + width: 98%; + float: left; + border: 1px solid #d4d4d4; + border-radius: 5px; + box-shadow: 0px 0px 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%; + height: 50px; + text-align: center; + +} +.notice-child .notice-text{ + color: rgba(0, 0, 0, 0.91); + width: 100%; + min-height: 100px; + text-align: left; + display: none; + transition-delay:0.3s; + background-color: #f3f3f3; + border-top: 1px solid rgba(0, 0, 0, 0.26); +} +.notice-child .notice-title:hover + .notice-text{ + display: block; +} +.notice-child .notice-text:hover{ + display: block; +} +.notice-choose{ + width: 80px; + height: 200px; + position: absolute; + top: 370px; + right: 62px; + border: 1px solid rgba(255, 255, 255, 0); +} +.notice-choose .notice-class{ + margin: 8px 0px; + width: 100%; + height: 50px; + color: white; + font-size: 18px; + line-height: 45px; + text-align: center; + background-color: #c62235; + border-radius: 0px 10px 10px 0px; + transition: all 0.3s; +} +.notice-choose .notice-class:hover{ + width: 110%; } \ No newline at end of file diff --git a/web/cssFile/personal.css b/web/cssFile/personal.css index 3ded13e..45aa445 100644 --- a/web/cssFile/personal.css +++ b/web/cssFile/personal.css @@ -1,11 +1,20 @@ +ul{ + padding: 0; + margin: 0; +} .updated{ width: 100%; height: 100%; } .personal-choose{ position: absolute; - top: 50px; - left: 15px; + top: 70px; + left: 128px; + height: 250px; + border-radius: 5px; + background-color: #f6f6f6; + border: 1px solid rgba(0, 0, 0, 0.28); + box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.23); } .personal-choose .nav-personal-choose{ margin: 0px; @@ -15,7 +24,7 @@ list-style: none; border-radius: 5px 5px 0px 0px; margin: 10px 0px; - color: rgba(0, 0, 0, 0.93); + color: rgba(0, 0, 0, 0.82); width: 120px; height: 30px; border-bottom: 1px solid rgb(198, 68, 66); @@ -36,17 +45,38 @@ top: 70px; left: 250px; width: 600px; + border: 1px solid rgba(0, 0, 0, 0.27); + border-radius: 5px; + box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.23); } .personal-msg-frame .personal-msg-part{ - width: 550px; + width: 100%; height: 50px; - margin: 30px 0px; - border-bottom: 1px solid rgba(0, 0, 0, 0.54); + margin: 20px 0px; +} +.personal-msg-frame .personal-msg-part:hover{ + background-color: #e9e9e9; +} +.frame-info{ + height: 60px; + border-bottom: 1px solid #c6333e; +} +.frame-info .info-text{ + margin: 15px auto; + height: 40px; + color: white; + width: 150px; + background-color: #c6333e; + font-size: 20px; + text-align: center; + line-height: 40px; + border-radius: 5px; } .personal-msg-frame .personal-msg-part .part-name{ width: 80px; - text-align: left; + text-align: right; line-height: 35px; + padding-left: 40px; color: rgba(0, 0, 0, 0.78); float: left; height: 100%; @@ -57,8 +87,10 @@ height: 100%; float: left; text-align: left; + color: rgba(0, 0, 0, 0.74); line-height: 35px; - font-size: 15px; + font-size: 20px; + padding-left: 20px; } .updated .change-pw-frame{ display: none; @@ -66,21 +98,23 @@ top: 70px; left: 250px; width: 600px; + border: 1px solid rgba(0, 0, 0, 0.27); + border-radius: 5px; + box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.23); } .change-pw-frame .pw-input-style{ padding: 0px 0px 0px 20px; - margin: 20px 100px; + margin: 20px 130px; width:340px; height: 40px; border-radius: 5px; - left: 29px; border:1px solid rgba(0, 0, 0, 0.37); } .change-pw-frame .pw-input-style:hover{ background-color: #f0f0f0; } .change-pw-frame .sm-input-style{ - margin: 20px 120px; + margin: 20px 150px; top: 280px; width: 300px; height: 40px; diff --git a/web/home.jsp b/web/home.jsp index 61bec0b..0cd90e5 100644 --- a/web/home.jsp +++ b/web/home.jsp @@ -29,7 +29,7 @@
- @@ -42,7 +42,7 @@
diff --git a/web/login.jsp b/web/login.jsp index 232ca95..58a636a 100644 --- a/web/login.jsp +++ b/web/login.jsp @@ -42,18 +42,18 @@
+ placeholder="学号或职工号"> + - - +
diff --git a/web/personal-setting.jsp b/web/personal_setting.jsp similarity index 76% rename from web/personal-setting.jsp rename to web/personal_setting.jsp index fc07a3a..dd44674 100644 --- a/web/personal-setting.jsp +++ b/web/personal_setting.jsp @@ -23,21 +23,30 @@
  • 修改密码
  • -
    +
    +
    +
    个人信息
    +
    +
    +
    id
    未知
    +
    -
    姓名
    +
    姓名
    未知
    -
    id
    +
    年级
    未知
    -
    邮箱
    +
    邮箱
    未知
    -
    电话号码
    +
    电话号码
    未知
    -
    +
    +
    +
    修改密码
    +
    diff --git a/web/test2.js b/web/test2.js index b691918..8b13789 100644 --- a/web/test2.js +++ b/web/test2.js @@ -1,4 +1 @@ -function a(){ - alert(123); -} -window.onload=a(); \ No newline at end of file +