//pc端样式 .main { width: 100%; max-width: 1920px; margin: 0 auto; } .banner{ width: 100%; height: 100vh; .bannerSwiper{ width: 100%; height: 100%; img{ width: 100%; height: 100%; object-fit: cover; } video{ width: 100%; height: 100%; object-fit: cover; } .bannerS1{ img{ display: none; } } .title{ text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.28); } .btn-prev,.btn-next{ position: absolute; top: 50%; margin-top: -40px; width: 80px; height: 80px; z-index: 2; text-align: center; color: #ecf6fb; background: transparent; transition: all .3s ease-in-out; cursor: pointer; border-radius: 40px; line-height: 80px; box-sizing: border-box; border: 1px solid #fff; span{ font-size: 44px; display: inline-block; line-height: 80px; transform: rotate(90deg); } &:hover{ color: #b81c25; background: #fff; } } .btn-prev{ left: 100px; span{ transform: rotate(-90deg); } } .btn-next{ right: 100px; } .swiper-button-disabled{ cursor: no-drop; background: transparent; color: #ecf6fb; opacity: 0.6; &:hover{ color: #ecf6fb; background: transparent; } } .swiper-pagination{ bottom: 60px; .swiper-pagination-bullet{ background: #ffffff; opacity:1; position: relative; width: 12px; height: 12px; margin:0 17px; &::before{ content: ''; position: absolute; left: -5px; top: -5px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #b81c25; opacity: 0; transition: all .3s ease-in-out; } } .swiper-pagination-bullet-active{ background: #b81c25; &::before{ opacity: 1; } } } } .slideCon{ width: 100%; max-width: 1300px; height: 100%; box-sizing: border-box; margin: 0 auto; padding-top: 230px; position: absolute; top: 0px; left: 50%; transform: translateX(-50%); color: #fff; text-align: left; .title{ br{ display: none; } } .btn{ position: absolute; bottom: 10%; left: 50%; margin-left: -100px; } } } .news{ width: 100%; text-align: center; padding: 140px 0px; .newsCon{ width: 100%; height: 512px; overflow: hidden; max-width: 1300px; margin: 60px auto 80px; position: relative; display: flex; &>div{ width: 50%; height: 100%; overflow: hidden; .swiper-pagination{ bottom: 20px; .swiper-pagination-bullet{ background: #ffffff; opacity:1; position: relative; width: 6px; height: 6px; margin:0 9px; &::before{ content: ''; position: absolute; left: -3px; top: -3px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #b81c25; opacity: 0; transition: all .3s ease-in-out; } } .swiper-pagination-bullet-active{ background: #b81c25; &::before{ opacity: 1; } } } .swiper{ width: 100%; border-radius: 10px; z-index: -1; position: absolute; height: 100%; top: 0; left: 0; img{ width: 100%; display: block; } .slideZ{ position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: url(./images/newsz.png) no-repeat bottom; } .slideCon{ position: absolute; bottom: 0px; left: 0px; width: 100%; box-sizing: border-box; padding: 50px 30px; color: #fff; text-align: left; .time{ font-size: 16px; } } } .newsShowSwiper{ z-index: 1; } .newsTitList{ width: 100%; display: flex; font-size: 20px; line-height: 30px; color: #A7A5A5; box-sizing: border-box; padding-left: 40px; justify-content: flex-start; .newsCk{ font-size: 20px; color: #231F20; cursor: pointer; transition: all .3s ease-in-out; &:hover{ color: #B81C25; } } .newsShow{ color: #B81C25; font-weight: bold; } div{ &:nth-child(2n){ margin: 0px 40px; } } } .newsConList{ width: 100%; height: calc(100% - 30px); box-sizing: border-box; padding-left: 40px; padding-top: 18px; overflow: hidden; &>div{ width: 100%; height: 100%; display: none; .newsLi{ width: 100%; display: flex; justify-content: space-between; border-bottom: 2px solid #acacac5e; padding: 24px 20px 24px 10px; box-sizing: border-box; position: relative; &::before{ content: ''; position: absolute; bottom: -2px; left: 0px; width: 0%; height: 2px; background: #B81C25; transition: all .5s ease; } // &:last-child{ // border-bottom: 0px solid #ACACAC; // } .timer{ width: 65px; height: 66px; border-radius: 8px; border: 1px solid #A7A5A5; text-align: center; font-size: 12px; padding: 0px 12px 0; box-sizing: border-box; .timerData{ font-size: 26px; color: #b81c25; border-bottom: 1px solid #b81c25; padding-bottom: 3px; margin-bottom: 3px; line-height: 30px; padding-top: 4px; } } .newsLiCon{ width: calc(100% - 80px); font-size: 18px; text-align: left; &>div{ overflow: hidden; white-space: nowrap; width: 100%; height: 24px; text-overflow: ellipsis; } .liTitle{ color: #231F20; font-weight: 500; margin-bottom: 8px; padding-top: 6px; } .licon{ font-weight: 400; color: #999999; font-size: 16px; } } &:hover{ background: rgba(184,28,37,.05); &::before{ width: 100%; } .newsLiCon{ .liTitle,.licon{ color: #b81c25; } } } } .liHight{ background: rgba(184,28,37,.05); &::before{ width: 100%; } .newsLiCon{ .liTitle,.licon{ color: #b81c25; } } } } .newsDivShow{ display: block; } } } .newsSp{ position: relative; } } .btn3{ margin: 0px auto; } } .product{ width: 100%; text-align: center; padding: 125px 0px 110px; &>.text{ width: 100%; max-width: 1300px; margin: 50px auto 0; text-align: left; } .productCon{ margin: 60px auto 0px; width: 100%; .productTits{ width: 100%; display: none; &>div{ width: 100%; display: flex; justify-content: space-between; &>div{ width: 144px; height: 146px; border-radius: 8px; color: #231F20; padding-top: 20px; box-sizing: border-box; cursor: pointer; transition: all .3s ease-in-out; div{ margin-bottom: 30px; } } .productCk{ color: #B81C25; font-weight: bold; } } } .productConBox{ width: 100%; height: 420px; margin-top: 40px; overflow: hidden; &>div{ width: 100%; height: 100%; } .swiper-slide{ width: 312px; transition:width .45s cubic-bezier(.455,.03,.515,.955); overflow: hidden; transform-origin: left; img { display: block; width: auto; height: 100%; object-fit: cover; position: relative; left: 50%; transform: translateX(-50%); } .slideZ{ position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: url(./images/productz.png) no-repeat bottom; background-size: 100%; display: none; } .slideCon{ position: absolute; width: 100%; bottom: 0px; left: 0; text-align: center; color: #fff; box-sizing: border-box; opacity: 0; background-color: #b81c25; height: 50px; line-height: 50px; transition: all .3s ease-in-out; .text{ width: 100%; line-height: 50px; } } &:hover{ width: 560px; .slideCon{ opacity: 1; } } } .swiper-slide-active{ width: 560px; .slideCon{ opacity: 1; } } } .swiper-page{ width: 100%; max-width: 1300px; margin: 0px auto; margin-top: 80px; position: relative; height: 60px; display: flex; flex-direction: row; justify-content: flex-end; .btn-prev,.btn-next{ width: 60px; height: 60px; text-align: center; color: #000; cursor: pointer; border-radius: 60px; line-height: 60px; box-sizing: border-box; border: 1px solid #000; transition: all .3s ease-in-out; span{ font-size: 34px; display: inline-block; transform: rotate(90deg); } &:hover{ color: #fff; background: #b81c25; border: 1px solid #b81c25; } } .btn-prev{ margin-right: 30px; span{ transform: rotate(-90deg); } } .btn-next{ } .swiper-button-disabled{ cursor: not-allowed; opacity: 0.6; &:hover{ color: #000; background: #fff; border: 1px solid #000; } } } } } .about{ width: 100%; text-align: center; background-color: #f8f8f8; position: relative; .aboutImg{ width: 100%; max-width: 1920px; position: relative; margin: 0px auto; background: url(./images/aboutbg0.png) no-repeat; background-size: contain; img{ width: 100%; display: block; } .imgZi{ position: absolute; top: 0px; left: 0px; } } .aboutCon{ width: 100%; height: 100%; max-width: 1300px; position: absolute; top: 0px; left: 50%; transform: translateX(-50%); padding-top: 125px; text-align: left; box-sizing: border-box; display: flex; flex-wrap: wrap; .title{ // margin-bottom: 260px; width: 100%; height: auto; } .sltImg{ width: 300px; font-size: 20px; font-weight: bold; padding-top: 20px; border-top: 1px solid #dddddd; margin-bottom: 25%; img{ width: 100%; display: block; margin-top: 20px; } } } } .history{ width: 100%; position: relative; text-align: center; padding: 125px 0px 110px; .historyTit{ width: 100%; max-width: 1300px; margin: 55px auto 65px; display: flex; justify-content: center; &>div{ padding: 0px 30px; font-size: 20px; position: relative; cursor: pointer; transition: all .3s ease-in-out; &::before{ content: ''; position: absolute; top: 50%; transform: translateY(-50%); right: 0px; width: 1px; height: 16px; background: #000; } &:last-child{ &::before{ display: none; } } &:hover{ color: #b81c25; } &.active{ color: #b81c25; font-weight: bold; } } } .historyCon{ width: 100%; position: relative; .historySwiper{ width: 100%; .swiper-slide{ width: 300px; height: 480px; position: relative; .hisImg{ width: 100%; overflow: hidden; img{ width: 100%; display: block; transition: all .3s ease-in-out; transform-origin: 50% 50%; } &:hover{ img{ transform: scale(1.1); } } } .hisTime{ display: none; font-weight: bold; margin-top: 25px; font-size: 18px; } .text{ font-size: 16px; line-height: 30px; margin-top: 20px; padding:0px 20px; } .hisBottom{ position: absolute; bottom: 0px; left: 0px; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; .hisLine{ width: 310px; height: 1px; background: #999999; position: absolute; bottom: 54px; left: 0px; } .hisIcon{ width: 46px; height: 46px; border: 0px solid #999999; border-radius: 50%; position: relative; .cil1{ position: absolute; width: 32px; height: 32px; background: #fff; box-sizing: border-box; border: 1px solid #999999; top: 7px; left: 7px; border-radius: 50%; opacity: 0; } .cil2{ position: absolute; width: 10px; height: 10px; background: #999999; box-sizing: border-box; top: 18px; left: 18px; border-radius: 50%; } .cil3{ position: absolute; width: 1px; height: 40px; background: #999999; bottom: 28px; left: 23px; } } .hisBTime{ width: 100%; font-size: 20px; line-height: normal; font-family: 'MyFont1'; color: #000; margin-top: 2px; } } &:last-child{ .hisLine{ &::before{ content: ''; width: 8px; height: 8px; border-radius: 4px; background: #fff; border: 1px solid #999999; box-sizing: border-box; position: absolute; top: -4px; right:0px } } } } .activeShow{ .text{ color: #b81c25; } .hisTime{ color: #b81c25; } .hisBottom{ .hisIcon{ border: 1px solid rgba(184, 28, 37, 0.3); .cil1{ border: 1px solid #b81c25; opacity: 1; } .cil2{ background: #b81c25; } } .hisBTime{ color: #b81c25; } } } } .swiper-page{ width: 100%; max-width: 1300px; margin: 0px auto; margin-top: 80px; position: relative; height: 60px; display: none; flex-direction: row; justify-content: flex-end; .btn-prev,.btn-next{ width: 40px; height: 40px; border-radius: 40px; line-height: 40px; text-align: center; color: #000; cursor: pointer; box-sizing: border-box; border: 1px solid #000; transition: all .3s ease-in-out; span{ font-size: 26px; display: inline-block; transform: rotate(90deg); } &:hover{ color: #fff; background: #b81c25; border: 1px solid #b81c25; } } .btn-prev{ // margin-right: 30px; span{ transform: rotate(-90deg); } } .btn-next{ } .swiper-button-disabled{ cursor: not-allowed; opacity: 0.6; &:hover{ color: #000; background: #fff; border: 1px solid #000; } } } } } .corporate{ width: 100%; position: relative; text-align: center; padding: 85px 0px 0px; .corporateSwiper{ margin-top: 60px; img{ display: block; } } .corCon{ position: absolute; width: 100%; bottom: 0px; left: 0px; text-align: center; z-index: 2; padding-bottom: 90px; .corTits{ width: 670px; margin: 0px auto; height: 60px; display: flex; justify-content: space-between; border-bottom: 1px solid #999; line-height: 60px; color: rgba(255, 255, 255, 0.8); box-sizing: border-box; div{ font-size: 32px; padding: 0px 10px; position: relative; cursor: pointer; &::before{ content: ''; position: absolute; bottom: -1px; left: 0px; width: 100%; height: 2px; background: #B81C25; opacity: 0; } } .activS{ color: #B81C25; font-weight: bold; &::before{ opacity: 1; } } } .corTxts{ width: 100%; margin-top: 20px; color: #fff; font-size: 30px; div{ display: none; } .activS{ display: block; } } } } @media screen and (min-width: 1300px) and (max-width: 1600px) { .banner { .slideCon{ padding: 180px 10px 0px; box-sizing: border-box; } } } @media screen and (min-width: 801px) and (max-width: 1300px) { .banner { .slideCon{ padding: 120px 10px 0px; box-sizing: border-box; } } } @media screen and (min-width:800px){ .goTop{ .goTopBtn{ background: #ffffff; .btnShow{ .btnIcon{ background-color: #0056A7; } } &:hover{ background: #ffffff; } } } } .mTxt{ display: none; } //移动端样式 @media screen and (max-width:800px) { .pcTxt{ display: none; } .mTxt{ display: block; } .banner{ width: 100%; height: 100vh; .swiper{ width: 100%; height: 100%; } .slideCon{ padding: 0 15px; padding-top: 130px; height: auto; .title{ font-size: 30px; line-height: 48px; br{ display: block; } } } .btn-prev,.btn-next{ display: none; } .bannerSwiper{ .bannerS1{ img{ display: block; } video{ display: none; } } .swiper-pagination{ display: block; bottom: 60px; .swiper-pagination-bullet{ width: 6px; height: 6px; margin: 0 6px; &::before{ left: -3px; top: -3px; width: 10px; height: 10px; } } } } } .news{ padding: 110px 15px 70px; box-sizing: border-box; .newsCon{ margin: 35px auto 32px; height: auto; flex-wrap: wrap; padding-top: 50px; &>div{ width: 100%; height: auto; .swiper{ position: relative; display: none; .slideCon{ padding: 20px; .time{ font-size: 13px; } } } .newsShowSwiper{ display: block; } .swiper-pagination{ display: none; } .newsTitList{ padding-left: 0px; font-size: 14px; line-height: 24px; position: absolute; top: 0px; left: 0px; justify-content: center; .newsCk{ font-size: 16px; } &>div{ &:nth-child(2n){ margin: 0px 30px; } } } .newsConList{ padding-left: 0px; padding-top: 0px; height: auto; &>div{ .newsLi{ .timer .timerData{ font-weight: bold; } .newsLiCon{ font-size: 16px; padding-top: 4px; &>div{ height: 20px; } .liTitle{ margin-bottom: 8px; } } } } } } } } .product{ padding: 100px 15px; box-sizing: border-box; &>.text{ margin: 30px auto 0; } .productCon{ margin: 40px auto 0px; .productTits{ overflow-x: auto; display: block; &::-webkit-scrollbar{ -webkit-appearance: none; width: 0px; height: 0px; } // &::-webkit-scrollbar:horizontal{ // width: 2px; // height: 100%; // background: #fff; // } &::-webkit-scrollbar-thumb{ width: 0px; height: 0px; background: #B81C25; } &>div{ width: 1012px; justify-content: flex-start; &>div{ width: auto; height: auto; padding-top: 0px; padding-right: 20px; position: relative; margin-right: 20px; &:last-child{ padding-right: 0px; margin-right: 0px; &::before{ display: none; } } &::before{ content: ''; position: absolute; right: 0px; top: 4px; width: 1px; height: 13px; background: #999; transform: rotate(20deg); } div{ margin-bottom: 0px; font-size: 14px; } } } } .productConBox{ margin-top: 35px; height: auto; &>div{ height: auto; } .swiper-slide{ width: 100%; height: auto; img{ width: 100%; height: auto; } .slideZ{ display: none; } .slideCon{ position: relative; color: #231F20; display: block; height: 30px; line-height: 30px; background: #f8f8f8; opacity: 1; .text { line-height:normal; line-height: 30px; font-size: 14px; } } &:hover{ width: 100%; .slideCon{ opacity: 1; } } } } .swiper-page{ margin-top: 40px; height: 40px; justify-content: center; .btn-prev,.btn-next{ width: 40px; height: 40px; border-radius: 40px; line-height: 40px; span{ font-size: 26px; } } } } } .about{ padding: 110px 15px; box-sizing: border-box; background: url(./images/aboutbg0m.png) no-repeat; background-size: contain; .title{ margin-bottom: 40px; } .aboutImg{ .imgZi{ display: none; } } .aboutCon { position: relative; height: auto; text-align: center; padding-top: 15px; justify-content: center; .sltImg{ margin: 0px auto; padding-top: 0px; border-top: 0px solid #dddddd; img{ width: 150px; margin: 15px auto 40px; } } .btn3{ margin: 0px auto; } } } .history{ padding: 110px 15px; box-sizing: border-box; .historyTit{ margin: 35px auto 25px; &>div{ padding: 0px; width: 25%; font-size: 14px; &::before{ height: 12px; } } } .historyCon{ .historySwiper{ .swiper-slide{ width: 100%; height: auto; .hisTime{ display: block; } .hisBottom{ display: none; } .text{ margin-top: 10px; } } } .swiper-page{ display: flex; justify-content: space-between; margin-top: 20px; height: 40px; .rightDiv{ width: 60%; text-align: left; display: flex; align-items: flex-end; padding-bottom: 5px; border-bottom: 1px solid #dddddd; color: #B81C25; position: relative; font-size: 12px; height: 30px; .nowNum{ margin-right: 5px; font-size: 15px; position: relative; top: 2px; } .allNum{ margin-left: 5px; } .fillLine{ position: absolute; right: 0px; bottom: -1px; width: 50%; height: 1px; background: #B81C25; } } } } } .corporate{ padding: 0px; .corporateSwiper { margin-top: 35px; } .corCon{ position: relative; padding: 20px 15px 0; box-sizing: border-box; .corTits{ color: #231f20; width: 100%; height: 40px; line-height: 40px; div{ font-size: 16px; padding: 0px 0px; } .activS{ font-weight: bold; } } .corTxts{ margin-top: 30px; color: #231f20; font-size: 16px; } } } .society{ padding-bottom: 110px; display: flex; flex-direction: column-reverse; .societyCon{ position: relative; color: #231F20; padding-top: 0px; padding-left: 15px; padding-right: 15px; box-sizing: border-box; .text{ margin-top: 40px; margin-bottom: 30px; } .btn{ display: none; } } &>.btn{ display: block; margin-top: 80px; } } }