This commit is contained in:
@@ -238,6 +238,32 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* 轮播切换时的动画效果 */
|
||||
.banner-cont .swiper-slide-active .banner-tags {
|
||||
animation: fadeInLeft 0.8s ease-out 0.1s both;
|
||||
}
|
||||
|
||||
.banner-cont .swiper-slide-active h1 {
|
||||
animation: fadeInLeft 0.8s ease-out 0.2s both;
|
||||
}
|
||||
|
||||
.banner-cont .swiper-slide-active .banner-desc {
|
||||
animation: fadeInLeft 0.8s ease-out 0.3s both;
|
||||
}
|
||||
|
||||
.banner-cont .swiper-slide-active .btn2 {
|
||||
animation: fadeInLeft 0.8s ease-out 0.4s both;
|
||||
}
|
||||
|
||||
/* 非激活状态的slide内容透明 */
|
||||
.banner-cont .swiper-slide:not(.swiper-slide-active) .banner-tags,
|
||||
.banner-cont .swiper-slide:not(.swiper-slide-active) h1,
|
||||
.banner-cont .swiper-slide:not(.swiper-slide-active) .banner-desc,
|
||||
.banner-cont .swiper-slide:not(.swiper-slide-active) .btn2 {
|
||||
opacity: 0;
|
||||
transform: translateX(-50px);
|
||||
}
|
||||
|
||||
/* 文字内容容器,实际的左对齐内容 */
|
||||
.banner-cont .swiper-slide .section-content > * {
|
||||
max-width: 650px;
|
||||
@@ -253,7 +279,6 @@
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
letter-spacing: -1px;
|
||||
animation: fadeInLeft 1s ease-out;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -275,34 +300,65 @@
|
||||
max-width: 580px;
|
||||
color: rgba(226, 232, 240, 0.85);
|
||||
line-height: 1.8;
|
||||
animation: fadeInLeft 1s ease-out 0.2s both;
|
||||
}
|
||||
|
||||
/* 轮播文案标签(标题上方的小圆角标签) */
|
||||
.banner-tags {
|
||||
margin-bottom: 20px;
|
||||
animation: fadeInLeft 1s ease-out 0.1s both;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.banner-tag-pill {
|
||||
display: inline-block;
|
||||
padding: 6px 16px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 8px 18px;
|
||||
font-size: 13px;
|
||||
border-radius: 999px;
|
||||
background: rgba(56, 189, 248, 0.15);
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
|
||||
color: #38BDF8;
|
||||
border: 1px solid rgba(56, 189, 248, 0.3);
|
||||
border: 1px solid rgba(56, 189, 248, 0.4);
|
||||
backdrop-filter: blur(10px);
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* 标签发光效果 */
|
||||
.banner-tag-pill::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
||||
transition: left 0.5s ease;
|
||||
}
|
||||
|
||||
.banner-tag-pill:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.banner-tag-pill:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
|
||||
border-color: rgba(56, 189, 248, 0.6);
|
||||
}
|
||||
|
||||
/* 标签图标装饰 */
|
||||
.banner-tag-pill::after {
|
||||
content: '✦';
|
||||
margin-left: 6px;
|
||||
font-size: 10px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* 按钮优化 - 科技感渐变发光效果 */
|
||||
.banner-cont .btn2 {
|
||||
animation: fadeInLeft 1s ease-out 0.4s both;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
font-size: 16px;
|
||||
|
||||
Reference in New Issue
Block a user