webs/fengxiao/css/websiteDesign.css

494 lines
9.0 KiB
CSS

.banner{
width: 100%;
height: 160vh;
box-sizing: border-box;
padding-top: 12vh;
/* background: linear-gradient(to bottom, rgba(245, 245, 245, 1) 0%,#C0E0F5 60%, #C0E0F5 100%); */
background: linear-gradient(to bottom, rgba(241, 241, 241, 1) 12vh,#C0E0F5 90vh, #C0E0F5 100%);
}
body,*{
margin: 0;
padding: 0;
}
.banner-top{
width: 100%;
height: 70vh;
background-image: url(../imgs/website/bg.png);
background-size: 38vw auto;
background-position: 89% 0vw;
background-repeat: no-repeat;
margin: 0;
}
.banner-top-content{
box-sizing: border-box;
width: 35%;
height: 60%;
margin-left: 15vw;
color: #1A2B3D;
font-weight: 400;
padding-top: 5vw;
}
.banner-top-content p:nth-child(1){
font-size: 5vw;
margin: 0;
}
.banner-top-content p:nth-child(2){
font-size: 5vw;
margin: 0;
}
.banner-top-content p:nth-child(3){
font-size: 0.95vw;
margin: 0;
color: rgba(0, 0, 0, 0.7);
width: 88%;
margin-top: 1vh;
}
/* .banner-bottom{
width: 100%;
height: 70vh;
}
.carousel-container {
position: relative;
width: 900px;
height: 380px;
margin: 0 auto;
overflow: hidden;
background: transparent;
display: flex;
align-items: center;
justify-content: center;
}
.carousel-track {
display: flex;
transition: transform 0.6s cubic-bezier(.4,0,.2,1);
height: 100%;
}
.carousel-item {
width: 280px;
height: 340px;
background: #fff;
border-radius: 24px;
box-shadow: 0 4px 24px rgba(0,0,0,0.10);
margin: 0 30px;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
overflow: hidden;
}
.carousel-item img {
width: 100%;
height: 75%;
object-fit: cover;
border-radius: 24px 24px 0 0;
}
.carousel-caption {
width: 100%;
text-align: center;
font-size: 20px;
color: #222;
margin-top: 24px;
font-weight: 400;
letter-spacing: 1px;
}
.carousel-fade {
position: absolute;
top: 0;
width: 120px;
height: 100%;
z-index: 2;
pointer-events: none;
}
.carousel-fade.left {
left: 0;
background: linear-gradient(to right, #c0e0f5 80%, rgba(192,224,245,0));
}
.carousel-fade.right {
right: 0;
background: linear-gradient(to left, #c0e0f5 80%, rgba(192,224,245,0));
}
.carousel-dots {
position: absolute;
left: 50%;
bottom: 24px;
transform: translateX(-50%);
display: flex;
gap: 16px;
z-index: 3;
}
.carousel-dots .dot {
width: 16px;
height: 16px;
border-radius: 50%;
background: #fff;
opacity: 0.5;
transition: opacity 0.3s, background 0.3s;
}
.carousel-dots .dot.active {
background: #3478FD;
opacity: 1;
} */
.banner-bottom {
width: 100%;
height: 70vh;
display: flex;
align-items: center;
justify-content: center;
/* background: #f5f9fc; */
position: relative;
}
.carousel-container {
position: relative;
width: 80%;
/* height: 400px; */
margin: 0 auto;
overflow: hidden;
display: flex;
align-items: center;
}
.carousel-track {
display: flex;
transition: transform 0.8s cubic-bezier(0.16, 0.77, 0.58, 0.97);
height: 100%;
align-items: center;
}
.carousel-item {
width: 28vw;
height: 55vh !important;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
margin: 0 20px;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
position: relative;
background: #fff;
box-sizing: border-box;
padding: 1vw;
}
/* 确保中间图片完全清晰的关键修改 */
.carousel-item img {
width: 100%;
height: 80%;
object-fit: cover;
border-radius: 20px 20px 0 0;
/* 明确设置无滤镜 */
filter: none !important;
}
/* 仅对两侧卡片应用模糊效果 */
.carousel-item.left-side img,
.carousel-item.right-side img {
filter: blur(2px) brightness(0.9);
opacity: 0.8;
}
/* 中间卡片保持原始状态 */
.carousel-item.center {
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
/* 确保不继承任何模糊效果 */
filter: none !important;
}
.carousel-caption {
width: 100%;
padding: 20px;
text-align: center;
font-size: 18px;
color: #444444;
font-weight: 500;
background: #fff;
margin-top: 5vh;
}
/* 渐变遮罩 */
.carousel-fade {
position: absolute;
top: 0;
width: 28vw;
height: 100%;
z-index: 5;
pointer-events: none;
}
.carousel-fade.left {
width: 50vw;
left: 0;
background: linear-gradient(to right, #C0E0F5 0%, #C0E0F5 10%, rgba(207, 231, 246, 0) 80%);
}
.carousel-fade.right {
right: 0;
background: linear-gradient(to left, rgba(194, 225, 245, 1) 0%, rgba(245, 249, 252, 0) 80%);
}
/* 指示点放在盒子外部 */
.carousel-dots {
position: absolute;
left: 56%;
bottom: -40px;
transform: translateX(-50%);
display: flex;
gap: 12px;
z-index: 8;
/* background: red; */
}
.carousel-dots .dot {
width: 1vw;
height: 1vw;
border-radius: 50%;
background:#fff;
cursor: pointer;
transition: all 0.3s ease;
}
.carousel-dots .dot.active {
background: rgba(255, 255, 255, 0.5);
transform: scale(1.2);
}
/* --------------网站策划与原型设计--------------------- */
.website-design-content{
width: 100%;
height: 370vh;
background-color: #f1f1f1;
background-image: url(../imgs/home/bg1.svg);
background-size: 100% auto;
background-position: 89% 106%;
background-repeat: no-repeat;
padding-top: 25vh;
}
.list-item{
width: 80%;
height: 50vh;
flex-shrink: 0;
margin: 0 auto;
box-sizing: border-box;
display: flex;
align-items: center;
/* background: palegoldenrod; */
}
.list-item img{
width: 35vw;
height:auto;
}
.list-item div{
width: 40vw;
height:auto;
margin-left: 10vw;
}
.list-item div h3{
font-size: 1.8vw;
font-weight: 600;
color: #1B2A3D;
}
.list-item div p{
width: 70%;
font-size: 1vw;
color: #666;
margin-top: 5vh;
}
.right-arrow{
width: 95%;
/* height: 30vh; */
text-align: center;
/* background: palegoldenrod; */
display: flex;
align-items: center;
justify-content: center;
}
.right-arrow img{
width: 18vw;
height: auto;
}
.left-arrow {
width: 20vw; /* 根据实际需要设置 */
height: auto;
transform: scaleX(-1); /* 或 rotate(180deg) */
}
/* ------------------服务流程--------------------- */
.serviceProcess{
width: 100%;
height: 78vh;
background: linear-gradient(to bottom, #397FF9 0%,#397FF9 50%, #5CB1E5 100%);
padding-top: 10vh;
}
.serviceProcess h3{
width: 100%;
font-size: 3vw;
font-weight: 400;
color: #fff;
text-align: center;
}
.serviceProcess p{
width: 100%;
font-size: 0.9vw;
color: rgba(255, 255, 255, 0.9);
text-align: center;
margin-top: 3vh;
}
.process-list{
width: 90%;
height: 48vh;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
margin-top: 3vh;
}
.process-item{
width: 18vw;
height: 100%;
background: #fff;
list-style: none;
margin-left: 2vw;
border-radius: 18px;
box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
padding: 2vw;
text-align: center;
position: relative;
}
.process-item img{
width:auto;
height: 10vh;
margin-top: 3vh;
}
.process-item h3{
font-size: 1.5vw;
font-weight: 600;
color: #1B2A3D;
margin-top: 3vh;
}
.process-item p{
margin: 0 auto;
width: 82%;
font-size: 0.95vw;
color: #666;
margin-top: 4vh;
text-align: justify;
}
.process-item-number {
position: absolute;
top: -2.5vw;
left: 5.3vw;
width: 5vw;
height: 5vw;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
.process-item-number::before,
.process-item-number::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
border-radius: 50%;
transform: translate(-50%, -50%);
z-index: 0;
}
.process-item-number::before {
width: 4.5vw;
height: 4.5vw;
background: rgba(0, 255, 255, 0.15); /* 外层淡青色光晕 */
}
.process-item-number::after {
width: 3.9vw;
height: 3.9vw;
background: rgba(0, 255, 255, 0.25); /* 中层稍深光晕 */
}
.process-item-number span {
display: flex;
align-items: center;
justify-content: center;
width: 3.2vw;
height: 3.2vw;
border-radius: 50%;
background: #00E6E6; /* 主体青色 */
color: #222;
font-size: 1vw;
font-weight: 500;
z-index: 1;
box-shadow: 0 0 12px 0 rgba(22,230,248,0.18);
font-family: 'Arial', 'Helvetica Neue', Arial, sans-serif;
font-style: italic;
}
/* ---------------- */
.serviceBox{
width: 100%;
height: 30vh;
background: #f1f1f1;
}
.serviceBox-content{
width: 60%;
height: 100%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.serviceBox-content img{
width: 16vw;
height: auto;
}