.swiper { width: 100%; height: 100%; } .banner .swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; } .banner .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } .banner .swiper-pagination-bullet { width: 3.2rem; height: 0.2rem; border-radius: 0; background: #ffffff; } .swiper-pagination-bullet-active { background: #f63030 !important; } .banner .item { height: 21.1rem; width: 100%; position: relative; } .banner .item a { display: block; position: relative; height: 100%; width: 100%; overflow: hidden; } .banner .item .mark { position: absolute; left: 0; bottom: 0; z-index: 5; background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100% ); font-size: 2.2rem; color: #ffffff; line-height: 1.5; width: 100%; padding: 2rem; text-align: left; font-family: serifcn_blod; } .banner .item a img { width: 100%; } .hot { width: 100%; /* height: 5.4rem; */ background: #ffffff; box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1); padding: 0.3rem; } .hot .box { border: 1px solid #f3f4f6; display: flex; justify-content: space-between; padding: 1.4rem 0.9rem; } .hot .box .icon { background: url(/uploads/image/siday/new.png) no-repeat center; background-size: 7.2rem 2rem; width: 7.2rem; height: 2rem; } .hot .box .txtbox { width: calc(100% - 8rem); font-size: 1.4rem; } .addmore { height: 4.4rem; line-height: 4.4rem; text-align: center; width: 12rem; color: #606266; margin: 0 auto; margin-top: 5rem; border: 1px solid #e7e7e7; font-size: 1.6rem; cursor: pointer; } .addmore:hover { background: #f63030; color: #ffffff; } /* 今日要闻样式 */ .txtscroll-top { overflow: hidden; position: relative; width: 100%; } .txtscroll-top .hd { overflow: hidden; height: 0; background: #f4f4f4; padding: 0 10px; display: none; } .txtscroll-top .hd ul { float: right; overflow: hidden; zoom: 1; margin-top: 1rem; } .txtscroll-top .hd ul li { float: left; width: 9px; height: 9px; overflow: hidden; margin-right: 5px; text-indent: -999px; cursor: pointer; background: 0 -9px no-repeat; } .txtscroll-top .hd ul li.on { background-position: 0 0; } .txtscroll-top .bd { padding: 0; } .txtscroll-top .infolist li { height: 2rem; line-height: 2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .txtscroll-top .infolist li .date { float: right; color: #999; }