diff --git a/src/main/resources/static/assets/web/css/style.css b/src/main/resources/static/assets/web/css/style.css index 9eaf2a1..7e65b0f 100644 --- a/src/main/resources/static/assets/web/css/style.css +++ b/src/main/resources/static/assets/web/css/style.css @@ -1,7 +1,8 @@ .clearFloat:after{content:'';display:block;clear:both} .fl{float:left} .fr{float:right} -.banner,.banner img{width:100%;height:630px;min-width:1200px} +.banner{position: relative;overflow: hidden;width:100%;height:456px;min-width:1200px;} +.banner img{position: absolute;top: 0;left: 50%;transform: translate(-50%, 0);height: 100%;} .nav{width:1200px;margin:-50px auto 0;position:relative;padding:20px 0;background:#fff;-webkit-box-shadow:0 0 10px #eee;box-shadow:0 0 10px #eee;border-radius:5px} .nav ul li{width:200px;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #d2d2d2;cursor:pointer;overflow: hidden} .nav.child ul li{width: 240px;} @@ -24,8 +25,8 @@ .nav ul li.active .left span{color:#3d41b7;font-weight:700;line-height:60px;margin-top:0;position:relative;display: inline-block} .nav ul li.active .left span:after{content:'';display:block;width:100%;height:2px;background:#3d41b7;position:absolute;left:0;bottom:10px} .nav ul li.active .left p{display:none} -.mid-link{width:1200px;margin:20px auto;border-top:10px solid #ffd88b;-webkit-box-shadow:0 0 10px #eee;box-shadow:0 0 10px #eee;padding-bottom:30px} -.mid-link .text{display:block;margin:15px 0 15px 15px} +.mid-link{background: #fff;width:1200px;margin:20px auto;padding-top: 10px;-webkit-box-shadow:0 0 10px #eee;box-shadow:0 0 10px #eee;padding-bottom:30px} +.mid-link .text{display:block;margin:0 0 15px 15px} .mid-link .link{padding:0 30px;overflow:hidden} .mid-link .link .link-box{float:left;width:23.25%;height:120px;margin-right:2%;cursor:pointer;display:block} .mid-link .link .link-box:last-child{margin-right:0} diff --git a/src/main/resources/static/assets/web/images/banner.png b/src/main/resources/static/assets/web/images/banner.png index 776eace..35ed69a 100644 Binary files a/src/main/resources/static/assets/web/images/banner.png and b/src/main/resources/static/assets/web/images/banner.png differ diff --git a/src/main/resources/static/route/web/public.html b/src/main/resources/static/route/web/public.html index d341df3..de7592f 100644 --- a/src/main/resources/static/route/web/public.html +++ b/src/main/resources/static/route/web/public.html @@ -117,20 +117,33 @@ 功能一览