.banner { width: 100%; height: 740px; position: relative; } .banner .swiper1 { width: 100%; height: 100%; position: relative; } .banner .swiper1 .swiper-slide { width: 100%; } .banner .swiper1 .swiper-slide .img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; overflow: hidden; } .banner .swiper1 .swiper-slide .img img { position: absolute; top: 0; left: -500px; right: -500px; margin: auto; } .banner .swiper1 .swiper-slide .text { position: absolute; top: 40.27%; left: 0; width: 100%; text-align: center; } .banner .swiper1 .swiper-slide .text .title { font-size: 42px; font-weight: bold; line-height: 42px; letter-spacing: 3px; color: #ffffff; } .banner .swiper1 .swiper-slide .text .s-title { font-family: times; font-size: 24px; line-height: 32px; color: #ffffff; opacity: 0.4; margin-top: 17px; } .banner .swiper1 .swiper-pagination-bullets { bottom: 30px; left: 0; width: 100%; } .banner .swiper1 .swiper-pagination-bullets .swiper-pagination-bullet { width: 15px; height: 15px; display: inline-block; border-radius: 100%; background: white; opacity: 0.5; margin: 0 5px; } .banner .swiper1 .swiper-pagination-bullets .swiper-pagination-bullet-active { background: #c6150f; opacity: 1; } .float-news { width: 100%; } .float-news .box { width: 73.2%; margin: 0 auto; min-width: 1200px; padding-top: 27px; padding-bottom: 30px; } .float-news .box::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .float-news .box .img { float: left; width: 38px; height: 38px; border-radius: 50%; background-color: #e60012; text-align: center; } .float-news .box .img img { width: 20px; margin-top: 9px; } .float-news .box .title { float: left; margin-left: 30px; line-height: 38px; font-size: 16px; color: #e60012; } .float-news .box ul { width: calc(100% - 148px); margin-top: 11px; float: left; } .float-news .box ul::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .float-news .box ul li { float: left; width: calc(50% - 39px); } .float-news .box ul li:first-child { padding-right: 38px; border-right: solid 1px #c1c1c1; margin-right: 38px; } .float-news .box ul li a .h2 { width: calc(100% - 108px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; line-height: 16px; color: #000000; float: left; } .float-news .box ul li a .time { margin-left: 20px; float: left; font-size: 16px; line-height: 16px; color: #999999; } .float-news .box ul li:hover a .h2 { color: #e60012; } .float-news .box ul li:hover a .time { color: #e60012; } .serve { width: 100%; height: 200px; min-width: 1280px; position: relative; } .serve .img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: -1; } .serve .img img { height: 100%; position: absolute; top: 0; left: -1000px; right: -1000px; margin: auto; } .serve .left { float: left; margin-left: 13.4%; margin-top: 50px; width: 50%; } .serve .left .title { font-size: 28px; line-height: 28px; color: #333333; font-weight: bold; } .serve .left .p { font-size: 16px; line-height: 30px; color: #666666; margin-top: 20px; } .serve .right { float: right; margin-right: 13.4%; margin-top: 92px; } .serve .right a { font-size: 16px; line-height: 16px; color: #3d3d3d; } .serve .right a img { width: 8px; vertical-align: middle; margin-left: 10px; } .introduce { width: 100%; height: 390px; background-color: #f7f7f7; } .introduce::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .introduce .left { width: 50%; height: 100%; float: left; } .introduce .left .box { width: 73.3%; margin-left: 26.8%; height: 100%; } .introduce .left .box ul { width: 100%; height: 100%; } .introduce .left .box ul li { width: 25%; height: 100%; float: left; } .introduce .left .box ul li a { width: 100%; height: calc(100% - 120px); display: block; padding-top: 120px; } .introduce .left .box ul li a .img { display: block; width: 52px; height: 48px; margin: 0 auto; position: relative; } .introduce .left .box ul li a .img img { position: absolute; top: 0; left: 0; width: 100%; } .introduce .left .box ul li a .img img.cai { opacity: 1; } .introduce .left .box ul li a .img img.white { opacity: 0; } .introduce .left .box ul li a .title { display: block; font-size: 18px; font-weight: bold; line-height: 18px; color: #333333; margin-top: 27px; text-align: center; } .introduce .left .box ul li a .p { display: block; font-size: 14px; line-height: 14px; color: #666666; margin-top: 19px; text-align: center; } .introduce .left .box ul li a .p2 { display: block; font-size: 14px; line-height: 14px; color: #666666; margin-top: 9px; text-align: center; } .introduce .left .box ul li a .icon { display: block; width: 80%; margin: 0 auto; margin-top: 20px; } .introduce .left .box ul li a .icon img { width: 100%; } .introduce .left .box ul li a:hover { background-image: url(/uploads/image/wsspic/index_01.jpg); background-size: 100% 100%; background-repeat: no-repeat; } .introduce .left .box ul li a:hover .img img.cai { opacity: 0; } .introduce .left .box ul li a:hover .img img.white { opacity: 1; } .introduce .left .box ul li a:hover .title { color: white; } .introduce .left .box ul li a:hover .p { color: white; } .introduce .left .box ul li a:hover .p2 { color: white; } .introduce .left .box ul li.active a { background-image: url(/uploads/image/wsspic/index_01.jpg); background-size: 100% 100%; background-repeat: no-repeat; } .introduce .left .box ul li.active a .img img.cai { opacity: 0; } .introduce .left .box ul li.active a .img img.white { opacity: 1; } .introduce .left .box ul li.active a .title { color: white; } .introduce .left .box ul li.active a .p { color: white; } .introduce .left .box ul li.active a .p2 { color: white; } .introduce .left .box ul.other li { width: 33.333%; height: 100%; float: left; } .introduce .left .box ul.other li a { width: 100%; height: calc(100% - 120px); display: block; padding-top: 120px; } .introduce .left .box ul.other li a .img { display: block; width: 52px; height: 48px; margin: 0 auto; position: relative; } .introduce .left .box ul.other li a .img img { position: absolute; top: 0; left: 0; width: 100%; } .introduce .left .box ul.other li a .img img.cai { opacity: 1; } .introduce .left .box ul.other li a .img img.white { opacity: 0; } .introduce .left .box ul.other li a .title { display: block; font-size: 18px; font-weight: bold; line-height: 18px; color: #333333; margin-top: 27px; text-align: center; } .introduce .left .box ul.other li a .p { display: block; font-size: 14px; line-height: 14px; color: #666666; margin-top: 19px; text-align: center; } .introduce .left .box ul.other li a .p2 { display: block; font-size: 14px; line-height: 14px; color: #666666; margin-top: 9px; text-align: center; } .introduce .left .box ul.other li a:hover { background-image: url(/uploads/image/wsspic/index_04.jpg); background-size: 100% 100%; background-repeat: no-repeat; } .introduce .left .box ul.other li a:hover .img img.cai { opacity: 0; } .introduce .left .box ul.other li a:hover .img img.white { opacity: 1; } .introduce .left .box ul.other li a:hover .title { color: white; } .introduce .left .box ul.other li a:hover .p { color: white; } .introduce .left .box ul.other li a:hover .p2 { color: white; } .introduce .left .box ul.other li.active a { background-image: url(/uploads/image/wsspic/index_04.jpg); background-size: 100% 100%; background-repeat: no-repeat; } .introduce .left .box ul.other li.active a .img img.cai { opacity: 0; } .introduce .left .box ul.other li.active a .img img.white { opacity: 1; } .introduce .left .box ul.other li.active a .title { color: white; } .introduce .left .box ul.other li.active a .p { color: white; } .introduce .left .box ul.other li.active a .p2 { color: white; } .introduce .right { width: 50%; height: 390px; float: left; position: relative; background-color: #e60012; } .introduce .right .img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; overflow: hidden; } .introduce .right .img img { height: 100%; position: absolute; top: 0; left: -200px; right: -200px; margin: auto; } .introduce .right .box { position: relative; margin-top: 76px; margin-left: 60px; margin-right: 26.8%; } .introduce .right .box .top::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .introduce .right .box .top .h2 { font-family: din-bold; font-size: 27px; line-height: 27px; letter-spacing: -1px; color: #ffffff; opacity: 0.2; float: left; } .introduce .right .box .top .button { float: right; } .introduce .right .box .top .button a { display: block; font-size: 16px; line-height: 16px; color: #ffffff; } .introduce .right .box .top .button a img { transform: rotate(-90deg); width: 14px; margin-bottom: 3px; } .introduce .right .box .title { margin-top: 35px; font-size: 22px; font-weight: bold; line-height: 22px; color: #ffffff; } .introduce .right .box .p { font-size: 16px; line-height: 30px; color: #ffffff; margin-top: 22px; display: -webkit-box; text-overflow: ellipsis; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; text-align: justify; } .news { width: 100%; height: 482px; } .news::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .news .left { width: 50%; height: 100%; float: left; position: relative; } .news .left .img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; overflow: hidden; } .news .left .img img { height: 100%; position: absolute; top: 0; left: 0; } .news .left .box { position: relative; margin-left: 26.8%; width: calc(73.2% - 90px); margin-top: 68px; } .news .left .box .top::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .news .left .box .top .h2 { font-size: 22px; font-weight: bold; line-height: 22px; letter-spacing: -1px; color: #e60012; float: left; } .news .left .box .top .button { float: right; } .news .left .box .top .button a { display: block; font-size: 16px; line-height: 16px; color: #333333; } .news .left .box .top .button a img { width: 8px; margin-left: 10px; } .news .left .box .new { width: 100%; margin-top: 25px; } .news .left .box .new .swiper2 { width: 100%; height: 240px; padding-bottom: 54px; } .news .left .box .new .swiper2 .swiper-slide ul li { line-height: 60px; } .news .left .box .new .swiper2 .swiper-slide ul li::after { content: ""; width: 0; height: 0; display: block; float: none; clear: both; } .news .left .box .new .swiper2 .swiper-slide ul li .title { width: calc(100% - 86px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: left; font-size: 16px; color: #333333; } .news .left .box .new .swiper2 .swiper-slide ul li .time { font-size: 16px; line-height: 60px; color: #999999; float: right; } .news .left .box .new .swiper2 .swiper-pagination { bottom: 0; left: 0; width: auto; } .news .left .box .new .swiper2 .swiper-pagination .swiper-pagination-bullet { width: 10px; height: 10px; display: inline-block; border-radius: 100%; background: #fff; opacity: 1; } .news .left .box .new .swiper2 .swiper-pagination .swiper-pagination-bullet-active { background: #c6150f; } .news .right { width: 50%; float: left; } .news .right .container { width: 100%; height: 482px; }