重新设计"全场景全栈解决方案"板块为幻灯片展示形式
All checks were successful
continuous-integration/drone/push Build is passing

- 将竖向卡片布局改为上下两层结构
- 上层:7个解决方案标签按钮,支持点击切换
- 下层:幻灯片内容区(左侧文案+右侧图片)
- 添加3秒自动播放功能,支持循环切换
- 添加实时进度条显示播放进度
- 鼠标悬停时暂停,离开时恢复播放
- 采用玻璃态毛玻璃背景和科技感渐变配色
- 优化响应式布局,适配桌面、平板和手机端
- 添加流畅的淡入淡出切换动画和光晕效果

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
yiqiu
2025-11-25 15:51:40 +08:00
parent aee26a0341
commit dcaadf4d81
3 changed files with 592 additions and 73 deletions

View File

@@ -2624,3 +2624,320 @@ html {
#index .qrcode-popup .desc {
color: rgba(203, 213, 225, 0.8);
}
/* ============================================
全场景全栈解决方案 - 新设计(上下两层)
============================================ */
/* 解决方案容器 */
.solution-wrapper {
margin-top: 60px;
position: relative;
}
/* 上层:按钮导航 */
.solution-tabs {
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 40px;
flex-wrap: wrap;
}
.solution-tab {
padding: 12px 32px;
font-size: 16px;
font-weight: 600;
color: rgba(226, 232, 240, 0.8);
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.2);
border-radius: 30px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
/* 按钮光晕效果 */
.solution-tab::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
transform: translate(-50%, -50%);
transition: width 0.5s ease, height 0.5s ease;
}
.solution-tab:hover {
color: #38BDF8;
border-color: rgba(56, 189, 248, 0.4);
background: rgba(15, 23, 42, 0.8);
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}
.solution-tab:hover::before {
width: 200px;
height: 200px;
}
.solution-tab.active {
color: #ffffff;
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
border-color: transparent;
box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}
.solution-tab.active::before {
display: none;
}
/* 下层:幻灯片容器 */
.solution-slider {
position: relative;
min-height: 450px;
overflow: hidden;
}
/* 单个幻灯片 */
.solution-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
opacity: 0;
transform: translateX(100px);
transition: opacity 0.6s ease, transform 0.6s ease;
pointer-events: none;
}
.solution-slide.active {
position: relative;
opacity: 1;
transform: translateX(0);
pointer-events: auto;
}
/* 幻灯片内容区域 */
.solution-content {
display: flex;
align-items: center;
gap: 60px;
padding: 40px;
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(16px);
border: 1px solid rgba(148, 163, 184, 0.15);
border-radius: 20px;
box-shadow:
0 8px 32px rgba(15, 23, 42, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* 左侧文字区域 */
.solution-text {
flex: 1;
min-width: 0;
}
.solution-text h3 {
font-size: 32px;
font-weight: 700;
color: #F9FAFB;
margin-bottom: 12px;
background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.solution-subtitle {
font-size: 16px;
color: rgba(148, 163, 184, 0.9);
margin-bottom: 24px;
font-weight: 500;
}
.solution-desc {
color: rgba(203, 213, 225, 0.85);
line-height: 1.8;
margin-bottom: 32px;
}
.solution-desc p {
margin-bottom: 12px;
font-size: 15px;
}
.solution-desc p:last-child {
margin-bottom: 0;
}
/* 了解详情链接 */
.solution-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 32px;
font-size: 15px;
font-weight: 600;
color: #ffffff;
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
border-radius: 30px;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}
.solution-link:hover {
transform: translateY(-2px);
box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5);
}
.solution-link .icon-arrow-right {
transition: transform 0.3s ease;
}
.solution-link:hover .icon-arrow-right {
transform: translateX(5px);
}
/* 右侧图片区域 */
.solution-image {
flex-shrink: 0;
width: 400px;
height: 350px;
position: relative;
overflow: hidden;
border-radius: 16px;
background: rgba(15, 23, 42, 0.5);
}
.solution-image img {
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(1.1);
transition: transform 0.5s ease;
}
.solution-slide.active .solution-image img {
transform: scale(1.05);
}
/* 图片光晕效果 */
.solution-image::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
}
.solution-slide.active .solution-image::after {
opacity: 1;
}
/* 进度指示器 */
.solution-progress {
margin-top: 40px;
height: 4px;
background: rgba(148, 163, 184, 0.2);
border-radius: 2px;
overflow: hidden;
position: relative;
}
.progress-bar {
height: 100%;
width: 0;
background: linear-gradient(90deg, #38BDF8 0%, #6366F1 100%);
border-radius: 2px;
transition: width 0.1s linear;
}
/* 响应式设计 */
@media (max-width: 1199px) {
.solution-content {
gap: 40px;
padding: 32px;
}
.solution-image {
width: 350px;
height: 300px;
}
.solution-text h3 {
font-size: 28px;
}
}
@media (max-width: 991px) {
.solution-content {
flex-direction: column;
gap: 30px;
}
.solution-image {
width: 100%;
max-width: 500px;
height: 300px;
}
.solution-tabs {
gap: 12px;
}
.solution-tab {
padding: 10px 24px;
font-size: 14px;
}
}
@media (max-width: 767px) {
.solution-wrapper {
margin-top: 40px;
}
.solution-content {
padding: 24px;
}
.solution-text h3 {
font-size: 24px;
}
.solution-subtitle {
font-size: 14px;
}
.solution-desc p {
font-size: 14px;
}
.solution-image {
height: 250px;
}
.solution-slider {
min-height: auto;
}
.solution-tabs {
gap: 8px;
}
.solution-tab {
padding: 8px 20px;
font-size: 13px;
}
}