You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
334 lines
8.7 KiB
334 lines
8.7 KiB
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=375, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>青核 Youthome</title>
|
|
<link rel="stylesheet" href="../colors_and_type.css">
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<style>
|
|
:root {
|
|
--youth-primary: #26C2BB;
|
|
--youth-primary-light: #54CAC5;
|
|
--primary-dark: #1DA9A3;
|
|
--primary-bg: #E6F7F6;
|
|
--bg-page: #F7F8FA;
|
|
--text-title: #1F1F1F;
|
|
--text-body: #595959;
|
|
--text-muted: #8C8C8C;
|
|
--logo-bg: linear-gradient(135deg, #54CAC5 0%, #26C2BB 50%, #1FA8A2 100%);
|
|
--dot-pattern: rgba(38, 194, 187, 0.08);
|
|
|
|
/* =====================================================
|
|
* Traework 设计系统 - 组件规范
|
|
* 圆角 / 间距 / 阴影 / 高度
|
|
* ===================================================== */
|
|
--radius-xs: 4px;
|
|
--radius-sm: 8px; /* 按钮、输入框 */
|
|
--radius-md: 12px; /* 卡片 */
|
|
--radius-lg: 16px; /* 标签、弹窗 */
|
|
--radius-xl: 20px;
|
|
--radius-full: 9999px;
|
|
|
|
/* 组件高度 */
|
|
--height-btn: 44px;
|
|
--height-input: 44px;
|
|
--height-nav-bottom: 64px;
|
|
|
|
/* 间距(4px 基础栅格) */
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-page-x: 16px;
|
|
--space-card: 16px;
|
|
|
|
/* 柔和弥散阴影 */
|
|
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
|
|
--shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.06);
|
|
--shadow-btn: 0 2px 8px rgba(38, 194, 187, 0.25);
|
|
--shadow-btn-hover: 0 4px 16px rgba(38, 194, 187, 0.35);
|
|
--shadow-modal: 0 16px 48px rgba(0, 0, 0, 0.12);
|
|
--shadow-float: 0 4px 24px rgba(0, 0, 0, 0.08);
|
|
|
|
/* 内阴影浮雕(输入框) */
|
|
--shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
--shadow-inset-focus: inset 0 1px 3px rgba(38, 194, 187, 0.08);
|
|
|
|
/* 毛玻璃 */
|
|
--glass-bg: rgba(255, 255, 255, 0.72);
|
|
--glass-blur: blur(20px);
|
|
--glass-border: rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
* {
|
|
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'SF Pro Display', 'Helvetica Neue', sans-serif;
|
|
background: var(--youth-bg-page);
|
|
color: var(--youth-text-primary);
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
overflow-x: hidden;}
|
|
|
|
.splash-container {
|
|
width: 375px;
|
|
height: 812px;
|
|
margin: 0 auto;
|
|
background: var(--youth-bg-page);
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
padding-top: 200px;
|
|
transition: background-color 0.4s ease;
|
|
}
|
|
|
|
/* 背景装饰:极淡点阵 */
|
|
.bg-dots {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: radial-gradient(var(--dot-pattern) 1.5px, transparent 1.5px);
|
|
background-size: 28px 28px;
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 顶部装饰光晕 */
|
|
.bg-glow {
|
|
position: absolute;
|
|
top: -80px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 300px;
|
|
height: 300px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, var(--youth-primary-bg) 0%, transparent 70%);
|
|
opacity: 0.8;
|
|
pointer-events: none;
|
|
filter: blur(20px);
|
|
}
|
|
|
|
/* 品牌区域 */
|
|
.brand-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 2;
|
|
animation: fadeInUp 0.8s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Logo */
|
|
.brand-logo {
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 24px;
|
|
background: var(--logo-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 24px;
|
|
position: relative;
|
|
box-shadow: 0 8px 24px rgba(38, 194, 187, 0.25);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.brand-logo::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 50%;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.brand-logo-char {
|
|
font-size: 44px;
|
|
font-weight: 700;
|
|
color: #FFFFFF;
|
|
letter-spacing: -1px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* 品牌名 */
|
|
.brand-name {
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
letter-spacing: -0.5px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.brand-name .accent {
|
|
color: var(--youth-primary);
|
|
}
|
|
|
|
/* Slogan */
|
|
.brand-slogan {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: var(--youth-text-tertiary);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* 底部版本号 */
|
|
.version-info {
|
|
position: absolute;
|
|
bottom: 48px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: var(--youth-text-tertiary);
|
|
font-weight: 400;
|
|
z-index: 2;
|
|
animation: fadeIn 1s ease-out 0.3s both;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
/* 加载指示点 */
|
|
.loading-dots {
|
|
position: absolute;
|
|
bottom: 88px;
|
|
display: flex;
|
|
gap: 6px;
|
|
animation: fadeIn 1s ease-out 0.5s both;
|
|
}
|
|
|
|
.loading-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--youth-primary);
|
|
opacity: 0.3;
|
|
animation: dotPulse 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
.loading-dot:nth-child(2) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.loading-dot:nth-child(3) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
@keyframes dotPulse {
|
|
0%, 80%, 100% {
|
|
opacity: 0.3;
|
|
transform: scale(1);
|
|
}
|
|
40% {
|
|
opacity: 1;
|
|
transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
|
|
/* SVG 图标统一尺寸 */
|
|
.icon-svg {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1em;
|
|
height: 1em;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
}
|
|
.icon-svg svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
stroke: currentColor;
|
|
}
|
|
/* 侧栏图标 */
|
|
.sidebar-icon .icon-svg { width: 22px; height: 22px; font-size: 22px; }
|
|
/* 社团logo图标 */
|
|
.club-logo .icon-svg { width: 28px; height: 28px; font-size: 28px; color: #fff; }
|
|
/* 头图大图标 */
|
|
.hero-icon .icon-svg { width: 56px; height: 56px; font-size: 56px; opacity: 0.3; }
|
|
/* meta 小图标 */
|
|
.club-meta .icon-svg { width: 12px; height: 12px; font-size: 12px; }
|
|
/* 分类选择网格图标 */
|
|
.cat-option .icon-svg { width: 26px; height: 26px; font-size: 26px; }
|
|
/* logo预览图标 */
|
|
.logo-preview .icon-svg { width: 40px; height: 40px; font-size: 40px; color: #fff; }
|
|
/* 提示图标 */
|
|
.notice-icon .icon-svg { width: 18px; height: 18px; font-size: 18px; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="splash-container" data-dom-id="splash-container">
|
|
<!-- 背景装饰 -->
|
|
<div class="bg-glow"></div>
|
|
<div class="bg-dots"></div>
|
|
|
|
<!-- 品牌区 -->
|
|
|
|
|
|
<!-- 加载指示 -->
|
|
<div class="brand-section" data-editor-id="editor-node-mub1jhrr-1">
|
|
<div class="brand-logo" data-dom-id="brand-logo">
|
|
<span class="brand-logo-char">青</span>
|
|
</div>
|
|
<div class="brand-name" data-dom-id="brand-name">
|
|
青核 <span class="accent">Youthome</span>
|
|
</div>
|
|
<div class="brand-slogan" data-dom-id="brand-slogan">
|
|
发现同校有趣的灵魂
|
|
</div>
|
|
</div><div class="loading-dots">
|
|
<div class="loading-dot"></div>
|
|
<div class="loading-dot"></div>
|
|
<div class="loading-dot"></div>
|
|
</div>
|
|
|
|
<!-- 版本号 -->
|
|
<div class="version-info" data-dom-id="version-info">
|
|
v1.0.0
|
|
</div>
|
|
</div>
|
|
|
|
<script>// 主题切换
|
|
icon.innerHTML = '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>';
|
|
}
|
|
}
|
|
|
|
// 模拟启动跳转:2.5秒后根据登录态分流
|
|
setTimeout(function() {
|
|
// 无登录态进登录页,已登录进首页
|
|
// 这里默认跳转到登录页
|
|
// window.location.href = 'login.html';
|
|
}, 2500);</script>
|
|
</body>
|
|
</html>
|
|
|