.home-promo { width: 100%; min-width: 1170px; background-color: #EFEFEF; } .home-promo .swiper-container { width: 100%; height: 100%; } .home-promo .swiper-pagination-bullet { width: 39px; height: 8px; background: #FFFFFF; opacity: 1; border-radius: 0; } .home-promo .swiper-pagination-bullet-active { background: #EB6100; /* #eb6100 none repeat scroll 0 0 */ width: 39px; border: 2px solid #FFFFFF; box-sizing: border-box; opacity: 1; } .home-promo .swiper-slide { overflow: hidden; background: #FFFFFF; text-align: center; font-size: 18px; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .home-promo .swiper-slide a{ display: inline-block; width: 100%; overflow: hidden; font-size: 0; line-height: 0; } .promo-img { width: 100%; /* -ms-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: absolute; left: 50%; top: 50%; */ } .home-title-box { position: relative; width: 100%; padding-top: 120px; padding-bottom: 40px; text-align: center; } .home-title-box::after { position: absolute; content: ""; display: block; left: 50%; bottom: 20px; width: 600px; height: 1px; margin-left: -300px; background: #e5ebf3; } .home-title-box::before { position: absolute; content: ""; display: block; left: 50%; bottom: 18px; z-index: 10; width: 100px; height: 3px; margin-left: -50px; background: #FFAD31; } .home-title { position: relative; background-color: #e05e03; background-image: linear-gradient(to right, #FFAD31 0%, #e05e03 100%); -webkit-background-clip: text; color: transparent; font-size: 48px; font-weight: 700; font-stretch: normal; line-height: 42px; letter-spacing: 0; } .home-des-box { position: relative; width: 100%; padding-bottom: 40px; text-align: center; } .home-des { position: relative; color: #999; font-size: 18px; font-stretch: normal; line-height: 42px; letter-spacing: 0; } .home-introduce { color: #666; line-height: 1.875; font-size: 16px; padding: 0 30px; box-sizing: border-box; padding-bottom: 24px; } .home-nav-product { text-align: center; margin-top: 40px; margin-bottom: 40px; } .home-nav-product li { position: relative; cursor: pointer; display: inline-block; padding: 10px 30px 20px; } .home-nav-product li:hover { background-color: #fff8f4; } .home-nav-product img { width: 100px; height: 100px; } .home-nav-product p { font-size: 18px; color: #323232; padding-top: 12px; line-height: 27px; } .home-nav-product .active::after { display: block; position: absolute; left: 50%; bottom: 3px; content: ""; width: 40px; height: 6px; margin-left: -20px; border-radius: 3px; background-color: #ef8100; } .home-nav-product .active p { color: #ef8100; font-weight: 700; } .gallery-top { width: 100%; height: 600px; overflow: hidden; margin-bottom: 40px; } .gallery-top .swiper-slide { position: relative; width: 100%; height: 600px; background-color: #FFFFFF; } .gallery-top a,.gallery-top p{ position: relative; } .gallery-top a::after { content: ""; width: 100%; height: 100%; position: absolute; left: 0; top: 0; background-color: rgba(0, 0, 0, 0.35); opacity: 0; -webkit-transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; -o-transition: all .4s ease-in-out; -ms-transition: all .4s ease-in-out; transition: all .4s ease-in-out; } .gallery-top a:hover::after { opacity: 1 } .gallery-top a::before { opacity: 0; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; transition: all .2s ease-in-out; display: block; content: "了解更多"; width: 148px; left: 50%; top: 50%; margin-left: -74px; margin-top: -18px; position: absolute; z-index: 99; color: #fff; text-align: center; height: 36px; line-height: 36px; border-radius: 36px; border: 1px solid #fff; background-color: transparent; } .gallery-top a:hover::before { opacity: 1; transform: translateY(0); } .gallery-top .swiper-slide a:nth-child(1), .gallery-top .swiper-slide p:nth-child(1){ width: 283px; height: 575px; position: absolute; left: 0; top: 0; overflow: hidden; } .gallery-top img { width: 100%; transition: all 2s ease; } .gallery-top .swiper-slide a:nth-child(2), .gallery-top .swiper-slide p:nth-child(2) { width: 283px; height: 283px; position: absolute; left: 298px; top: 0; overflow: hidden; } .gallery-top .swiper-slide a:nth-child(3), .gallery-top .swiper-slide p:nth-child(3) { width: 283px; height: 283px; position: absolute; left: 592px; top: 0; overflow: hidden; } .gallery-top .swiper-slide a:nth-child(4), .gallery-top .swiper-slide p:nth-child(4) { width: 576px; height: 283px; position: absolute; left: 298px; bottom: 25px; overflow: hidden; } .gallery-top .swiper-slide a:nth-child(5), .gallery-top .swiper-slide p:nth-child(5) { width: 283px; height: 575px; position: absolute; right: 0; top: 0; overflow: hidden; } .gallery-top .swiper-slide a:hover img,.gallery-top .swiper-slide p:hover img { transform: scale(1.1, 1.1); -webkit-transform: scale(1.1, 1.1); -moz-transform: scale(1.1, 1.1); -o-transform: scale(1.1, 1.1); -ms-transform: scale(1.1, 1.1); } .home-bg { width: 100%; height: 666px; background-repeat: no-repeat; background-size: 100% 666px; background-image: url("/static/pc/img/bg01.jpg"); } .home-1bg { width: 100%; height: 680px; } .home-news { width: 100%; margin-bottom: 60px; padding: 0 0 20px; box-sizing: border-box; } .home-news .swiper-slide { background-color: #FFFFFF; text-align: center; font-size: 18px; background: #fff; overflow: hidden; box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%); padding-bottom: 20px; } .news-image { width: 100%; height: 210px; overflow: hidden; background-color: #efefef; } .home-news img { width: 100%; } .box-left { position: relative; } .box-left::after { position: absolute; content: ""; display: block; right: 0; top: 50%; width: 1px; height: 70px; margin-top: -35px; background-color: #0f2341; opacity: .15; } .home-card { width: 20%; display: inline-block; float: left; text-align: center; } .home-card p, .home-card p:first-child span { font-size: 16px; line-height: 16px; font-weight: 400; font-stretch: normal; letter-spacing: 0; color: #999; } .home-card p:first-child { font-size: 64px; line-height: 64px; font-weight: 700; font-stretch: normal; letter-spacing: 0; color: #FFAD31; padding-bottom: 10px; vertical-align: middle; font-family: Arial; padding-right: 5px; } .news-title { padding: 12px 15px 6px; text-align: left; height: 78px; box-sizing: border-box; color: #323232; font-size: 18px; line-height: 30px; font-weight: 700; } .news-des { padding: 0 15px; font-size: 16px; line-height: 22px; height: 56px; box-sizing: border-box; color: #999; text-align: left; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding-bottom: 12px; } .new-low{ display: block; width: 100%; position: relative; } .news-time{ position: absolute; left: 20px; top: 0; line-height: 40px; color: #999; text-align: left; font-size: 14px; } .news-btn { padding: 0 30px; line-height: 40px; text-align: right; font-size: 14px; color: #ef8100; } .home-news-prev { display: inline-block; position: absolute; display: block; left: -60px; top: 50%; margin-top: -32px; z-index: 9; width: 50px; height: 50px; cursor: pointer; } .home-news-prev::after { font-family: "iconfont" !important; font-size: 50px; position: absolute; left: 0; top: -20px; color: #FFAD31; content: "\e677"; } .home-news-next { position: absolute; display: inline-block; transform: rotate(180deg); right: -60px; cursor: pointer; top: 50%; margin-top: -32px; z-index: 9; width: 50px; height: 50px; } .home-news-next::after { font-family: "iconfont" !important; font-size: 50px; position: absolute; left: 0; top: -20px; color: #FFAD31; content: "\e677"; } @media (min-width: 767px) and (max-width: 1023px) { .home-news-next { right: 0; } .home-news-prev { left: 0; } .home-promo, .promo-img { height: 400px; } } @media (max-width: 1169px) { .home-news-next { right: 0; } .home-news-prev { left: 0; } } @media only screen and (min-width: 480px) and (max-width: 767px) { .home-promo, .promo-img { height: 400px; } } @media (min-width: 320px) and (max-width: 480px) { .home-promo, .promo-img { height: 400px; } } @media (max-width: 767px) { .home-promo, .promo-img { height: 380px; } }