//pc端样式 .main { width: 100%; max-width: 1920px; min-height: 100vh; margin: 0 auto; padding-top: 71px; padding-bottom: 30px; } .product{ width: 100%; text-align: center; padding: 80px 0px 110px; &>.title{ text-align: left; width: 100%; max-width: 1300px; margin: 0 auto; } .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: 542px; margin-top: 40px; overflow: hidden; &>div{ width: 100%; height: 100%; } .swiper-slide{ width: 413px; transition: width .3s ease-in-out; overflow: hidden; transform-origin: center; 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; background-color: rgba(184, 28, 37, 0.8); height: 80px; transition: all .3s ease-in-out; .conTit{ font-size: 24px; height: 80px; line-height: 80px; } .text{ width: 100%; line-height: 40px; font-size: 20px; display: none; box-sizing: border-box; padding: 0px 30px; text-align: justify; } } &:hover{ .slideCon{ height: 465px; background-color: rgba(184, 28, 37, 0.8); .text{ display: block; } } } } } .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; } } } } } .Industrial{ width: 100%; position: relative; background: #f8f8f8; img{ width: 100%; display: block; } &>div{ position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; img{ position: absolute; width: 100%; top: 0px; left: 0px; } } } .member{ width: 100%; text-align: center; margin: 0px auto; max-width: 1300px; padding: 125px 0px 110px; .memberCon{ width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 40px; img{ width: auto; height: 144px; } .memberLi{ width: calc( 50% - 20px); margin-top: 40px; height: 300px; box-sizing: border-box; border: 1px solid #ebebeb; position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; transition: all 0.4s ease 0s; .liImg{ height: 144px; width: 100%; position: relative; transition: all 0.4s ease 0s; img{ width: auto; height: auto; max-width: 100%; max-height: 100%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } } .liTit{ width: 100%; font-size: 20px; color: #333333; transition: all 0.4s ease 0s; } // .text{ // font-size: 16px; // line-height: 24px; // padding: 0px 20px; // display: none; // color: #fff; // margin-top: 20px; // } // a{ // width: 54px; // height: 0px; // display: block; // position: absolute; // bottom: 40px; // left: 50%; // transform: translateX(-50%); // background: url(./images/aicon.png) no-repeat; // background-size: 100% 100%; // transition: all 0.4s ease 0s; // } .upDiv{ position: absolute; width: 100%; height: 100%; background: url(./images/cymlbg.png) no-repeat; background-size: 100% 100%; color: #fff; box-sizing: border-box; padding:35px 40px; top: 0px; left: 0px; opacity: 0; transition: all 0.3s ease-in-out; .upDivTit{ font-size: 20px; margin-bottom: 20px; transform: translateY(100%); transition: all 0.4s ease 0s; } .text{ font-size: 16px; line-height: 24px; transform: translateY(70%); transition: all 0.4s ease 0s; text-align: justify; } a{ width: 54px; height: 0px; display: block; position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); background: url(./images/aicon.png) no-repeat; background-size: 100% 100%; transition: all 0.4s ease 0s; } .a1{ position: absolute; bottom: 40px; left: 58%; } .a2{ position: absolute; bottom: 40px; left: 40%; background: url(./images/kfd.png) no-repeat; background-size: 100% 100%; } .hideA{ display: none; } } &:hover{ // .text{ // display: block; // } .upDiv{ opacity: 1; .upDivTit,.text{ transform: translateY(0%); } a{ height: 54px; } } } } } } @media screen and (min-width: 801px) and (max-width: 1400px) { } @media screen and (min-width:800px){ } .mTxt{ display: none; } //移动端样式 @media screen and (max-width:800px) { .pcTxt{ display: none; } .mTxt{ display: block; } .main{ padding-top: 61px; padding-bottom: 30px; } .product{ padding: 50px 15px; box-sizing: border-box; &>.title{ text-align: center; } .productCon{ margin: 30px auto 0px; .productTits{ width: 100%; overflow-x: scroll; 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: 540px; 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: 22px; height: auto; &>div{ height: auto; } .swiper-slide{ width: 100%; height: auto; &:hover{ .slideCon{ height: auto; background: #B81C25; } } img{ width: 100%; height: auto; } .slideZ{ display: none; } .slideCon{ position: relative; color: #231F20; display: block; height: auto; background: #B81C25; color: #fff; opacity: 1; padding: 20px 0px; .conTit{ display: none; } .text { display: block; line-height: 30px; font-size: 16px; padding: 0px 10px; } } } } .swiper-page{ margin-top: 40px; height: 40px; justify-content: center; display: none; .btn-prev,.btn-next{ width: 40px; height: 40px; border-radius: 40px; line-height: 40px; span{ font-size: 26px; } } } } } .member{ padding: 100px 0px 40px; .memberCon{ margin-top: 20px; padding: 0px 15px; box-sizing: border-box; img{ width: auto; height: 72px; } .memberLi{ margin-top: 20px; width: 100%; height: 165px; .liImg{ height: 72px; } .liTit{ font-size: 16px; } .upDiv{ padding: 15px 15px; .upDivTit{ font-size: 16px; margin-bottom: 10px; } .text{ font-size: 12px; line-height: 20px; padding: 0px 10px; } a{ width: 32px; height: 0px; bottom: 15px; } } &:hover{ .upDiv{ a{ height: 32px; } } } } } } }