diff --git a/src/main/webapp/templates/1/default/_files/css/main.css b/src/main/webapp/templates/1/default/_files/css/main.css index 3af1888..b91d3bb 100644 --- a/src/main/webapp/templates/1/default/_files/css/main.css +++ b/src/main/webapp/templates/1/default/_files/css/main.css @@ -719,9 +719,8 @@ font-size: 16px; } } - - - .kefu{ +/*右侧客服*/ + .kefu{ position:fixed; z-index:99999; top:30%; @@ -803,4 +802,211 @@ font-size: 16px; } } } - } \ No newline at end of file + } + +/*新闻中心*/ +.new_container { + background: #f6f8fa; + + .banner { + width: 100%; + height: 320px; + background: url("../img/newbanner.png") no-repeat top center; + .banner_main { + width: 1400px; + margin: 0 auto; + padding-top: 135px; + h2 { + font-size: 60px; + color: #ffffff; + margin: 0; + padding: 0; + } + p { + margin: 0; + color: #ffffff; + } + } + } + .new_container { + width: 100%; + + .top { + width: 100%; + height: 60px; + background: #ffffff; + + .wrap { + width: 1400px; + margin: 0 auto; + display: flex; + + + .list { + font-size: 16px; + line-height: 60px; + cursor: pointer; + position: relative; + margin-right: 40px; + a{ + color:#222222; + text-decoration: none; + + } + + &.active { + color: #006aff; + &:before { + opacity: 1; + } + } + + &:before { + content: ""; + position: absolute; + left: 0; + bottom: 0; + border-bottom: 3px solid #006aff; + width: 100%; + opacity: 0; + } + &:hover { + color: #006aff; + &:before { + opacity: 1; + } + } + } + } + } + .new_main{ + width: 1400px; + margin: 20px auto 0; + padding-bottom:20px; + a{ + text-decoration: none; + } + .wrap{ + width: 100%; + background: #ffffff; + padding: 20px; + border-radius: 4px; + margin-bottom: 20px; + .item{ + display: flex; + + .info{ + padding-left: 20px; + flex:1; + .title{ + font-size: 18px; + color: #222222; + a{ + color:#222222;} + } + .text{ + margin-top: 10px; + a{ + color: #696969; + font-size: 14px; + } + } + .time{ + color: #999999; + margin-top: 10px; + display: flex; + align-items: center; + span{ + padding-left: 5px; + } + } + } + } + &:hover{ + box-shadow: 0 8px 30px rgba(45, 104, 255, 0.15) + } + } + } + } + + .new_container_detail { + width: 100%; + + .breadcrumb{ + width:1400px; + margin:0 auto; + background:none; + padding:0; + margin-top:10px; + + .list-inline{ + margin:0 ! important; + padding:0! important; + + } + } + + + .new_main{ + width: 1400px; + margin: 10px auto 20px; + background: #ffffff; + min-height: 600px; + border-radius: 4px; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.05); + padding: 20px 50px; + border-top: 3px solid #1d78ff; + + .title{ + width: 100%; + border-bottom: 1px solid #eeeeee; + padding-bottom: 20px; + + .time{ + color: #999999; + } + } + .main{ + padding: 20px 0; + color: #666666; + + p{ + text-indent: 2rem; + line-height: 2; + font-size: 14px; + } + img{ + margin: 0 auto; + max-width: 100%; + } + } + .bottom{ + width: 100%; + .item{ + padding: 20px; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.05); + margin-bottom: 20px; + cursor: pointer; + font-size: 14px; + .previous{ + font-size: 14px; + margin-bottom: 20px; + } + .title{ + font-size: 14px; + } + .info{ + width: 100%; + display: flex; + justify-content: space-between; + color: #666666; + } + &:hover{ + box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); + } + } + } + } + + } +} \ No newline at end of file diff --git a/src/main/webapp/templates/1/default/channel.html b/src/main/webapp/templates/1/default/channel.html index cf547ae..a94405e 100644 --- a/src/main/webapp/templates/1/default/channel.html +++ b/src/main/webapp/templates/1/default/channel.html @@ -12,66 +12,53 @@
[#include 'inc_header.html'/] -[@A bean=bean class="cm-link text-decoration-none"/]
-- [@A bean=bean class="text-reset small text-decoration-none"]${substring(bean.description,60,'...')}[/@A] -
-