// swiper .swiper { height: 989px; width: 1920px; position: relative; .swiper-pagination { position: absolute; left: 20.5625rem; top: 40rem; cursor: pointer; .swiper-pagination-bullet { width: .375rem; height: 3.625rem; background: rgba(255, 255, 255, 0.27); border-radius: 15px 15px 15px 15px; } .swiper-pagination-bullet-active { background: #FFFFFF; } } .detail { position: absolute; width: 45.8125rem; height: 9rem; z-index: 3; left: 20.5625rem; top: 7.425rem; font-size: 3.125rem; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 4.5rem; margin-bottom: 20px; } .more { padding: .9375rem 4.0625rem; position: absolute; z-index: 3; left: 20.5625rem; top: 18.125rem; border: 2px solid #FFFFFF; border-radius: 10px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 500; color: #FFFFFF; line-height: 26px; cursor: pointer; } } .swiper-wrapper { width: 100%; height: 100%; } .swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; background: linear-gradient(90deg, rgba(53, 76, 150, 0) 0%, #354C96 100%); background-blend-mode: multiply; img { display: block; width: 100%; height: 100%; background-color: red; // object-fit: cover; } } // 头部 .head { width: 1920px; margin: 0 auto; // background-color: red; height: 5.6875rem; display: flex; padding: 0 4.875rem 0 6.375rem; align-items: center; justify-content: space-between; box-sizing: border-box; h1 { overflow: hidden; img { display: block; height: 2.8125rem; margin: 0 30px; margin-top: 5px; cursor: pointer; } } .red_bold { color: #C70009; font-weight: bold; } ul { width: 1132px; // margin-left: 7.1875rem; display: flex; align-items: center; justify-content: space-between; position: relative; li { cursor: pointer; a { font-size: 1rem; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #3D3D3D; line-height: 1.4375rem; } } span { position: absolute; display: block; width: 40px; height: 5px; background: #C70009; border-radius: 49px 21px 0px 0px; bottom: -34px; left: 0; } } ol { display: flex; // margin-left: 6.8125rem; li { cursor: pointer; font-size: 1rem; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #3D3D3D; line-height: 3.5rem; &:nth-child(1) { margin-right: 1.625rem; } &:nth-child(2) { margin-right: 1.125rem; } img { width: .925rem; vertical-align: middle; } &:last-child { width: 6.5625rem; display: flex; justify-content: space-between; align-items: center; } } } } // about us .us { width: 1920px; padding: 3.125rem 0; background: url('../imgs/home/us_bg.png') center center no-repeat; background-size: 100% 696px; margin: 0 auto; .content { width: 81.25rem; margin: 0 auto; display: flex; justify-content: space-between; .show_swiper { display: flex; flex-wrap: wrap; .foot { width: 41.5625rem; // display: flex; // justify-content: space-between; .video { width: 100%; height: 20.4375rem; background-color: black; } } .swiper1 { width: 41.5625rem; height: 20.4375rem; position: relative; margin-bottom: 25px; background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%); background-blend-mode: multiply; .swiper { width: 100%; height: 100%; // margin-left: 21px; .swiper-pagination { width: 100px; display: flex; position: absolute; top: 20px; left: 50%; margin-left: -50px; flex-direction: row; justify-content: space-between; .swiper-pagination-bullet { width: 26.89px; height: 4px; background: black; border-radius: 15px 15px 15px 15px; } .swiper-pagination-bullet-active { background: #FFFFFF; } } .swiper1_detail { width: 95%; position: absolute; z-index: 3; font-size: 20px; font-family: Source Han Sans, Source Han Sans; font-weight: 500; color: #FFFFFF; // line-height: 56px; text-align: left; bottom: 0.6875rem; left: 21px; // display: -webkit-box; // -webkit-box-orient: vertical; // -webkit-line-clamp: 2; // /* 显示的行数,可以根据需要修改 */ // overflow: hidden; // text-overflow: ellipsis; } .swiper1_more { width: 35rem; position: absolute; z-index: 3; left: 21px; font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #FFFFFF; line-height: 30px; bottom: 15px; } .swiper-wrapper { width: 100%; height: 100%; .swiper-slide { width: 100%; height: 100%; img { width: 100%; height: 100%; } } } } } .swiper2 { width: 19.9375rem; height: 15.0625rem; position: relative; .swiper { width: 100%; height: 100%; // margin-left: 21px; .swiper-pagination { width: 100px; display: flex; position: absolute; top: 33px; left: 50%; margin-left: -50px; flex-direction: row; justify-content: space-between; .swiper-pagination-bullet { width: 26.89px; height: 4px; background: black; border-radius: 15px 15px 15px 15px; } .swiper-pagination-bullet-active { background: #FFFFFF; } } .swiper-wrapper { width: 100%; height: 100%; .swiper-slide { width: 100%; height: 100%; img { display: block; width: 100%; height: 100%; } } a { display: block; } } } } } .text { padding-left: 63px; position: relative; display: flex; flex-direction: column; justify-content: space-between; // background-color: red; .title1 { font-size: 40px; font-family: Source Han Sans, Source Han Sans; font-weight: 900; color: #3D3D3D; line-height: 56px; display: flex; align-items: center; &::before { content: ""; display: inline-block; width: 6px; height: 56px; margin-right: 20px; background-color: #C70009; } } div { width: 525px; height: 384px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #787878; line-height: 43px; text-align: justify; } .more { font-size: 16px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #C70009; line-height: 23px; display: flex; align-items: center; cursor: pointer; border: none; &::after { content: ""; width: 29px; height: 10px; display: inline-block; background: url('../imgs/home/red_more.png') no-repeat; background-size: contain; margin-left: 7px; } } } } } // 产品区域 .product { width: 100%; padding: 39px 0px 60px 0px; background-color: #f9f9f9; // background-color: red; .content { width: 81.25rem; margin: 0 auto; position: relative; // background-color: red; .title { font-size: 30px; font-family: Source Han Sans, Source Han Sans; font-weight: 900; color: #3D3D3D; line-height: 56px; display: flex; align-items: center; &::before { content: ""; display: inline-block; width: 6px; height: 56px; margin-right: 20px; background-color: #C70009; } } .swiper { width: 99%; height: 480px; position: relative; .swiper-button-next, .swiper-button-prev { top: var(--swiper-navigation-top-offset, 50%) !important; } .swiper-button-next { right: var(--swiper-navigation-sides-offset, 10px); } // margin-top: 48px; .icon { position: absolute; // margin: auto; display: block; width: 56.04px; height: 56.04px; } .swiper-wrapper { width: 99%; height: 100%; margin-top: 48px; justify-content: space-between; .swiper-slide { position: relative; border-radius: 13px 13px 13px 13px; width: 350px !important; // width: 320px; height: 349px; text-align: center; font-size: 18px; background: #fff; /* 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; transition: all linear 300ms; // margin: 0 10px; // overflow: hidden; a { display: block; width: 100%; height: 100%; } .bg_p { position: absolute; border-radius: 13px 13px 13px 13px; transform: translateX(-4000px); } p { position: absolute; bottom: 0; left: 23px; opacity: 0; transition: all linear 300ms; } .p_one { font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 56px; bottom: 110px; } .p_two { width: 230px; font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #FFFFFF; line-height: 24px; text-align: left; bottom: 60px; } .p_more { font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FCD106; line-height: 30px; bottom: 14px; display: flex; align-items: center; &::after { content: ""; display: inline-block; width: 15px; height: 7px; background: url(../imgs/home/info_to_yellow.png) center center no-repeat; background-size: 100%; margin-left: 10px; } } } .swiper-slide-active { width: 384px !important; height: 381px; // z-index: 4; a { opacity: 1; } .bg_p { width: 100%; height: 100%; transform: translateX(0px); background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%); p { opacity: 1; } } img { display: block; box-shadow: 31px 28px 61px -33px rgba(24, 35, 80, 0.18); border-radius: 13px 13px 13px 13px; // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%); } } } .swiper-pagination { height: 40px; // width: 70px; position: absolute; top: 95%; left: 0; z-index: 999; display: flex; justify-content: flex-end; align-items: center; cursor: auto; .swiper-pagination-bullet { width: 26.89px; height: 4px; background-color: #C70009; border-radius: 15px 15px 15px 15px; } } a { display: block; position: absolute; z-index: 1000; bottom: -12px; left: 0; height: 30px; .more { position: absolute; // bottom: -7px; font-size: 16px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #C70009; line-height: 23px; display: flex; align-items: center; height: 23px; cursor: pointer; border: none; padding: 0px; top: 0; left: 0; &::after { content: ""; width: 29px; height: 10px; display: inline-block; background: url('../imgs/home/red_more.png') no-repeat; background-size: contain; margin-left: 7px; } } } } } } // 完井液系统区域 .system { width: 100%; margin-top: 41px; .content { width: 81.25rem; margin: 0 auto; position: relative; // background-color: red; .fir { width: 100%; position: relative; margin-bottom: 28px; overflow: hidden; img { border-radius: 10px; } .title { float: left; font-size: 30px; font-family: Source Han Sans, Source Han Sans; font-weight: 900; color: #3D3D3D; line-height: 56px; display: flex; align-items: center; &::before { content: ""; display: inline-block; width: 6px; height: 56px; margin-right: 20px; background-color: #C70009; } } .detail { float: right; position: relative; width: 71.5rem; background: #F7F7F9; border-radius: 10px 10px 10px 10px; overflow: hidden; right: 0px; margin-top: 69px; p { text-align: justify; width: 508px; height: 168px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #787878; line-height: 34px; margin: 30px 0px 28px 43px; } } .sys_pic { position: absolute; right: 40px; top: 0; z-index: 3; width: 500px; height: 305px; } } // 下方六个介绍框 .info { width: 100%; height: 550px; margin-top: 28px; display: flex; justify-content: space-between; align-content: space-between; flex-wrap: wrap; a { width: 32.3%; height: 48%; } div { width: 100%; height: 100%; // background-color: green; display: flex; flex-direction: column; justify-content: space-evenly; transition: linear all 500ms; border: 1px solid rgba(30, 43, 95, 0.2); border-radius: 10px 10px 10px 10px; &:hover { background: url(../imgs/home/bg.jpg) center center no-repeat; background-size: 100% 100%; box-shadow: 27px 21px 44px 0px rgba(24, 35, 80, 0.18); background-blend-mode: multiply; span { color: #FFFFFF; &::before { content: ''; display: inline-block; width: 18px; height: 18px; background: url('../imgs/home/info_new.png') center center no-repeat; background-size: 100% 100%; position: absolute; left: -30px; top: 50%; transform: translateY(-50%); } } p { color: #FFFFFF; } div { background: url('../imgs/home/info_to_yellow.png') center center no-repeat; background-size: 100% 100%; } } div { margin-left: 46px; width: 25px; height: 15px; background: url('../imgs/home/info_to.png') center center no-repeat; background-size: 100%; border: none; } span { position: relative; margin-left: 46px; font-size: 24px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #000000; line-height: 46px; } p { margin-left: 46px; width: 316.21px; height: 92px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 500; color: #000000; line-height: 33px; } } } .sec { width: 100%; position: relative; margin-top: 40px; .title { float: right; font-size: 30px; font-family: Source Han Sans, Source Han Sans; font-weight: 900; color: #3D3D3D; line-height: 56px; display: flex; align-items: center; &::after { content: ""; display: inline-block; width: 6px; height: 56px; margin-left: 20px; background-color: #C70009; } } .detail { float: left; position: relative; width: 71.5rem; background: #F7F7F9; border-radius: 10px 10px 10px 10px; overflow: hidden; right: 0px; margin-top: 69px; margin-bottom: 20px; p { text-align: justify; float: right; width: 508px; height: 168px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #787878; line-height: 34px; margin: 30px 43px 28px 0px; } } .sys_pic { position: absolute; left: 40px; top: 0; z-index: 3; width: 500px; height: 305px; } } // 技术框 .technology { width: 100%; height: 700px; margin-top: 28px; display: flex; justify-content: space-between; align-content: space-between; flex-wrap: wrap; a { width: 49.2%; height: 48%; } .child { overflow: hidden; position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; transition: linear all 500ms; border-radius: 10px 10px 10px 10px; background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/dri1.jpg) center center no-repeat; background-size: 100% 100%; &:hover { box-shadow: 27px 21px 44px 0px rgba(24, 35, 80, 0.18); .tec_sp { bottom: 62px; } div { left: 0px; bottom: 12px; } } .tec_more { position: absolute; font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FCD106; margin-left: 46px; border: none; transition: all linear 300ms; bottom: -100px; // left: -4000px; // transform: translateX(-4000px); &::after { content: ""; display: inline-block; width: 14px; height: 8px; background: url('../imgs/home/info_to_yellow.png') center right no-repeat; background-size: 100%; margin-left: 9px; } } .tec_sp { position: absolute; bottom: 23px; margin-left: 46px; transition: all linear 300ms; span { font-size: 36px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; transition: all linear 300ms; } p { width: 550px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 500; color: #FFFFFF; transition: all linear 300ms; margin-top: 17px; } } } .children2 { background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/dri2.jpg) center center no-repeat; background-size: 100% 100%; } .children3 { background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/dri3.jpg) center center no-repeat; background-size: 100% 100%; } .children4 { background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/dri4.jpg) center center no-repeat; background-size: 100% 100%; } } } } // 团队和实验室区域 .lab { width: 100%; margin-top: 50px; .content { width: 81.25rem; margin: 0 auto; position: relative; overflow: hidden; .team { display: flex; justify-content: space-between; align-items: center; .lef { width: 55.75rem; height: 22.125rem; border-radius: 35px; position: relative; p { position: absolute; z-index: 3; top: 0; left: 0; width: 399px; height: 130px; font-size: 30px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 130px; text-align: center; background: linear-gradient(132deg, rgba(53, 76, 150, 0.67) 0%, rgba(62, 87, 170, 0.45) 100%); border-radius: 35px 0px 35px 0px; } .lab3 { position: absolute; right: 0; width: 100%; height: 22.125rem !important; .swiper { width: 100%; height: 100%; border-radius: 35px; position: relative; bottom: 0; img { width: 100%; height: 100%; border-radius: 35px; } .swiper-pagination { width: 100px; height: 6px; display: flex; position: absolute; top: 94%; left: 50%; z-index: 3; margin-left: -50px; flex-direction: row; justify-content: space-between; .swiper-pagination-bullet { width: 26.89px; height: 4px; background: black; border-radius: 15px 15px 15px 15px; } .swiper-pagination-bullet-active { background: #FFFFFF; } } } } } .rig { width: 20.8125rem; height: 22.125rem; display: flex; flex-direction: column; justify-content: space-between; border-radius: 0px 0px 72px 0px; p { width: 100%; height: 75px; font-size: 40px; font-family: Alimama ShuHeiTi, Alimama ShuHeiTi; font-weight: 700; color: #E8EBF1; line-height: 38px; letter-spacing: 2px; } img { width: 100%; height: 255px; border-radius: 35px; } } } // 团队和实验室标签 .t_l { width: 100%; // background-color: red; position: relative; margin-top: 73px; // 底部红色图标,跟随切换运动 .two_active { position: relative; color: #C70009 !important; } .tag { width: 71.1875rem; padding-left: 42px; position: relative; background-color: #F7F7F9; border-radius: 10px 10px 10px 10px; .two_new { width: 639px; padding-top: 36px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #E5E5E5; ul { width: 260px; display: flex; align-items: center; position: relative; justify-content: space-between; li { cursor: pointer; font-size: 24px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #3D3D3D; line-height: 56px; // margin-left: 76px; // text-align: center; // &:last-child { // margin-left: 76px; // } } .change_li { position: absolute; width: 32px; height: 5px; border-radius: 49px 21px 0px 0px; background-color: #C70009; left: 8px; bottom: 0; transition: all linear 200ms; } } img { display: block; height: 40px; } } .article_content { width: 639px; height: 301px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #787878; line-height: 37px; padding: 12px 0px 12px 0px; text-align: justify; overflow-y: auto; padding-right: 10px; &::-webkit-scrollbar { width: 6px; // height: 10px; border-radius: 171px 171px 171px 171px; } &::-webkit-scrollbar-thumb { background-color: #bf464c; border-radius: 10px; } &::-webkit-scrollbar-track { background: linear-gradient(180deg, #F0F0F0 0%, rgba(240, 240, 240, 0) 100%); border-radius: 171px 171px 171px 171px; } div { display: block; font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #C70009; line-height: 30px; margin-top: 20px; cursor: pointer; &::after { content: ""; display: inline-block; width: 14px; height: 8px; background: url(../imgs/home/info_to.png) center right no-repeat; background-size: 100%; margin-left: 9px; } } } } .lab3 { position: absolute; top: -30px; right: 0; width: 584px; height: 471px !important; .swiper { width: 100%; height: 100%; border-radius: 10px 10px 10px 10px; img { border-radius: 10px 10px 10px 10px; } .swiper-pagination { width: 100px; height: 6px; display: flex; position: absolute; top: 440px; left: 50%; z-index: 3; margin-left: -50px; flex-direction: row; justify-content: space-between; .swiper-pagination-bullet { width: 26.89px; height: 4px; background: black; border-radius: 15px 15px 15px 15px; } .swiper-pagination-bullet-active { background: #FFFFFF; } } } } } .technology { width: 100%; // height: 740px; margin-top: 60px; display: flex; justify-content: space-between; align-content: space-between; flex-wrap: wrap; a { width: 49.2%; height: 356px; margin-top: 20px; } .child { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; transition: linear all 500ms; border-radius: 10px 10px 10px 10px; // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab4.jpg) center center no-repeat; // background-size: 100% 100%; margin-top: 20px; overflow: hidden; a { display: block; } // &:nth-child(2) { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab5.jpg) center center no-repeat; // background-size: 100% 100%; // } // &:nth-child(3) { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab6.jpg) center center no-repeat; // background-size: 100% 100%; // } // &:nth-child(4) { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab7.jpg) center center no-repeat; // background-size: 100% 100%; // } &:hover { box-shadow: 27px 21px 44px 0px rgba(24, 35, 80, 0.18); span { bottom: 125px; } div { bottom: 12px; } p { bottom: 42px; } } div { position: absolute; font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FCD106; margin-left: 23px; border: none; transition: linear all 500ms; bottom: -200px; &::after { content: ""; display: inline-block; width: 14px; height: 8px; background: url('../imgs/home/info_to_yellow.png') center right no-repeat; background-size: 100%; margin-left: 9px; } } span { position: absolute; margin-left: 23px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 26px; // width: 35.1875rem; width: 100%; bottom: 30px; transition: linear all 200ms; } p { position: absolute; transition: linear all 500ms; margin-left: 23px; width: 550px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #FFFFFF; line-height: 24px; margin-top: 24px; bottom: -200px; } } // .children2{ // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab5.jpg) center center no-repeat; // background-size: 100% 100%; // } // .children3{ // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab6.jpg) center center no-repeat; // background-size: 100% 100%; // } // .children4{ // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.8) 100%), url(../imgs/home/lab7.jpg) center center no-repeat; // background-size: 100% 100%; // } } } } // 分割线 .fenge { width: 100%; height: 23px; margin-top: 40px; display: flex; justify-content: center; align-items: center; .more { font-size: 16px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #C70009; display: flex; align-items: center; height: 23px; cursor: pointer; border: none; padding: 0px; margin-left: 15px; &::after { content: ""; width: 29px; height: 10px; display: inline-block; background: url('../imgs/home/red_more.png') no-repeat; background-size: contain; margin-left: 7px; } } .lef, .rig { width: 48%; height: 2px; background: linear-gradient(to right, #FFFFFF, #C70009); } .rig { background: linear-gradient(to right, #C70009, #FFFFFF); } }