@charset "utf-8"; /*第一栏*/ .section1_con{ margin: 30px 0; display: flex; justify-content: space-between; } /*轮播*/ .section1_swiper{ width: 480px; } .s1_con img{ width: 480px; height: 270px; } .s1_con p{ bottom: 0; width: 100%; padding: 0 20px 40px; font-size: 20px; font-weight: bold; color: #fff; background:linear-gradient(to top,#000 5%,transparent); } .s1 .swiper-pagination{ bottom: 20px; text-align: left; padding-left: 20px; } .s1 .swiper-pagination-bullet{ width: 18px; height: 3px; border-radius: 5px; background-color: #fff; opacity: 0.3; } .s1>.swiper-pagination-bullets .swiper-pagination-bullet{ margin:0 2px; } .s1 .swiper-pagination-bullet-active { opacity: 1; background: #fff; width: 20px; height: 4px; } .section1_news{ margin: 0 20px; width: 360px; padding-top: 10px; } .section1_news a{ display: block; color: #666; margin-bottom: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .section1_news a:nth-child(-n 2){ font-size: 18px; color: var(--active-color); font-weight: 600; } .section1_news a,.zt_list p{ font-size: 16px; } /*第二栏*/ .swiper2_con{ width: 590px; } .swiper_zt .swiper-slide,.swiper_ft .swiper-slide{ width: 260px; } .zt_list img{ width: 100%; height: 146px; } .zt_list p{ width: 100%; padding:10px 10px 0 0; } .zt_list p{ color: #333; line-height: 1.3; } /*类别标题*/ .section_title{ padding-top: 10px; margin-bottom: 15px; border-top: 1px solid #99a4b7; } .section_title span{ position: relative; font-size: 22px; color: #333; font-weight: bold; } .section_title span a{ font-size: 22px; color: #333; } .section_title span:before{ position: absolute; content: ""; left: 0; top:-13px; width: 100%; height: 2px; background:linear-gradient(to right,#188af1,#1565f1) } .section_title span img{ margin-top: -2px; margin-right: 10px; } .keyword_list{ margin-bottom: 40px; } /*热文推荐*/ .dt{ display: inline-block; } .dt a{ color: #01216e; } /*右侧广告轮播*/ .ad_swiper{ width: 235px; height: 180px; margin: auto; } .ad_img{ margin-bottom: 10px; width: 235px; height: 80px; } .ad_img img{ width: 100%; height: 100%; }