From 706f1e9b7821e61d7a472e0036a79a917fa3213d Mon Sep 17 00:00:00 2001 From: dong_bo0602 <358256383@qq.com> Date: Tue, 10 Aug 2021 17:37:24 +0800 Subject: [PATCH] 0810 --- .../resources/static/assets/web/css/style.css | 12 ++++--- src/main/resources/templates/index.html | 36 ++++++++++++++----- 2 files changed, 36 insertions(+), 12 deletions(-) diff --git a/src/main/resources/static/assets/web/css/style.css b/src/main/resources/static/assets/web/css/style.css index 48c7239..d5d7906 100644 --- a/src/main/resources/static/assets/web/css/style.css +++ b/src/main/resources/static/assets/web/css/style.css @@ -37,8 +37,8 @@ .news .news-box .box-title{height:40px;line-height:40px;padding:0 10px;background:#064ec0;color:#fff} .news .news-box .box-title span{font-size:18px} .news .news-box .box-title a{font-size:16px;float:right;color:#fff} -.news .news-box .news-list{padding:0 10px} -.news .news-box .news-list ul{height:243px} +.news .news-box .news-list{padding:0 10px;overflow: hidden;} +.news .news-box .news-list ul{height:243px;overflow-y: scroll;width:110%;padding-right:20px;box-sizing: border-box;} .news .news-box .news-list ul li{border-bottom:1px dashed #dcdcdc;height:60px;line-height:60px;font-size:16px;color:#333;background:#fff} .news .news-box .news-list ul li:last-child{border:none} .news .news-box .news-list ul li:hover,.news .news-box .news-list ul li:hover a{color:#064ec0} @@ -238,14 +238,14 @@ } .fix-box{ position: fixed; - top:53%; + top:42.7%; right:0; - transform: translate(0,-50%); padding:0 15px 15px; background: #fff; width: 300px; z-index: 100; box-shadow: 0 0 10px #EEE; + border-radius: 5px; } .fix-title{ border-bottom: 1px solid #eee; @@ -253,10 +253,14 @@ font-size: 18px; text-align: center; color: #333; + font-weight: bold; } .scroll-slide-title,.scroll-slide li{ font-size: 0; } +.scroll-slide-title span{ + font-weight: bold; +} .scroll-slide-title span,.scroll-slide span{ display: inline-block; font-size: 16px; diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 8763c9c..46d10af 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -186,7 +186,7 @@