.head { width: 1920px; // background-color: red; height: 5.6875rem; margin: 0 auto; 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; } } .to_li { position: absolute; display: block; width: 40px; height: 5px; background: #C70009; border-radius: 49px 21px 0px 0px; bottom: -34px; left: 62%; } } 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; } } } } // banner图区域 .banner { position: relative; width: 1920px; margin: 0 auto; background: linear-gradient(360deg, rgba(53, 76, 150, 0.17) 0%, #354C96 100%); background-blend-mode: multiply; img { display: block; width: 100%; height: 633px; } div { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); p { text-align: center; font-size: 64px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 93px; &:last-child { font-size: 16px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 23px; } } } } // 切换区域 .change { width: 100%; .tab-container { width: 100%; overflow: hidden; margin: 0 auto; } /* 设置标签页选项卡的样式 */ .tab { padding: 8px 16px; cursor: pointer; font-size: 16px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #3D3D3D; line-height: 23px; } /* 设置选中的标签页样式 */ .active { color: #C70009; font-weight: bold; } /* 设置标签页内容的样式 */ .tab-content { display: none; padding: 16px; background-color: #fff; } .content { margin-top: 50px; width: 100%; } .tag { border-bottom: 1px solid #E5E5E5; .main { margin: 0 auto; width: 81.25rem; padding: 36px 0px; display: flex; justify-content: space-evenly; position: relative; .tab_to { transition: all linear 200ms; position: absolute; width: 40px; height: 5px; background-color: #C70009; border-radius: 49px 21px 0px 0px; bottom: 0; left: 127.5px; } } } } // 标题样式 .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; } } // MULTIPILE MUD STATIONS 泥浆站 #tab4 { width: 81.25rem; margin: 0 auto; .stations_cont { width: 100%; display: flex; justify-content: space-between; margin-top: 42px; a{ display: block; width: 33%; } .stations_type { position: relative; width: 100%; height: 617.69px; overflow: hidden; // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%), // url(../../imgs/team_lab/plants/3.jpg) center center no-repeat; // background-size: 100%; transition: all linear 800ms; border-radius: 10px 10px 10px 10px; p { position: absolute; left: 50%; transform: translateX(-50%); width: 369.3px; margin: 0 auto; text-align: justify; transition: all linear 800ms; &:nth-child(2) { font-size: 22px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #FFFFFF; line-height: 46px; text-align: center; bottom: 60px; } &:nth-child(3) { // bottom: 150px !important; top: 300px; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 500; color: #FFFFFF; line-height: 40px; text-align: center; // left: -1000px; opacity: 0; } } .top { position: absolute; top: 124px; left: 50%; // left: -1000px; transform: translateX(-50%); transition: all linear 800ms; opacity: 0; &::after { content: ""; width: 57.6px; height: 50.4px; display: block; background: url(../../imgs/team_lab/stations_logo.png) center center no-repeat; background-size: 100%; } } .bot_logo { position: absolute; bottom: 45px; left: 50%; // left: -1000px; transform: translateX(-50%); transition: all linear 800ms; opacity: 0; &::after { content: ""; width: 25px; height: 12px; display: block; background: url(../../imgs/team_lab/info_to_yellow.png) center center no-repeat; background-size: 100%; } } &:hover { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%), // url(../../imgs/team_lab/plants/3.jpg) center center no-repeat; // background-size: 100%; // // background-color: rgba(21, 31, 62, 0.74); // background-blend-mode: multiply; box-shadow: 27px 21px 44px 0px rgba(24, 35, 80, 0.18); p { &:nth-child(2) { top: 205px; color: #FCD106; } &:nth-child(3) { // bottom: 137px; // left: 50%; opacity: 1; } } .top { // left: 50%; opacity: 1; } .bot_logo { // left: 50%; opacity: 1; } } } // .two { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%), // url(../../imgs/team_lab/plants/4.jpg) center center no-repeat; // background-size: 100%; // &:hover { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%), // url(../../imgs/team_lab/plants/4.jpg) center center no-repeat; // background-size: 100%; // // background-color: rgba(21, 31, 62, 0.74); // background-blend-mode: multiply; // } // } .thr { background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%), url(../../imgs/team_lab/plants/1.jpg) center center no-repeat; background-size: 100%; // &:hover { // background: linear-gradient(180deg, rgba(30, 43, 95, 0) 0%, rgba(30, 43, 95, 0.55) 100%), // url(../../imgs/team_lab/plants/1.jpg) center center no-repeat; // background-size: 100%; // // background-color: rgba(84, 85, 88, 0.74); // background-blend-mode: multiply; // } } } .stations_detail_cont { width: 100%; .team_pic { width: 100%; display: flex; justify-content: space-between; margin-top: 46px; img { display: block; border-radius: 10px 10px 10px 10px; } .lef { width: 880px; } .rig { width: 374.5px; display: flex; flex-direction: column; justify-content: space-between; img { width: 100%; } } } .bot_swiper { width: 100%; position: relative; .lef { width: 100%; // height: 246.62px; background-color: #F7F7F9; border-radius: 10px 10px 10px 10px; p { margin-left: 42px; width: 1170.88px; text-align: justify; &:nth-child(1) { font-size: 24px; font-family: Source Han Sans, Source Han Sans; font-weight: 700; color: #C70009; line-height: 56px; margin-top: 20px; &::after { content: ""; display: block; width: 73px; height: 2px; background-color: #C70009; } } &:nth-child(2) { position: relative; font-size: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #787878; line-height: 43px; margin-top: 15px; // height: 600px; } } } } } }