diff --git a/src/main/resources/static/assets/web/css/index.css b/src/main/resources/static/assets/web/css/index.css new file mode 100644 index 0000000..54a0b80 --- /dev/null +++ b/src/main/resources/static/assets/web/css/index.css @@ -0,0 +1,83 @@ +.header{width:100%;height:550px;min-width:1200px;position:relative;background:url(../images/header-bg.png) no-repeat center;background-size:100% 100%} +.date{width:1200px;margin:0 auto;height:40px;line-height:40px;font-size:12px;color:#333} +.date span{color:#b09158} +.logo-nav{padding:10px 0;background:rgba(255,255,255,.6)} +.logo-nav-content{width:1200px;margin:0 auto} +.logo-nav-content:after,.nav ul:after{content:'';display:block;clear:both} +.logo-nav .logo{float:left;cursor:pointer} +.nav{float:left;margin-left:140px} +.nav ul{margin-top:10px} +.nav ul li{float:left;border-right:1px solid #bb1511;position:relative} +.nav ul li:last-child{border-right:none} +.nav ul li>a{display:block;padding:0 15px;color:#bb1511;position:relative} +.child{display:none;position:absolute;left:0;top:100%;width:100%;padding:10px;background:rgba(255,255,255,.6);box-sizing:border-box} +.nav ul li:hover .child{display:block} +.child span{display:block;text-align:center;color:#000;font-size:16px;line-height:25px;cursor:pointer;font-weight:400} +.child span:hover,.nav ul li>a:hover{color:#bb1511;font-weight:700} +.news{width:1200px;margin:50px auto 0} +.head-news{text-align:center} +.head-news h3{font-size:40px;color:#ce0c0d;height:47px;line-height:47px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:20px} +.head-news h3 img{width:105px;height:47px} +.head-news p{font-size:14px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +.news-box{margin-top:20px} +.news-box-title{overflow:hidden} +.news-box-title img{float:left} +.title-line{width:900px;height:10px;background:url(../images/news-line-r.png) no-repeat center;background-size:100% 100%;float:left;margin:18px 0 0 25px} +.news-box-title a{float:right;color:#b50100;margin-top:10px} +.news-slide{overflow:hidden;margin-top:30px} +.news-left{width:515px;float:left} +.news-left ul li{padding:15px 0 15px;border-bottom:1px dashed #dcdcdc} +.news-left ul li a{display:block;padding-left:15px;position:relative;font-size:14px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +.news-left ul li a:after{content:'';display:block;width:4px;height:4px;background:#333;border-radius:50%;position:absolute;top:50%;left:0;transform:translate(0,-50%)} +.news-left ul li p{font-size:14px;color:#333;line-height:25px} +.news-left ul li:first-child a{font-size:20px;color:#333;font-weight:700;border-left:4px solid #b09158;padding-left:10px} +.news-left ul li:first-child a:after{display:none} +.news-right{width:540px;float:right;position:relative} +.news-right .bd a{display:block;position:relative} +.news-right .bd a img{width:540px;height:305px} +.news-right .bd a p{position:absolute;left:0;right:0;bottom:0;padding:0 100px 0 10px;background:rgba(0,0,0,.6);line-height:35px;color:#fff} +.news-right .hd{position:absolute;right:0;bottom:12px} +.news-right .hd li{float:left;width:10px;height:10px;border-radius:50%;cursor:pointer;background:#fff;margin-right:5px} +.news-right .hd li.on{background:#015ab8} +.three{overflow:hidden;margin-top:30px} +.three-box{width:32%;float:left;margin-right:2%} +.three-box:last-child{margin-right:0} +.three-box-title{overflow:hidden} +.three-box-title span{display:block;float:left;width:110px;height:28px;text-align:center;line-height:28px;color:#fff;background:#015ab8;font-weight:700;font-size:18px;position:relative;border-radius:4px} +.three-box-title span:after{content:'';display:block;width:200px;height:1px;border-top:1px dashed red;box-sizing:border-box;position:absolute;top:50%;left:120px} +.three-box-title a{line-height:28px;float:right;color:#999} +.three-box-list{margin-top:15px} +.three-box-list ul li a{display:block;line-height:35px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;padding-left:20px} +.three-box-list ul li a:after{content:'';display:block;width:8px;height:8px;background:#d60000;border-radius:50%;position:absolute;left:0;top:50%;transform:translate(0,-50%)} +.three-box-list ul li a:hover{color:#d60000} +.street{margin-top:30px;padding:25px 0 85px;background:url(../images/street-bg.png) no-repeat center;background-size:100% 100%} +.street-content{width:1200px;margin:0 auto} +.street-title{margin-bottom:15px;background:url(../images/news-line-w.png) no-repeat right center;background-size:80% 10px} +.street-list ul{overflow:hidden} +.street-list ul li{float:left;width:23.5%;margin-right:2%;margin-bottom:18px} +.street-list ul li:nth-child(4n){margin-right:0} +.street-list ul li span{color:#fff;font-size:16px} +.street-img-name{position:relative;margin-top:5px} +.street-img-name,.street-img-name img{width:100%;height:180px} +.street-img-name a{display:block;position:relative} +.street-img-name p{position:absolute;left:0;right:0;bottom:0;text-align:center;line-height:30px;color:#fff;font-size:14px;background:rgba(0,0,0,.6)} +.base{padding:50px 0;background:url(../images/base-bg.png) no-repeat center;background-size:100% 100%} +.base-content{width:1200px;margin:0 auto} +.base-title{background:url(../images/news-line-r.png) no-repeat 220px center;background-size:75% 10px} +.base-title a{float:right;font-size:14px;color:#b50100;line-height:40px} +.base-news{margin-top:30px;overflow:hidden} +.base-news-left{width:49.5%;float:left;border:5px solid #a90403;box-sizing:border-box} +.base-news-left a{display:block} +.base-news-left img{height:330px;width:100%} +.base-news-right{width:49.5%;height:340px;float:right;padding:15px;border:1px solid #dcdcdc;background:rgba(247,243,240,.6);box-sizing:border-box} +.base-news-right li{margin-bottom:17px} +.base-news-right li a{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:50px;box-sizing:border-box;font-size:14px;color:#333;position:relative;line-height:20px} +.base-news-right li a span{display:block;width:40px;height:20px;background:linear-gradient(-90deg,#fe5126,#db181e);border-radius:3px;text-align:center;line-height:20px;font-size:14px;color:#fff;position:absolute;top:0;left:0} +.base-news-right li a:hover{color:#b50100;font-weight:700} +.base-news-right li a:hover span{color:#fff;font-weight:400} +.bottom-nav{margin-top:80px} +.bottom-nav-title{padding-bottom:15px;border-bottom:2px solid #de0606;color:#333;font-size:18px} +.bottom-nav-list{margin-top:15px} +.bottom-nav-list a{display:inline-block;margin-right:10px;color:#333;font-size:16px} +.bottom-nav-list a:hover{color:#de0606} +.footer{padding:30px 0;text-align:center;min-width:1200px;background:#dcdcdc;color:#999;font-size:14px} diff --git a/src/main/resources/static/assets/web/images/base-bg.png b/src/main/resources/static/assets/web/images/base-bg.png new file mode 100644 index 0000000..03d1098 Binary files /dev/null and b/src/main/resources/static/assets/web/images/base-bg.png differ diff --git a/src/main/resources/static/assets/web/images/base-logo.png b/src/main/resources/static/assets/web/images/base-logo.png new file mode 100644 index 0000000..6cb8563 Binary files /dev/null and b/src/main/resources/static/assets/web/images/base-logo.png differ diff --git a/src/main/resources/static/assets/web/images/child-bg.png b/src/main/resources/static/assets/web/images/child-bg.png new file mode 100644 index 0000000..825e027 Binary files /dev/null and b/src/main/resources/static/assets/web/images/child-bg.png differ diff --git a/src/main/resources/static/assets/web/images/head-news.png b/src/main/resources/static/assets/web/images/head-news.png new file mode 100644 index 0000000..2aca6a9 Binary files /dev/null and b/src/main/resources/static/assets/web/images/head-news.png differ diff --git a/src/main/resources/static/assets/web/images/header-bg.png b/src/main/resources/static/assets/web/images/header-bg.png new file mode 100644 index 0000000..9ea93f1 Binary files /dev/null and b/src/main/resources/static/assets/web/images/header-bg.png differ diff --git a/src/main/resources/static/assets/web/images/logo.png b/src/main/resources/static/assets/web/images/logo.png new file mode 100644 index 0000000..046a1cc Binary files /dev/null and b/src/main/resources/static/assets/web/images/logo.png differ diff --git a/src/main/resources/static/assets/web/images/news-icon.png b/src/main/resources/static/assets/web/images/news-icon.png new file mode 100644 index 0000000..202a7cb Binary files /dev/null and b/src/main/resources/static/assets/web/images/news-icon.png differ diff --git a/src/main/resources/static/assets/web/images/news-line-r.png b/src/main/resources/static/assets/web/images/news-line-r.png new file mode 100644 index 0000000..34c464f Binary files /dev/null and b/src/main/resources/static/assets/web/images/news-line-r.png differ diff --git a/src/main/resources/static/assets/web/images/news-line-w.png b/src/main/resources/static/assets/web/images/news-line-w.png new file mode 100644 index 0000000..5f0fe32 Binary files /dev/null and b/src/main/resources/static/assets/web/images/news-line-w.png differ diff --git a/src/main/resources/static/assets/web/images/street-bg.png b/src/main/resources/static/assets/web/images/street-bg.png new file mode 100644 index 0000000..6d5d604 Binary files /dev/null and b/src/main/resources/static/assets/web/images/street-bg.png differ diff --git a/src/main/resources/static/assets/web/images/street-logo.png b/src/main/resources/static/assets/web/images/street-logo.png new file mode 100644 index 0000000..2184813 Binary files /dev/null and b/src/main/resources/static/assets/web/images/street-logo.png differ diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 5362917..8f7874d 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -5,309 +5,386 @@