放大放大是
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-23 01:33:32 +08:00
parent 4ebfaf7fd0
commit ef5dc0620b

View File

@@ -238,6 +238,32 @@
text-align: left; 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 > * { .banner-cont .swiper-slide .section-content > * {
max-width: 650px; max-width: 650px;
@@ -253,7 +279,6 @@
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
letter-spacing: -1px; letter-spacing: -1px;
animation: fadeInLeft 1s ease-out;
margin-bottom: 0; margin-bottom: 0;
} }
@@ -275,34 +300,65 @@
max-width: 580px; max-width: 580px;
color: rgba(226, 232, 240, 0.85); color: rgba(226, 232, 240, 0.85);
line-height: 1.8; line-height: 1.8;
animation: fadeInLeft 1s ease-out 0.2s both;
} }
/* 轮播文案标签(标题上方的小圆角标签) */ /* 轮播文案标签(标题上方的小圆角标签) */
.banner-tags { .banner-tags {
margin-bottom: 20px; margin-bottom: 20px;
animation: fadeInLeft 1s ease-out 0.1s both;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 10px; gap: 12px;
} }
.banner-tag-pill { .banner-tag-pill {
display: inline-block; display: inline-flex;
padding: 6px 16px; align-items: center;
padding: 8px 18px;
font-size: 13px; font-size: 13px;
border-radius: 999px; border-radius: 20px;
background: rgba(56, 189, 248, 0.15); background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
color: #38BDF8; color: #38BDF8;
border: 1px solid rgba(56, 189, 248, 0.3); border: 1px solid rgba(56, 189, 248, 0.4);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
font-weight: 500; font-weight: 500;
white-space: nowrap; 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 { .banner-cont .btn2 {
animation: fadeInLeft 1s ease-out 0.4s both;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
font-size: 16px; font-size: 16px;