Files
BlackFruit-UI/css/about.css
yiqiu bbb561012b
All checks were successful
continuous-integration/drone/push Build is passing
refactor: 完全重构 About 页面
- Hero: 降高度、加 ABOUT US badge、横排数据统计
- 关于: 左文右 2x2 SVG 图标卡片
- 核心优势: 合并原 2 个 section → 3x2 序号网格
- 里程碑: 去掉 jQuery SuperSlide → 纯 CSS 竖版时间轴
- 荣誉/客户: 保留后台数据渲染,样式现代化
- CTA: 简化为渐变卡片 + 按钮
- 全面移动端适配
2026-03-18 19:27:04 +08:00

729 lines
13 KiB
CSS

/* ============================================
About 页面 - 全新设计
============================================ */
/* ---- 整体 ---- */
#about {
background: linear-gradient(180deg, #020617 0%, #0F172A 50%, #020617 100%);
min-height: 100vh;
}
/* ============================================
1. Hero Banner
============================================ */
.about-hero {
position: relative;
height: 320px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.about-hero-bg {
position: absolute;
inset: 0;
background:
radial-gradient(ellipse at 25% 40%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
radial-gradient(ellipse at 75% 60%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
z-index: 0;
}
.about-hero-content {
position: relative;
z-index: 1;
text-align: center;
}
.about-hero-badge {
display: inline-block;
padding: 4px 16px;
font-size: 11px;
font-weight: 600;
letter-spacing: 2px;
color: #38BDF8;
border: 1px solid rgba(56, 189, 248, 0.3);
border-radius: 20px;
margin-bottom: 20px;
text-transform: uppercase;
}
.about-hero h1 {
font-size: 52px;
font-weight: 700;
color: #fff;
margin-bottom: 12px;
background: linear-gradient(135deg, #fff 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.about-hero-desc {
font-size: 17px;
color: rgba(203, 213, 225, 0.8);
margin-bottom: 36px;
}
/* 数据统计横排 */
.about-hero-stats {
display: flex;
justify-content: center;
align-items: center;
gap: 0;
}
.stat-item {
display: flex;
flex-direction: column;
align-items: center;
padding: 0 32px;
}
.stat-num {
font-size: 28px;
font-weight: 700;
color: #38BDF8;
line-height: 1.1;
}
.stat-unit {
font-size: 16px;
font-weight: 500;
color: #38BDF8;
}
.stat-label {
font-size: 12px;
color: rgba(148, 163, 184, 0.7);
margin-top: 4px;
letter-spacing: 0.5px;
}
.stat-divider {
width: 1px;
height: 32px;
background: rgba(148, 163, 184, 0.15);
}
/* ============================================
2. 关于我们 — 左文右卡片
============================================ */
.about-intro {
padding: 90px 0;
}
.about-intro-grid {
display: flex;
gap: 60px;
align-items: stretch;
}
.about-intro-text {
flex: 1.1;
min-width: 0;
}
.about-intro-text h2 {
font-size: 32px;
font-weight: 700;
color: #F1F5F9;
margin-bottom: 12px;
background: linear-gradient(135deg, #F1F5F9 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.intro-accent {
width: 48px;
height: 3px;
background: linear-gradient(90deg, #38BDF8, #6366F1);
border-radius: 2px;
margin-bottom: 28px;
}
.about-intro-text p {
font-size: 15px;
line-height: 1.85;
color: rgba(203, 213, 225, 0.82);
margin-bottom: 16px;
text-indent: 2em;
}
/* 右侧 2x2 小卡片 */
.about-intro-visual {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
flex-shrink: 0;
width: 380px;
}
.intro-card {
padding: 24px 20px;
background: rgba(30, 41, 59, 0.55);
border: 1px solid rgba(148, 163, 184, 0.1);
border-radius: 12px;
text-align: center;
transition: all 0.3s ease;
}
.intro-card:hover {
border-color: rgba(56, 189, 248, 0.25);
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.intro-card-icon {
width: 36px;
height: 36px;
margin: 0 auto 12px;
color: #38BDF8;
}
.intro-card-icon svg {
width: 100%;
height: 100%;
}
.intro-card h4 {
font-size: 15px;
font-weight: 600;
color: #E2E8F0;
margin-bottom: 6px;
}
.intro-card p {
font-size: 12px;
color: rgba(148, 163, 184, 0.7);
line-height: 1.4;
}
/* ============================================
3. 核心优势 — 序号 + 标题 + 描述
============================================ */
.about-advantages {
padding: 90px 0;
}
.about-advantages .section-title {
text-align: center;
margin-bottom: 56px;
}
.about-advantages .section-title h2 {
font-size: 32px;
font-weight: 700;
color: #F1F5F9;
margin-bottom: 12px;
background: linear-gradient(135deg, #F1F5F9 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.section-subtitle {
font-size: 15px;
color: rgba(148, 163, 184, 0.7);
margin-top: 8px;
}
.advantages-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.advantage-item {
padding: 36px 28px;
background: rgba(30, 41, 59, 0.5);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 14px;
transition: all 0.3s ease;
position: relative;
}
.advantage-item:hover {
border-color: rgba(56, 189, 248, 0.2);
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.advantage-num {
font-size: 36px;
font-weight: 800;
color: rgba(56, 189, 248, 0.12);
line-height: 1;
margin-bottom: 16px;
font-family: 'Inter', sans-serif;
}
.advantage-item:hover .advantage-num {
color: rgba(56, 189, 248, 0.25);
}
.advantage-item h4 {
font-size: 18px;
font-weight: 600;
color: #E2E8F0;
margin-bottom: 12px;
}
.advantage-item p {
font-size: 14px;
line-height: 1.75;
color: rgba(203, 213, 225, 0.7);
}
/* ============================================
4. 时间轴 — 纯 CSS 竖版
============================================ */
.about-timeline {
padding: 90px 0;
}
.about-timeline .section-title {
text-align: center;
margin-bottom: 56px;
}
.about-timeline .section-title h2 {
font-size: 32px;
font-weight: 700;
color: #F1F5F9;
background: linear-gradient(135deg, #F1F5F9 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.timeline {
position: relative;
max-width: 720px;
margin: 0 auto;
padding-left: 40px;
}
/* 竖线 */
.timeline::before {
content: '';
position: absolute;
left: 7px;
top: 4px;
bottom: 4px;
width: 2px;
background: linear-gradient(180deg, #38BDF8, rgba(99, 102, 241, 0.4), transparent);
border-radius: 2px;
}
.timeline-item {
position: relative;
padding-bottom: 40px;
padding-left: 32px;
}
.timeline-item:last-child {
padding-bottom: 0;
}
/* 圆点 */
.timeline-dot {
position: absolute;
left: -40px;
top: 4px;
width: 16px;
height: 16px;
border-radius: 50%;
background: #0F172A;
border: 2px solid #38BDF8;
box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
z-index: 1;
}
.timeline-item:hover .timeline-dot {
background: #38BDF8;
box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}
.timeline-date {
font-size: 13px;
font-weight: 600;
color: #38BDF8;
letter-spacing: 0.5px;
margin-bottom: 8px;
}
.timeline-content h4 {
font-size: 17px;
font-weight: 600;
color: #E2E8F0;
margin-bottom: 6px;
}
.timeline-content p {
font-size: 14px;
line-height: 1.6;
color: rgba(148, 163, 184, 0.75);
}
/* ============================================
5. 荣誉资质
============================================ */
.about-honors {
padding: 90px 0;
}
.about-honors .section-title {
text-align: center;
margin-bottom: 48px;
}
.about-honors .section-title h2 {
font-size: 32px;
font-weight: 700;
color: #F1F5F9;
background: linear-gradient(135deg, #F1F5F9 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.honors-grid {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.honor-item {
flex: 0 1 calc(25% - 15px);
min-width: 200px;
max-width: 280px;
padding: 28px 20px;
text-align: center;
background: rgba(30, 41, 59, 0.5);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 12px;
transition: all 0.3s ease;
}
.honor-item:hover {
border-color: rgba(56, 189, 248, 0.2);
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.honor-item img {
width: 100%;
max-width: 180px;
height: auto;
border-radius: 6px;
margin-bottom: 12px;
}
.honor-item p {
font-size: 13px;
color: rgba(203, 213, 225, 0.8);
}
/* ============================================
6. 精选客户案例
============================================ */
.about-cases {
padding: 90px 0;
}
.about-cases .section-title {
text-align: center;
margin-bottom: 48px;
}
.about-cases .section-title h2 {
font-size: 32px;
font-weight: 700;
color: #F1F5F9;
background: linear-gradient(135deg, #F1F5F9 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.cases-grid {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.case-item {
flex: 0 1 calc(33.333% - 14px);
min-width: 280px;
max-width: 400px;
padding: 32px;
text-align: center;
background: rgba(30, 41, 59, 0.5);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 14px;
transition: all 0.3s ease;
}
.case-item:hover {
border-color: rgba(56, 189, 248, 0.2);
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.case-item img {
width: 100%;
max-width: 220px;
height: auto;
border-radius: 8px;
margin-bottom: 16px;
}
.case-item h4 {
font-size: 17px;
font-weight: 600;
color: #38BDF8;
margin-bottom: 10px;
}
.case-item p {
font-size: 14px;
color: rgba(203, 213, 225, 0.75);
line-height: 1.6;
}
/* ============================================
7. CTA 联系我们
============================================ */
.about-cta {
padding: 80px 0 100px;
}
.cta-inner {
text-align: center;
padding: 60px 40px;
background:
radial-gradient(ellipse at 30% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
rgba(30, 41, 59, 0.4);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 20px;
}
.cta-inner h2 {
font-size: 30px;
font-weight: 700;
color: #F1F5F9;
margin-bottom: 8px;
background: linear-gradient(135deg, #F1F5F9 30%, #38BDF8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.cta-inner > p {
font-size: 16px;
color: rgba(148, 163, 184, 0.7);
margin-bottom: 28px;
}
.cta-features {
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
margin-bottom: 32px;
flex-wrap: wrap;
}
.cta-features span {
font-size: 14px;
color: rgba(203, 213, 225, 0.7);
}
.cta-dot {
width: 4px;
height: 4px;
border-radius: 50%;
background: rgba(148, 163, 184, 0.3);
}
.cta-btn {
display: inline-block;
padding: 12px 40px;
font-size: 15px;
font-weight: 600;
color: #fff;
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
border-radius: 10px;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}
.cta-btn:hover {
transform: translateY(-2px);
box-shadow: 0 12px 32px rgba(56, 189, 248, 0.4);
}
/* ============================================
移动端适配
============================================ */
@media (max-width: 768px) {
.about-hero {
height: 260px;
}
.about-hero h1 {
font-size: 32px;
}
.about-hero-desc {
font-size: 14px;
margin-bottom: 24px;
}
.about-hero-stats {
flex-wrap: wrap;
gap: 12px;
}
.stat-item {
padding: 0 16px;
}
.stat-num {
font-size: 22px;
}
.stat-divider {
display: none;
}
/* 关于 */
.about-intro {
padding: 60px 0;
}
.about-intro-grid {
flex-direction: column;
gap: 32px;
}
.about-intro-visual {
width: 100%;
}
.about-intro-text h2 {
font-size: 24px;
}
/* 优势 */
.about-advantages {
padding: 60px 0;
}
.advantages-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.about-advantages .section-title h2 {
font-size: 24px;
}
/* 时间轴 */
.about-timeline {
padding: 60px 0;
}
.about-timeline .section-title h2 {
font-size: 24px;
}
.timeline {
padding-left: 32px;
}
.timeline-item {
padding-left: 24px;
}
/* 荣誉 */
.about-honors {
padding: 60px 0;
}
.honor-item {
flex: 0 1 calc(50% - 10px);
min-width: 140px;
}
.about-honors .section-title h2 {
font-size: 24px;
}
/* 客户案例 */
.about-cases {
padding: 60px 0;
}
.case-item {
flex: 0 1 100%;
min-width: auto;
}
.about-cases .section-title h2 {
font-size: 24px;
}
/* CTA */
.about-cta {
padding: 40px 0 60px;
}
.cta-inner {
padding: 40px 20px;
}
.cta-inner h2 {
font-size: 22px;
}
.cta-features {
flex-direction: column;
gap: 8px;
}
.cta-dot {
display: none;
}
}
@media (max-width: 480px) {
.about-hero {
height: 220px;
}
.about-hero h1 {
font-size: 26px;
}
.about-intro-visual {
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.intro-card {
padding: 16px 12px;
}
.advantage-item {
padding: 24px 20px;
}
}