webs/fengxiao/css/index.css

551 lines
10 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

body{
margin: 0;
padding: 0;
background:#F1F1F1;
padding-top: 12vh;
}
*{
margin: 0;
padding: 0;
}
.banner{
width: 88%;
height: 85vh;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-around;
}
.banner-left{
width: 86%;
height: 100%;
/* background: palegoldenrod; */
padding: 1vw;
position: relative;
}
.banner-left-video{
border-radius: 18px;
overflow: hidden;
width: 100%;
height: 70vh;
}
.banner-left-title{
width: 50%;
/* height: 10vh; */
/* background: palevioletred; */
position: absolute;
bottom: 10vw;
left:5vw;
color: #fff;
}
.banner-left-title p{
font-size: 4vw;
font-weight: bold;
margin: 0;
font-weight: 400;
padding: 0;
}
.banner-left-title p:last-child{
font-size: 0.8vw;
color: rgba(255, 255, 255, 0.8);
}
.banner-left-button{
position: absolute;
bottom: 10vw;
right:5vw;
background: #fff;
padding: 0.4vw 1vw;
border-radius: 30px;
display: flex;
align-items: center;
cursor: pointer;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
transition: all 0.2s;
}
.banner-left-button:hover{
transform: scale(1.05);
}
.banner-left-button:hover .right-arrow{
border-left: 8px solid #3478FD;
}
.banner-left-button:hover a{
color: #3478FD;
}
.banner-left-button a{
text-decoration: none;
font-size: 0.9vw;
font-weight: 400;
color: #1A2B3C;
}
.right-arrow{
display: inline-block;
margin-left: 6px;
width: 0;
height: 0;
vertical-align: middle;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 8px solid #1A2B3C;
transition: transform 0.2s;
transition: all 0.2s;
}
.banner-right{
width: 30%;
height: 100%;
position: relative;
/* background: palevioletred; */
}
.banner-right-top,.banner-right-bottom{
width: 90%;
height: 40%;
/* background: paleturquoise; */
}
.banner-right-top img{
width: auto;
height: 100%;
}
.banner-right-bottom{
margin-top: 1vw;
}
.banner-right-bottom img{
width: auto;
height: 100%;
}
.right-button-top{
position: absolute;
height: 2.5vh;
top: 24vh;
right: 4vw;
bottom: 0;
}
.right-button{
position: absolute;
bottom: 10vw;
right: 4vw;
}
/* -------------------------------- */
.business{
width: 100%;
height: 80vh;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
background-image: url(../imgs/home/bg1.svg), url(../imgs/home/bg2.svg);
background-size: 100% 75%, 80% 90%; /* 每个背景图片的尺寸 */
background-repeat: no-repeat, no-repeat; /* 每个背景图片是否平铺 */
background-position: 100% 180%,222% 180%; /* 每个背景图片的位置 */
}
/* business区主内容布局 */
.business-content {
width: 88%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 3vw 4vw;
}
.business-text {
width: 50%;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
color: #1A2B3C;
/* background: palegoldenrod; */
margin-right: 3vw;
padding-left: 10%;
}
.business-text h2 {
width: 60%;
font-size: 5vw;
font-weight: 500;
margin-bottom: 1.2vw;
}
.business-text .subtitle {
width: 80%;
font-size: 1vw;
color: #5B5B5B;
margin-bottom: 2vw;
text-align: justify;
font-weight: 500;
}
.business-btn {
width: 5vw;
display: inline-block;
background: #3478FD;
color: #fff;
border-radius: 24px;
padding: 0.6vw 2vw;
font-size: 1vw;
font-weight: 500;
text-decoration: none;
box-shadow: 0 2px 8px rgba(52,120,253,0.08);
transition: background 0.2s, box-shadow 0.2s, color 0.2s;
text-align: center;
transition: all 0.2s;
}
.business-btn:focus,
.business-btn:hover {
color: #fff;
box-shadow: 0 4px 16px rgba(52,120,253,0.18);
transform: scale(1.05);
}
.business-gallery {
width: 45%;
height: 32vw;
min-height: 420px;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
/* background: palegreen; */
}
.gallery-list {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.8s cubic-bezier(.4,0,.2,1);}
.gallery-list img {
width: auto;
height: 23vw;
object-fit: cover;
border-radius: 18px;
box-shadow: 0 4px 24px rgba(52,120,253,0.10);
margin-bottom: 2vw;
background: #f6f8fa;
transition: box-shadow 0.2s, filter 0.2s;
}
.gallery-list img:last-child {
margin-bottom: 0;
}
/* 遮罩层 */
.gallery-mask {
position: absolute;
left: 0;
width: 98%;
height: 48px;
pointer-events: none;
z-index: 2;
}
.gallery-mask.top {
top: -3px;
background:
/* 主扩散渐变 */
linear-gradient(to bottom, rgba(241,241,241,0.92) 60%, rgba(241,241,241,0.0) 100%),
/* 两侧椭圆扩散 */
radial-gradient(ellipse at 20% 0%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%),
radial-gradient(ellipse at 80% 0%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%);
filter: blur(2px);
}
.gallery-mask.bottom {
bottom: -3px;
background:
linear-gradient(to top, rgba(241,241,241,0.92) 60%, rgba(241,241,241,0.0) 100%),
radial-gradient(ellipse at 20% 100%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%),
radial-gradient(ellipse at 80% 100%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%);
filter: blur(2px);
}
/* -----------------AI模型------------------------------- */
.aimodel{
width: 100%;
min-height: 100vh;
margin: 0 auto;
position: relative;
}
.aimodel-bg{
/* width: 100%; */
/* background: palegoldenrod; */
margin: 0;
background:
linear-gradient(
to bottom,
#55BEFF 0%,
#55BEFF 80%,
#f1f1f1 100%
),
url(../imgs/home/bg3.svg);
background-size: 100% 100%, 100% 50%; /* 渐变和图片都铺满 */
background-repeat: no-repeat, no-repeat;
background-position: 0 0, 100% 50%;
}
.aimodel-content{
width: 88%;
/* height: 100%; */
margin: 0 auto;
padding-top: 8vh;
/* background: paleturquoise; */
}
.aimodel-top{
width: 100%;
height: 58vh;
display: flex;
justify-content: center;
/* background: palegoldenrod; */
padding-left: 5vw;
overflow: hidden;
}
.aimodel-top-left{
width: 32vw;
height: 100%;
/* background: palegoldenrod; */
}
.aimodel-top-left img{
width: 32vw;
height: auto;
object-fit: cover;
}
.aimodel-text{
width: 40vw;
height: 100%;
/* background: palegoldenrod; */
display: flex;
flex-direction: column;
justify-content: center;
color: #1A2B3C;
/* background: palegoldenrod; */
margin-right: 1vw;
padding-left: 6%;
}
.aimodel-text h2{
width: 33vw;
font-size: 4.5vw;
font-weight: 500;
color: #fff;
margin: 0;
}
.aimodel-text .subtitle{
width: 32vw;
font-size: 0.95vw;
margin: 0;
margin: 5vh 0;
text-align: justify;
line-height: 3vh;
color: #444444;
}
.aimodel-bottom{
width: 100%;
height: 100vh;
/* background: palegreen; */
}
.aimodel-bottom-list{
width: 100%;
height: 60vh;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.aimodel-bottom-list li{
width: 48%;
height: 35vh;
background: #FFFFFF;
margin-top: 5vh;
list-style: none;
border-radius: 18px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.list-item-imgBox{
width: 15vw;
/* background: palegoldenrod; */
height: 90%;
display: flex;
align-items: center;
justify-content: left;
}
.list-item-imgBox img{
width:auto;
height: 80%;
}
.list-item-text{
width: 20vw;
height: 100%;
padding-top: 10vh;
}
.list-item-text h3{
font-size: 1.5vw;
font-weight: 500;
color: #1A2B3C;
}
.list-item-text p{
font-size: 1.1vw;
color: #5B5B5B;
margin-top: 1vh;
}
.section-divider-img {
position: absolute; /* 或 absolute/fixed视你的布局而定 */
display: block;
width: 100%; /* 或你想要的宽度 */
height: auto;
margin-top: -40px; /* 让图片上移,覆盖在两个色块交界处 */
z-index: 10; /* 保证在背景色之上 */
pointer-events: none; /* 避免挡住鼠标事件 */
top: 58%;
left: 0;
}
/* 优势区 */
.advantage-bg{
width: 100%;
height: 100vh;
background: #FFFFFF;
background: linear-gradient(
to top,
#f1f1f1 0%, /* 顶部蓝色 */
#f1f1f1 80%, /* 蓝色到底部80% */
#f1f1f1 100% /* 渐变到底部的灰色 */
);
/* background: palevioletred; */
margin: 0;
/* margin-top: -1vw; */
box-sizing: border-box;
overflow: hidden;
padding-top: 0;
}
.advantage-content{
width: 88%;
height: 100%;
margin: 0 auto;
/* background: palegoldenrod; */
}
.advantage-content h2{
width: 100%;
font-size: 5vw;
font-weight: 500;
color: #1A2B3D;
text-align: center;
}
.advantage-list{
width: 100%;
height: 50vh;
display: flex;
align-items: center;
justify-content: space-around;
/* background: palegoldenrod; */
}
.advantage-list-item{
width: 23vw;
height: 40vh;
background: #fff;
list-style: none;
border-radius: 18px;
overflow: hidden;
box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.1);
padding: 1vw;
box-sizing: border-box;
text-align: center;
}
.advantage-list-item img{
width: 17vw;
height: auto;
}
.advantage-list-item p{
width: 80%;
margin: 0 auto;
font-size: 1vw;
color: #5B5B5B;
margin-top: 1vh;
text-align: left;
}
.advantage-list-item-img{
width: 70%;
height: 10vh;
display: flex;
align-items: center;
justify-content: space-around;
margin: 0 auto;
padding-left: 2vw;
margin-top: 5vh;
}
.advantage-list-item-img img{
width: 16vw;
height: auto;
}