@font-face { font-family: SpaceGrotesk-Medium; src: url(../fonts/SPACEGROTESK-MEDIUM.TTF); } .w1280{ width: 90%; max-width: 1280px; margin: 0 auto; } .headerBlock{ height: 80px; } .header{ position: fixed; left: 0; top: 0; z-index: 5; width: 100%; height: 80px; background: #fff; box-shadow: 0 2px 5px 0 rgba(0,0,0,.1); .w1280{ display: flex; align-items: center; justify-content: space-between; // position: relative; .logo{ font-size: 0; img{ height: 35px; } } > .right{ display: flex; align-items: center; .nav{ display: flex; align-items: center; li{ display: flex; align-items: center; height: 80px; margin-left: 45px; >a{ transition: font-weight .3s, color .3s; font-size: 16px; color: #212121; } &:hover,&.active{ > a{ color: #f08200; } } .level{ position: absolute; left: 0; top: 79px; z-index: 3; width: 100%; height: 0; overflow: hidden; // border-top: 1px solid rgba($color: #000000, $alpha: .05); background: url(../images/headerListBg.jpg) no-repeat center / cover; .content{ display: flex; .left{ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 350px; height: 100%; min-height: 350px; border-right: 1px solid rgba($color: #000000, $alpha: .05); .tit{ font-weight: bold; font-size: 24px; line-height: 36px; color: #212121; } .tel{ margin-top: 59px; p{ font-weight: bold; font-size: 16px; color: #212121; } span{ display: block; font-size: 20px; line-height: 1.75; color: #f08200; } } } .right{ display: flex; width: calc(100% - 350px); .cont{ display: flex; justify-content: space-between; width: 100%; padding-left: calc(100/1110*100%); // padding-top: 68px; .list{ display: flex; flex-direction: column; margin-right: calc(99/1110*100%); p{ display: flex; align-items: center; margin-bottom: 20px; font-weight: bold; font-size: 16px; color: #212121; &::before{ display: block; content: ''; width: 3px; height: 15px; margin-right: 9px; background-color: #f08200; border-radius: 2px; } } a{ margin-bottom: 13px; padding-left: 12px; font-size: 16px; line-height: 1.75; color: #333; &:last-child{ margin-bottom: 0; } } &:last-child{ margin-right: 0; } } } } } &::after{ display: block; content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: rgba($color: #000000, $alpha: .05); } } .level2{ position: absolute; left: 0; top: 79px; z-index: 3; width: 100%; height: 0; overflow: hidden; // border-top: 1px solid rgba($color: #000000, $alpha: .05); background: url(../images/headerListBg.jpg) no-repeat center / cover; .content{ display: flex; .left{ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 350px; height: 100%; padding: 20px 0; border-right: 1px solid rgba($color: #000000, $alpha: .05); .tel{ display: flex; align-items: center; p{ font-size: 20px; line-height: 40px; color: #666; } span{ display: block; font-size: 20px; line-height: 40px; color: #f08200; } } } .right{ display: flex; width: calc(100% - 350px); .cont{ display: flex; width: 100%; padding-left: calc(100/1110*100%); a{ display: flex; align-items: center; margin-right: 30px; font-size: 16px; color: #333; } } } } &::after{ display: block; content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: rgba($color: #000000, $alpha: .05); } } } &::after{ display: block; content: ''; width: 1px; height: 20px; margin-left: 50px; background: rgba($color: #000000, $alpha: .1); } } .search{ display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 40px; font-size: 0; cursor: pointer; } .headSearch{ display: none; position: absolute; top: 80px; // right: 0px; box-shadow: 0 0 10px rgba($color: #000000, $alpha: .1); width: 380px; height: 54px; font-size: 0; z-index: 4; input{ width: 100%; height: 54px; padding: 0 20px; border: 0; font-size: 16px; background: #fff url(../images/search.png) no-repeat right 20px center; } .headSearchBtn{ position: absolute; top: 0; right: 0; z-index: 1; width: 54px; height: 54px; cursor: pointer; } } } } } .headerMob{ display: none; } .headerMobList{ display: none; } .bannerList,bannerList2{ position: relative; .img{ font-size: 0; img{ width: 100%; height: 100%; min-height: 300px; object-fit: cover; } } .w1280{ position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); margin-top: -4px; .bannerTitle{ font-weight: bold; font-size: 44px; color: #fff; } .bannerTips{ margin-top: 21px; font-size: 18px; color: #fff; } } } .bannerList2 { height: 300px; .w1280{ margin-top: 0; .bannerTitle{ text-align: left; } } } .pageListNav{ border-bottom: 1px solid #e6e6e6; .w1280{ display: flex; a{ display: flex; align-items: center; position: relative; height: 80px; margin-right: 100px; font-size: 18px; color: #333; &::after{ display: block; content: ''; position: absolute; bottom: -2px; left: 0; opacity: 0; width: 100%; height: 3px; background: #f08200; } &.on{ font-weight: bold; &::after{ opacity: 1; } } } } } .pagination{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 60px; li{ background: #FFFFFF; border: 1px solid #F2F2F2; border-radius: 4px; margin: 6px; a,span{ display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 14px; color: #666; } &.active{ border-color: #f08200; background: #F08200; span{ color: #fff; } } // &:first-child{ // margin-left: 0; // } } } .rightBlock{ display: flex; flex-direction: column; position: fixed; right: 50px; top: 50%; transform: translateY(-50%); z-index: 3; .list{ display: flex; flex-direction: column; justify-content: center; position: relative; transition: background .5s , color .5s; width: 50px; height: 90px; margin-top: 8px; background-color: #ffffff; box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.2), -1px -1px 0px 0px rgba(0, 0, 0, 0.1); border-radius: 25px; > .img{ width: 24px; margin: 0 auto; font-size: 0; img{ transition: filter .5s; filter: none; } } p{ margin-top: 3px; padding: 0 5px; text-align: center; font-size: 14px; } .position{ display: none; position: absolute; right: 70px; top: 50%; transform: translateY(-50%); width: 102px; height: 94px; background: url(../images/posi.png) no-repeat; .img{ width: 92px; font-size: 0; img{ margin-left: 1px; margin-top: 1px; } } } } .toTop{ display: flex; align-items: center; justify-content: center; transition: background .5s; width: 50px; height: 50px; margin-top: 20px; background-color: #ffffff; box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.2), -1px -1px 0px 0px rgba(0, 0, 0, 0.1); border-radius: 25px; cursor: pointer; img{ transition: filter .5s; filter: none; width: 16px; } } } .footer{ border-top: 5px solid #f08200; .w1280{ .top{ display: flex; justify-content: space-between; width: 100%; padding-top: 56px; padding-bottom: 38px; .left{ display: flex; ul{ margin-left: 135px; p{ margin-bottom: 32px; font-weight: bold; font-size: 16px; color: #333; } li{ margin-bottom: 8px; a{ transition: color .5s; display: block; font-size: 15px; line-height: 25px; color: #666; } &:last-child{ margin-bottom: 0; } } &:first-child{ margin-left: 0; } } } .right{ width: 330px; margin-top: -3px; .time{ font-size: 15px; color: #666; } .tel{ display: block; margin-top: 16px; margin-bottom: 16px; font-family: SpaceGrotesk-Medium; font-size: 38px; color: #f08200; } .tel2,.tel3{ display: flex; margin-bottom: 13px; span,a{ font-size: 15px; color: #666; } } } } .bottom{ display: flex; align-items: flex-start; justify-content: space-between; padding-top: 28px; padding-bottom: 39px; border-top: 1px solid rgba($color: #000000, $alpha: .1); .left{ display: flex; align-items: center; padding-top: 13px; span{ font-size: 15px; line-height: 44px; color: #666; } .link{ position: relative; margin-left: 10px; .text{ display: flex; align-items: center; width: 260px; height: 44px; padding-left: 30px; border-radius: 22px; border: solid 1px rgba(0, 0, 0, 0.1); font-size: 15px; color: #666; cursor: pointer; &::after{ display: block; content: ''; position: absolute; right: 30px; top: 50%; transform: translateY(-50%); width: 10px; height: 6px; background: url(../images/down.png) no-repeat; font-size: 0; } } .list{ display: none; position: absolute; left: 0; bottom: 60px; width: 100%; border: 1px solid rgba($color: #000000, $alpha: .1); border-top: 0; background: #fff; a{ display: block; width: 100%; padding: 0 20px; font-size: 14px; line-height: 40px; border-top: 1px solid rgba($color: #000000, $alpha: .1); background: #fff; } } } } .right{ display: flex; .list{ margin-left: 42px; .img{ display: flex; align-items: center; justify-content: center; width: 124px; height: 124px; font-size: 0; } p{ margin-top: 15px; text-align: center; font-size: 15px; color: #666; } &:first-child{ margin-left: 0; } } } } } } .beian{ display: flex; align-items: center; height: 60px; background: #f2f2f2; .w1280{ display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; color: #666; a{ margin-right: 6px; font-size: 14px; color: #666; } span{ width: 20px; height: 20px; margin-left: 19px; margin-right: 7px; font-size: 0; line-height: 18px; img{ width: 100%; } } } } .footerMob{ display: none; } .firstImg{ position: absolute; top: 0; left: 0; z-index: -999; overflow: hidden; width: 0; height: 0; font-size: 0; } @media (any-hover:hover) { .header .w1280 > .right .nav li { .level , .level2{ .content .right .cont .list a:hover{ color: #f08200; } } } .footer .w1280 .top .left ul li:hover a{ color: #f08200; } .rightBlock { .list{ &:hover{ > .img img{ filter: contrast(0) brightness(10) grayscale(1); } border-color: #f08200; background: #f08200; color: #fff; } } .toTop:hover{ img{ filter: contrast(0) brightness(10) grayscale(1); } border-color: #f08200; background: #f08200; } } } @media (max-width: 1500px) { .header .w1280 > .right { .nav { li{ margin-left: 45px; > a{ font-size: 16px; } .level .content { .right{ .cont{ padding-left: 40px; .list{ margin-right: 40px; } } } } } &::after{ margin-left: 40px; } } } } @media (max-width: 1366px) { .rightBlock{ display: none !important; } } @media (max-width: 1300px) { .header .w1280{ > .right { .nav{ li{ margin-left: 20px; .level .content { .left{ width: 300px; } .right { width: calc(100% - 300px); .cont { padding-left: 30px; .list{ margin-right: 20px; } } } } .level2 .content{ .left{ width: 300px; } .right { width: calc(100% - 300px); .cont{ padding-left: 30px; } } } } &::after{ margin-left: 30px; } } .search{ margin-left: 30px; } } } .footer .w1280 .top .left ul{ margin-left: 100px; } } @media (max-width: 1080px) { .header{ display: none; } .headerBlock{ display: none; } .footer{ display: none; } .beian{ display: none; } .bannerList{ .w1280{ .bannerTitle{ font-size: 28px; } } } .bannerList,.bannerList2{ .img{ img{ min-height: auto; height: 220px; } } } .w1280{ width: calc(100% - 80px); } .pageListNav { position: relative; border-bottom: 0; .w1280{ overflow-x: auto; height: 54px; a{ height: 52px; margin-right: 28px; white-space: nowrap; font-size: 14px; } } &::after{ display: block; content: ''; position: absolute; left: 0; bottom: 1px; z-index: -1; width: 100%; height: 1px; background-color: #e6e6e6; } } .headerMob{ display: block; height: 72px; .fixed{ position: fixed; width: 100%; padding: 20px 0; z-index: 4; background: #fff; .w1280{ display: flex; align-items: center; justify-content: space-between; .logo{ font-size: 0; } .menu{ display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; span{ width: 100%; height: 4px; background: #333; &:nth-child(2){ width: 70%; } } } } } } .headerMobList{ display: none; position: fixed; top: 72px; left: 0; z-index: 4; width: 100%; height: calc(100% - 72px); border-top: 1px solid #f2f2f2; background: #fff; box-shadow: 0 2px 5px 0 rgba(0,0,0,.1); .search{ position: relative; padding: 20px 40px; input{ width: 100%; height: 46px; padding: 0 30px; border: 1px solid #f2f2f2; border-radius: 23px; } .searchBtnMob{ display: flex; align-items: center; justify-content: center; position: absolute; top: 19px; right: 55px; width: 46px; height: 46px; } } ul{ height: calc(100% - 86px); padding: 0 40px; padding-bottom: 40px; overflow-y: auto; li{ border-bottom: 1px solid #f2f2f2; a{ display: flex; align-items: center; justify-content: space-between; font-size: 16px; line-height: 50px; color: #333; span{ display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; img{ transition: transform .5s; transform: rotate(0deg); } } &.on{ img{ transform: rotate(-90deg); } } } .level{ height: 0; overflow: hidden; .list{ border-top: 1px solid #f2f2f2; > a{ padding-left: 20px; font-size: 16px; line-height: 50px; color: #333; } .level2{ height: 0; overflow: hidden; a{ padding-left: 40px; border-top: 1px solid #f2f2f2; font-size: 16px; line-height: 50px; color: #333; } } } } &:first-child{ border-top: 1px solid #f2f2f2; } } } } .pagination{ margin-top: 40px; } .footerMob{ display: block; padding-top: 30px; border-top: 5px solid #F08200; .w1280{ .linkFriend{ display: flex; align-items: center; > p{ font-size: 15px; color: #666; } .right{ position: relative; max-width: 238px; width: calc(100% - 75px); .text{ display: flex; align-items: center; width: 100%; height: 44px; padding: 0 20px; border: 1px solid #f2f2f2; border-radius: 22px; font-size: 14px; } .linkList{ display: none; position: absolute; width: 100%; margin-top: 10px; border: 1px solid #f2f2f2; border-bottom: 0; background: #fff; a{ display: block; padding: 0 20px; border-bottom: 1px solid #f2f2f2; font-size: 14px; line-height: 40px; } } span{ display: flex; align-items: center; justify-content: center; position: absolute; right: 5px; top: 0; width: 44px; height: 44px; } } } .info{ margin-top: 37px; padding-bottom: 27px; border-bottom: 1px solid rgba($color: #000000, $alpha: .1); p{ font-size: 15px; color: #666; >a{ color: #666; } } > a{ display: block; margin-top: 9px; font-family: SpaceGrotesk-Medium; font-size: 28px; color: #F08200; } .tel2{ margin-top: 20px; margin-bottom: 12px; } } .wechat{ display: flex; flex-wrap: wrap; padding-top: 26px; padding-bottom: 16px; .list{ width: 118px; margin-right: 50px; .img{ font-size: 0; } p{ margin-top: 16px; margin-bottom: 11px; text-align: center; font-size: 15px; color: #666; } } } } .beian{ display: flex; align-items: center; justify-content: center; height: auto; padding: 15px; text-align: center; font-size: 12px; line-height: 1.75; color: #666; } } ::-webkit-scrollbar { display: none; } } @media (max-width: 500px) { .w1280{ width: calc(100% - 40px); } .footerMob .w1280 .wechat .list:nth-child(even){ margin-right: 0; } }