From ad9dda0f443c036a9bd67b81ab3ff5948e98a219 Mon Sep 17 00:00:00 2001 From: chenbiao Date: Thu, 24 Jan 2019 17:22:38 +0800 Subject: [PATCH] add 关于我们 荣誉轮播 --- index.html | 27 ++------------------------- js/main.js | 3 ++- style.css | 29 ++++++++++++++++------------- 3 files changed, 20 insertions(+), 39 deletions(-) diff --git a/index.html b/index.html index e4fe85f..7affa0f 100755 --- a/index.html +++ b/index.html @@ -213,32 +213,9 @@
- -
+ +
    diff --git a/js/main.js b/js/main.js index 9084b69..82a37c4 100755 --- a/js/main.js +++ b/js/main.js @@ -270,8 +270,9 @@ list.push( '
  • ', '

    ', - '' + commonStrandNum.cutString(obj.newsTitle, 26) +'', + '' + commonStrandNum.cutString(obj.newsTitle, 26) , ''+obj.time+'', + '', '

    ', '
  • ' ) diff --git a/style.css b/style.css index a63374b..fc7d984 100755 --- a/style.css +++ b/style.css @@ -2584,6 +2584,7 @@ a:hover{ } .newslist li a{ color: rgba(0,0,0,.6); + display: block; } .pos-rel{ position: relative; @@ -2630,21 +2631,23 @@ a:hover{ margin: 0; height: 20px; } -.swiper-notification { - display: inline-block; - width: 28px; - height: 6px; - border-radius: 0; - background: none; - margin: 0 5px; - opacity: 0.8; - border: 1px solid #fff; - cursor: pointer; +.news-pagination{ + right: 0px !important; + bottom: 30px !important; + width: 170px !important; + margin-left: 305px; } -.swiper-active-switch { - background: #fff; +.news-pagination .swiper-pagination-bullet{ + width:28px; + height:4px; + background:rgba(255,255,255,1); + opacity: 0.5; + border-radius:0; +} +.news-pagination .swiper-pagination-bullet-active{ + background:rgba(255,255,255,1); + opacity: 1 !important; } - .red-slide{ cursor: pointer; } -- libgit2 0.21.4