style: SplashView 暗黑金改国聘红国企风
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cfb9ed8dfd
commit
bf151d180c
|
|
@ -12,7 +12,6 @@
|
|||
</div>
|
||||
<nav class="header-nav">
|
||||
<span class="nav-item" @click="router.push('/home')">首页</span>
|
||||
<span class="nav-item" @click="router.push('/jobs')">职位列表</span>
|
||||
<span class="nav-item" @click="router.push('/companies')">公司介绍</span>
|
||||
</nav>
|
||||
<div class="header-actions">
|
||||
|
|
@ -125,7 +124,6 @@
|
|||
</div>
|
||||
<p class="footer-copy">Copyright © 集团招聘平台 · All Rights Reserved · 为国家建设输送优秀人才</p>
|
||||
<div class="footer-links">
|
||||
<span @click="router.push('/jobs')">职位列表</span>
|
||||
<span @click="router.push('/companies')">公司介绍</span>
|
||||
<span @click="router.push('/login')">登录</span>
|
||||
</div>
|
||||
|
|
@ -144,8 +142,8 @@ const router = useRouter()
|
|||
|
||||
.splash-page {
|
||||
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||||
background: #0a0a0a;
|
||||
color: #fff;
|
||||
background: var(--bg-page);
|
||||
color: var(--text-main);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -160,9 +158,10 @@ const router = useRouter()
|
|||
height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
backdrop-filter: blur(12px);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-bottom: 1px solid var(--border);
|
||||
box-shadow: 0 1px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
.header-inner {
|
||||
width: 100%;
|
||||
|
|
@ -179,7 +178,7 @@ const router = useRouter()
|
|||
.logo-icon {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
background: linear-gradient(135deg, #B8860B, #8B6407);
|
||||
background: linear-gradient(135deg, #C8161D, #8B1014);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -190,35 +189,35 @@ const router = useRouter()
|
|||
}
|
||||
.logo-icon.sm { width: 28px; height: 28px; font-size: 13px; border-radius: 6px; }
|
||||
.logo-text { display: flex; flex-direction: column; }
|
||||
.logo-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }
|
||||
.logo-en { font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; }
|
||||
.logo-title { font-size: 15px; font-weight: 700; color: var(--text-main); line-height: 1.2; }
|
||||
.logo-en { font-size: 10px; color: var(--brand-red); opacity: 0.7; letter-spacing: 0.1em; }
|
||||
|
||||
.header-nav { display: flex; gap: 36px; }
|
||||
.nav-item {
|
||||
font-size: 14px;
|
||||
color: rgba(255,255,255,0.8);
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
.nav-item:hover { color: #D4AF37; }
|
||||
.nav-item:hover { color: var(--brand-red); }
|
||||
|
||||
.header-actions { display: flex; gap: 12px; }
|
||||
.btn-outline {
|
||||
padding: 7px 20px;
|
||||
border: 1px solid rgba(255,255,255,0.4);
|
||||
border: 1px solid var(--border);
|
||||
background: transparent;
|
||||
color: rgba(255,255,255,0.85);
|
||||
color: var(--text-main);
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
font-family: inherit;
|
||||
}
|
||||
.btn-outline:hover { border-color: #D4AF37; color: #D4AF37; }
|
||||
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); }
|
||||
.btn-solid {
|
||||
padding: 7px 20px;
|
||||
background: linear-gradient(135deg, #B8860B, #8B6407);
|
||||
background: var(--brand-red);
|
||||
border: none;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
|
|
@ -243,14 +242,13 @@ const router = useRouter()
|
|||
.hero-bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
/* 模拟建筑照片的深色调背景 */
|
||||
/* 国聘红渐变背景 */
|
||||
background:
|
||||
linear-gradient(160deg,
|
||||
#0d1b2a 0%,
|
||||
#1a2744 25%,
|
||||
#0f1f35 50%,
|
||||
#0d1520 75%,
|
||||
#060e18 100%
|
||||
#C8161D 0%,
|
||||
#A11218 35%,
|
||||
#8B1014 70%,
|
||||
#6B0C10 100%
|
||||
);
|
||||
}
|
||||
.hero-overlay {
|
||||
|
|
@ -278,8 +276,8 @@ const router = useRouter()
|
|||
background: linear-gradient(
|
||||
to bottom,
|
||||
transparent,
|
||||
rgba(184, 134, 11, 0.15) 30%,
|
||||
rgba(184, 134, 11, 0.08) 70%,
|
||||
rgba(255,255,255,0.18) 30%,
|
||||
rgba(255,255,255,0.08) 70%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
|
@ -302,8 +300,8 @@ const router = useRouter()
|
|||
height: 400px;
|
||||
background: radial-gradient(
|
||||
ellipse,
|
||||
rgba(184, 134, 11, 0.18) 0%,
|
||||
rgba(184, 134, 11, 0.05) 50%,
|
||||
rgba(255,255,255,0.22) 0%,
|
||||
rgba(255,255,255,0.06) 50%,
|
||||
transparent 70%
|
||||
);
|
||||
pointer-events: none;
|
||||
|
|
@ -319,13 +317,13 @@ const router = useRouter()
|
|||
.hero-badge {
|
||||
display: inline-block;
|
||||
padding: 5px 18px;
|
||||
border: 1px solid rgba(184, 134, 11, 0.6);
|
||||
border: 1px solid rgba(255,255,255,0.7);
|
||||
border-radius: 20px;
|
||||
font-size: 13px;
|
||||
color: #D4AF37;
|
||||
color: #fff;
|
||||
letter-spacing: 0.15em;
|
||||
margin-bottom: 28px;
|
||||
background: rgba(184, 134, 11, 0.08);
|
||||
background: rgba(255,255,255,0.12);
|
||||
}
|
||||
.hero-slogan {
|
||||
font-size: 56px;
|
||||
|
|
@ -349,9 +347,9 @@ const router = useRouter()
|
|||
}
|
||||
.btn-primary-lg {
|
||||
padding: 14px 42px;
|
||||
background: linear-gradient(135deg, #B8860B, #D4AF37);
|
||||
background: #FFFFFF;
|
||||
border: none;
|
||||
color: #fff;
|
||||
color: var(--brand-red);
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
|
|
@ -362,11 +360,11 @@ const router = useRouter()
|
|||
align-items: center;
|
||||
gap: 8px;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
box-shadow: 0 4px 20px rgba(184,134,11,0.4);
|
||||
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
|
||||
}
|
||||
.btn-primary-lg:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 28px rgba(184,134,11,0.5);
|
||||
box-shadow: 0 8px 28px rgba(0,0,0,0.28);
|
||||
}
|
||||
.btn-arrow { font-size: 18px; }
|
||||
.btn-secondary-lg {
|
||||
|
|
@ -412,9 +410,9 @@ const router = useRouter()
|
|||
|
||||
/* ── 数据亮点 ── */
|
||||
.stats-section {
|
||||
background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
|
||||
border-top: 1px solid rgba(184,134,11,0.25);
|
||||
border-bottom: 1px solid rgba(184,134,11,0.25);
|
||||
background: #FFFFFF;
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 48px 0;
|
||||
}
|
||||
.stats-inner {
|
||||
|
|
@ -428,29 +426,29 @@ const router = useRouter()
|
|||
.stat-num {
|
||||
font-size: 44px;
|
||||
font-weight: 900;
|
||||
color: #D4AF37;
|
||||
color: var(--brand-red);
|
||||
line-height: 1;
|
||||
margin-bottom: 8px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.stat-plus { font-size: 24px; }
|
||||
.stat-label { font-size: 14px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; }
|
||||
.stat-label { font-size: 14px; color: var(--text-muted); letter-spacing: 0.08em; }
|
||||
.stat-divider {
|
||||
width: 1px;
|
||||
height: 48px;
|
||||
background: rgba(184,134,11,0.2);
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
/* ── 特色区 ── */
|
||||
.features-section {
|
||||
background: #0d0d0d;
|
||||
background: var(--bg-page);
|
||||
padding: 96px 48px;
|
||||
}
|
||||
.features-inner { width: 100%; }
|
||||
.section-label {
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #D4AF37;
|
||||
color: var(--brand-red);
|
||||
letter-spacing: 0.2em;
|
||||
margin-bottom: 12px;
|
||||
text-transform: uppercase;
|
||||
|
|
@ -459,7 +457,7 @@ const router = useRouter()
|
|||
text-align: center;
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
color: var(--text-main);
|
||||
margin: 0 0 56px;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
|
@ -469,15 +467,16 @@ const router = useRouter()
|
|||
gap: 24px;
|
||||
}
|
||||
.feature-card {
|
||||
background: #161616;
|
||||
border: 1px solid rgba(184,134,11,0.15);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 36px 24px;
|
||||
text-align: center;
|
||||
transition: border-color 0.25s, transform 0.25s;
|
||||
box-shadow: 0 1px 6px rgba(0,0,0,0.04);
|
||||
}
|
||||
.feature-card:hover {
|
||||
border-color: rgba(184,134,11,0.5);
|
||||
border-color: var(--brand-red);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
.feature-icon {
|
||||
|
|
@ -487,21 +486,21 @@ const router = useRouter()
|
|||
.feature-card h3 {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
color: var(--text-main);
|
||||
margin: 0 0 12px;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.feature-card p {
|
||||
font-size: 13px;
|
||||
color: rgba(255,255,255,0.45);
|
||||
color: var(--text-muted);
|
||||
line-height: 1.8;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ── 底部 ── */
|
||||
.splash-footer {
|
||||
background: #060606;
|
||||
border-top: 1px solid rgba(255,255,255,0.06);
|
||||
background: #1D2129;
|
||||
border-top: 1px solid var(--brand-red);
|
||||
padding: 32px 48px;
|
||||
}
|
||||
.footer-inner {
|
||||
|
|
@ -515,11 +514,11 @@ const router = useRouter()
|
|||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 14px;
|
||||
color: rgba(255,255,255,0.5);
|
||||
color: rgba(255,255,255,0.7);
|
||||
}
|
||||
.footer-copy {
|
||||
font-size: 12px;
|
||||
color: rgba(255,255,255,0.25);
|
||||
color: rgba(255,255,255,0.4);
|
||||
margin: 0;
|
||||
}
|
||||
.footer-links {
|
||||
|
|
@ -528,9 +527,9 @@ const router = useRouter()
|
|||
}
|
||||
.footer-links span {
|
||||
font-size: 12px;
|
||||
color: rgba(255,255,255,0.35);
|
||||
color: rgba(255,255,255,0.6);
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.footer-links span:hover { color: #D4AF37; }
|
||||
.footer-links span:hover { color: var(--brand-red-3); }
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue