| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628 |
- body{
- color: #000;
- }
- a{
- color: #000;
- }
- a:hover{
- color: #007a4c;
- }
- .header {
- background: url(../images/jxjy/header-bg.jpg) center top;
- }
- .header .wrap {
- position: relative;
- }
- .header-top{
- width: 100%;
- height: 26px;
- line-height: 26px;
- background-color: #F6F6F6;
- }
- .header-top .wrap{
- position: relative;
- }
- .header-img{
- position: relative;
- }
- .header-img img{
- width: auto;
- height: 100px;
- padding: 12px 0;
- }
- .header-right{
- position: absolute;
- top: 50%;
- right: 0px;
- transform: translateY(-50%);
- padding: 0 15px 0 40px;
- background-size: 18px;
- border-radius: 30px;
- }
- .header-right{
- position: absolute;
- top: 50%;
- right: 0px;
- transform: translateY(-50%);
- text-align: center;
- line-height: 24px;
- color: #fff;
- }
- .header-img .header-right img {
- height: 76px;
- padding: 5px 0 0;
- }
- /* 搜索 */
- .header-search{
- position: absolute;
- right: 120px;
- top: 50%;
- transform: translateY(-50%);
- border: 1px solid #999;
- border-radius: 4px;
- overflow: hidden;
- }
- .header-search input{
- box-sizing: border-box;
- display: block;
- height: 28px;
- line-height: 28px;
- padding: 0 26px 0 10px;
- width: 150px;
- outline: none;
- border: 0;
- }
- .header-search button{
- position: absolute;
- right: 0;
- top: 0;
- height: 28px;
- width: 28px;
- background: url(../images/icon/search2.png) no-repeat center;
- background-size: 16px;
- border: none;
- outline: none;
- cursor: pointer;
- }
- /* 导航 */
- .header-nav{
- background: url(../images/jxjy/nav-bg.jpg);
- }
- .header-nav ul{
- height: 38px;
- line-height: 38px;
- background-color: transparent;
- }
- .nav-secondLevel{
- top: 38px;
- }
- .header-nav li:last-child{
- background: none;
- }
- .header-nav li:hover a {
- background-color: #007a4c;
- color: #fff;
- }
- .header-nav .nav-secondLevel li:hover a {
- background: #007a4c !important;
- color: #fff !important;
- }
- .header-nav .nav-secondLevel li a,
- .header-nav .nav-threeLevel li a{
- border-color: transparent;
- background: url(../images/jxjy/nav-bg.jpg);
- color: #000;
- }
- .header-nav .nav-threeLevel li a:hover{
- background-color: #155940 !important;
- }
- .header-nav li a{
- position: relative;
- height: 38px;
- line-height: 38px;
- color: #000;
- }
- .header-nav>ul>li>a{
- font-size: 15px;
- }
- .header-nav a i{
- width: 0;
- height: 0;
- border: 6px solid transparent;
- border-bottom-color: #fff;
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- opacity: 0;
- }
- .header-nav li:hover a i{
- opacity: 1;
- }
- /* 主体 */
- .content{
- margin-top: 20px;
- }
- .content-row {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- }
- .content-item{
- width: 47.5%;
- box-sizing: border-box;
- margin-bottom: 20px;
- }
- .content-item h2{
- background-size: contain;
- font-size: 14px;
- overflow: hidden;
- border-bottom: 1px solid #aaa;
- font-weight: normal;
- line-height: 26px;
- }
- .content-item h2 img{
- width: 24px;
- vertical-align: middle;
- }
- .content-item h2 span{
- display: inline-block;
- color: #5182bb;
- padding: 10px 14px;
- font-size: 18px;
- vertical-align: middle;
- }
- .content-item h2 a,
- .more{
- font-weight: normal;
- float: right;
- margin-top: 10px;
- }
- .more {
- color: #333;
- margin: 0;
- padding: 10px 0;
- }
- .content-item h2 a:hover{
- color: #007a4c;
- }
- .content-item h2 a:hover .triangle{
- border-left-color: #007a4c;
- }
- .content-wrap ul {
- border-bottom: 1px solid #aaa;
- }
- .content-wrap ul li{
- height: 42px;
- line-height: 42px;
- margin: 0 10px;
- border-bottom: 1px dashed #ccc;
- }
- .content-wrap ul li:last-child {
- border-bottom: 0;
- }
- .content-wrap ul li a {
- color: #333;
- }
- .content-wrap ul li a:hover {
- color: #007a4c;
- }
- .content-wrap li p{
- width: calc(100% - 80px);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- float: left;
- }
- .content-wrap .list-time {
- float: right;
- /* color: #999; */
- }
- .content-wrap a:hover .list-time {
- color: #007a4c;
- }
- /* banner轮播 */
- .banner{
-
- }
- .banner .swiper-pagination-bullet{
- width: 12px;
- height: 12px;
- }
- .banner .swiper-pagination-bullet-active {
- color:#fff;
- background: #007a4c;
- }
- .banner .swiper-container-horizontal>.swiper-pagination-bullets{
- text-align: right;
- left: -8px;
- }
- .banner .swiper-slide{
- position: relative;
- }
- .banner .swiper-slide img{
- display: block;
- width: 100%;
- }
- .banner .swiper-slide .swiper-title{
- position: absolute;
- left: 0;
- bottom: 0;
- height: 38px;
- line-height: 38px;
- background-color: rgba(0,0,0,.6);
- color: #fff;
- padding: 0 125px 0 10px;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- display: none;
- }
- .pic-wrap {
- width: 100%;
- margin: 0 auto;
- }
- .pic-wrap a,
- .pic-wrap img {
- display: block;
- width: 100%;
- }
- /* 图片列表 */
- .content-row-pic {
- margin-top: 20px;
- }
- .content-row-pic h2{
- border-bottom: 1px solid #aaa;
- line-height: 50px;
- font-size: 18px;
- font-weight: normal;
- color: #5182bb;
- text-align: center;
- }
- .content-row-pic h2 img {
- width: 26px;
- vertical-align: middle;
- margin-right: 14px;
- }
- .content-row-pic h2 span {
- vertical-align: middle;
- }
- .content-row-pic ul{
- display: -webkit-box;
- display: -webkit-flex;
- display: -moz-box;
- display: -ms-flexbox;
- display: flex;
- justify-content: space-between;
- }
- .content-row-pic ul{
- padding: 16px 0;
- }
- .content-row-pic li{
- margin: 0 3px;
- position: relative;
- }
- .content-row-pic li img{
- display: block;
- width: 100%;
- }
- .content-item-title{
- background-color: rgba(0, 0, 0, .5);
- text-align: center;
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- padding: 0 10px;
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- transition: all .15s;
- color: #fff;
- line-height: 32px;
- }
- /* 列表页 */
- .content-list-wrap{
- border: 1px solid #007a4c;
- }
- .crumbs{
- background-color: #007a4c;
- color: #fff;
- line-height: 40px;
- }
- .crumbs a{
- color: #fff;
- }
- .content-left h2{
- background-color: #007a4c;
- }
- /* 底部 */
- .footer{
- margin-top: 20px;
- background-color: #03492e;
- }
- .footer .wrap {
- position: relative;
- }
- .footer-mesg{
- background: url(../images/jxjy/footer-bg.jpg) no-repeat center top;
- padding: 30px 0;
- text-align: left;
- }
- .footer-link{
- line-height: 36px;
- border: 2px solid #0b64d0;
- margin-bottom: 20px;
- }
- .footer-link span{
- line-height: 38px;
- height: 38px;
- color: #fff;
- background-color: #0b64d0;
- font-size: 16px;
- font-weight: bold;
- padding: 0 18px;
- float: left;
- }
- .footer-link ul{
- margin-left: 100px;
- text-align: center;
- }
- .footer-link ul li{
- display: inline-block;
- margin-right: 20px;
- }
- .footer-link ul i{
- font-style: normal;
- padding-left: 20px;
- }
- /* 底部二维码 */
- .footer-QRcode {
- position: absolute;
- top: 50%;
- right: 90px;
- transform: translateY(-50%);
- }
- .footer-QRcode img {
- width: 50px;
- }
- .footer-QRcode-wrap {
- cursor: pointer;
- }
- .QRcode-img {
- position: absolute;
- bottom: 70px;
- left: 50%;
- transform: translateX(-50%);
- border: 1px solid #24bc3c;
- box-shadow: 0 0 12px #24bc3c;
- border-radius: 8px;
- padding: 10px;
- background-color: #fff;
- display: none;
- }
- .footer-QRcode-wrap:hover .QRcode-img {
- display: block;
- }
- .QRcode-img i {
- display: inline-block;
- width: 0;
- height: 0;
- border: 14px solid transparent;
- border-top-color: #fff;
- position: absolute;
- left: 50%;
- bottom: -28px;
- transform: translateX(-50%);
- }
- .QRcode-img img {
- width: 200px;
- }
- .mobile-nav-icon span{
- background-color: #fff;
- }
- .mobile-header-nav>ul{
- background-color: #007a4c;
- }
- .mobile-header-nav>ul>li {
- background-color: #007a4c;
- }
- .mobile-header-nav li a {
- border-color: #079660;
- }
- .mobile-header-nav .nav-secondLevel{
- background-color: #11ae73;
- }
- .mobile-header-nav .nav-threeLevel {
- background-color: #155940;
- }
- /* 响应式 */
- @media screen and (max-width: 1024px) {
- .footer-link ul li{
- margin-right: 15px;
- }
- .footer-link ul i{
- padding-left: 15px;
- }
- }
- @media screen and (max-width: 980px) {
- .header-img img {
- padding: 16px 0;
- }
- .header-nav{
- background-repeat: repeat;
- background-position: left top;
- }
- .header-nav ul{
- height: auto;
- }
- /* flex布局,item元素补全 */
- .header-nav ul::after{
- content: "";
- width: 50%;
- }
- .content-item{
- width: 100% !important;
- }
- .header-search {
- display: none;
- }
- .header-right {
- right: 80px;
- }
- }
- @media screen and (max-width: 768px) {
- .content-item{
- width: 100%;
- }
- .header-img img {
- height: auto;
- width: 80%;
- }
- .header-right {
- display: none;
- }
- }
- @media screen and (max-width: 640px) {
- .header{
- box-shadow: 0 1px 3px #ddd;
- }
- .header-top{
- display: none;
- }
- .header-img img {
- width: auto;
- height: 100%;
- }
- .content-wrap li p{
- width: calc(100% - 100px);
- }
- .banner{
- margin-top: 70px !important;
- }
- .footer-link ul{
- margin-left: 0;
- }
- .pic-wrap,
- .content-row-pic li {
- width: 100%;
- }
- .content-row-pic ul {
- flex-wrap: wrap;
- }
-
- }
|