.p3_bg { width: 100%; background: none; background-size: 100% 100%; } .site-logo { padding-top: 10px; } .banner { margin: 0 auto; padding-top: 60px; text-align: center; } .banner>img { width: auto; } .header{ background: center center no-repeat; height: 590px; background-size: 100% 100%; } .headline{ padding: 20px 0; } .content{ background-image: none; background-color: #ffffff; background: url(/uploads/image/tgi2images/p3_bg.png) center bottom no-repeat; background-size: 100% 100%; /* background: url(/uploads/image/tgi2images/bottom_bg.png) no-repeat center bottom, url(/uploads/image/tgi2images/p3_bg.png) no-repeat center 0px; */ } .p1_bg{ width:100%; background: center top no-repeat; background-size: 100% 100%; } .grid h2{ padding-bottom: 0; } .grid .headline h2 { padding: 20px 0; } .focus .pic span{ padding: 10px 40px; background: #201f1f8f; text-align: center; color: #ffffff; } .p1{ margin-bottom: 45px; } .p2{ margin-bottom: 30px; } .gd { position: absolute; right: 0px; top: 3px; color: #ba1729; } .p1 .gd { right: 27px; } .gd a { color: #ca0717; } .p2 .list-t li { padding: 2px 0 2px 20px; border-bottom: 1px dashed #d8b36e; } .p2 .tujie { text-align: center; margin-top: 10px; } .grid h3{ padding-left: 0; height: 51px; } .grid h3 a{ width: 187px; height: 51px; background-color: transparent; color: #cbae84; } .grid h3:before{ display: none; } .focus .pic img { width: 100%; height: 100%; object-fit: fill; } .p1 .news .list-t li{ position: relative; padding-left: 20px; line-height: 29px; } .p1 .news .list-t li a{ width: 100%; } .list-t li:before,.list-t li:hover:before { top: 60%; background-color: #faa235; } .p1 .news .list-t li:before{ display: block; content: ''; width: 5px; height: 5px; background-color: #faa235; color: #faa235; position: absolute; left: 0; top: 50%; border-radius: 50%; } .p2 .list-t li:nth-child(1),.p2 .list-t li:nth-child(2){ display:none } .p1 .list-t .p2 .list-t,.p3 .list-t{ margin-top:0; margin-bottom: 15px; } .p2 h3,.p3 h3,.p4 h3,.p5 h3,.p6 h3{ height: 60px; width: 100%; display: block; background-size: 100% 100%; margin-bottom: 10px; } .p2 h3>a,.p3 h3>a,.p4 h3>a{ display: block; height: 100%; width: 100%; /* margin-left: auto; */ margin-right: auto; } .p2 .list-t li>div{ position: relative; padding: 17px 24px; margin-bottom: 20px; } .p2 .list-t li:before{ display: none; } .p2 .nr{ position: relative; } .p2 .list-t .date{ font-size: 16px; line-height: 32px; color: #999999; top: 50%; right: 0; } .p2 .list-t li a{ color: #333333; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; width: 100%; } .p3 .list-t li a ,.p4 .list-t li a{ width: 85%; } .p3 .list-t li,.p4 .list-t li{ padding-left: 20px; height: 48px; } .list-t li .date { top: 7px; } /* .p4 .list-t li .date{ right: 18px; } */ .list-t li:hover a{ color: #ca0717; } .p2 .list-t li:hover{ transform: scale3d(1.05,1.05,1); transition: all 0.3s; } .p4 { padding-bottom: 40px; margin-bottom: 0px; } .p4 .col-md-4 img,.p6 .col-md-4 img{ width: 100%; height: 230px; } .p4 .col-md-4 span,.p6 .col-md-4 span { position: absolute; bottom: 0; left: 0; right: 0; display: block; padding: 10px 80px 10px 10px; line-height: 26px; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 10px 40px; background: #201f1f8f; text-align: center; color: #ffffff; margin: 0 15px; } .p6 .col-md-4 ,.p4 .col-md-4 { margin-bottom: 10px; } .p4 .col-md-4 span { background-color: #d20715; } /* p5板块开始 */ .p5 .col-md-3 img{ width: 100%; height: 170px; } .p5 .col-md-3 span { position: absolute; bottom: 0; left: 0; right: 0; display: block; padding: 10px 80px 10px 10px; line-height: 26px; font-size: 18px; /* white-space: nowrap; */ overflow: hidden; text-overflow: ellipsis; padding: 5px 0px; background: #201f1f8f; text-align: center; color: #ffffff; margin: 0 15px; font-size: 16px; } .p5 .col-md-3 { margin-bottom: 10px; padding-right: 10px; padding-left: 10px; } .p2 .list-t li a{ width: 100%; } .focus, .focus .pic{ height: 370px; } /* swiper切换 */ #certify .swiper-slide { height: auto; } #certify .swiper-slide p { line-height: 50px; padding-top: 0; text-align: center; color: #636363; font-size: 1.1em; margin: 0; } #certify .swiper-slide img { display: block; width: 100%; } #certify .swiper-button-next { background: url(/uploads/image/tgi2images/p4-r.png) no-repeat; background-size: 100% 100%; top: 40%; right: -45px; } #certify .swiper-button-prev { background: url(/uploads/image/tgi2images/p4-l.png) no-repeat; background-size: 100% 100%; top: 40%; left: -45px; } #certify .swiper-button-next:hover,#certify .swiper-button-prev:hover { background-position: unset; } @media screen and (max-width: 992px) { .header{ height: 410px; } .banner{ padding-top: 25px; } .p2 .list-t li a{ width: 80%; } } @media screen and (max-width: 768px) { .header{ height: 360px; } .banner{ padding-left: 0; padding-right: 0; padding-top: 25px; } .headline { padding-top: 30px; padding-bottom: 30px; } .p2 .list-t li a{ width: 100%; } .banner>img { width: 100%; } .focus, .focus .pic { height: 200px; } #certify { width: 1200px; } } @media screen and (max-width: 480px) { .p1,.p3 { margin-bottom: 25px; } .grid h3 a { width: 100%; } .col-md-6 h3 img { width: 100%; } .p4 h3 img { width: 165%; } .p4 h3 a,.p5 h3 a,.p6 h3 a { justify-content: center; overflow: hidden; display: flex; width: auto; text-align: center; align-items: center; } .header{ height: 235px; } .banner .site-logo img{ width:10%; } .headline { padding-top: 20px; padding-bottom: 20px; } .p2 .list-t li a { white-space: normal; } }