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.
 
 

369 lines
10 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-bg: #E6F7F6;
--bg-page: #F7F8FA;
--text-title: #1F1F1F;
--text-body: #595959;
--text-muted: #8C8C8C;
--icon-bg: #F0F1F3;
--icon-color: #BFBFBF;
--btn-gradient: linear-gradient(135deg, #54CAC5 0%, #26C2BB 50%, #1FA8A2 100%);
--num-color: rgba(38, 194, 187, 0.12);
/* =====================================================
* 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-secondary);
min-height: 100vh;
overflow: hidden;
overflow-x: hidden;}
.notfound-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: center;
padding: 0 32px;
transition: background-color 0.3s ease;
}
/* 大数字404背景 */
.bg-number {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -60%);
font-size: 160px;
font-weight: 900;
color: var(--num-color);
letter-spacing: -4px;
pointer-events: none;
user-select: none;
z-index: 0;
}
/* 图标区 */
.icon-wrap {
width: 88px;
height: 88px;
border-radius: 50%;
background: var(--youth-bg-input);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 24px;
position: relative;
z-index: 1;
}
.icon-wrap svg {
color: var(--icon-color);
}
/* 标题 */
.nf-title {
font-size: 18px;
font-weight: 700;
color: var(--youth-text-primary);
margin-bottom: 8px;
text-align: center;
z-index: 1;
position: relative;
}
/* 描述 */
.nf-desc {
font-size: 14px;
color: var(--youth-text-tertiary);
text-align: center;
line-height: 1.6;
margin-bottom: 28px;
max-width: 260px;
z-index: 1;
position: relative;
}
/* 返回首页按钮 */
.home-btn {
min-width: 160px;
height: 44px;
padding: 0 28px;
border: none;
border-radius: 8px;
background: var(--youth-gradient-primary);
color: #FFFFFF;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
box-shadow: 0 4px 12px rgba(38, 194, 187, 0.25);
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
z-index: 1;
}
.home-btn::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;
}
.home-btn:active {
transform: scale(0.96);
box-shadow: 0 2px 6px rgba(38, 194, 187, 0.2);
}
/* 次级操作 */
.secondary-actions {
display: flex;
align-items: center;
gap: 24px;
margin-top: 16px;
z-index: 1;
position: relative;
}
.sec-action {
font-size: 13px;
color: var(--youth-text-tertiary);
cursor: pointer;
transition: color 0.2s ease;
display: flex;
align-items: center;
gap: 4px;
}
.sec-action:active {
color: var(--youth-primary);
}
/* 底部品牌 */
.brand-footer {
position: absolute;
bottom: 40px;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
z-index: 1;
}
.footer-logo {
width: 32px;
height: 32px;
border-radius: 8px;
background: var(--youth-gradient-primary);
display: flex;
align-items: center;
justify-content: center;
color: #FFFFFF;
font-size: 14px;
font-weight: 700;
opacity: 0.3;
position: relative;
overflow: hidden;
}
.footer-logo::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
}
.footer-text {
font-size: 11px;
color: var(--youth-text-tertiary);
opacity: 0.6;
}
/* 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="notfound-container" data-dom-id="notfound-container">
<!-- 背景大数字 -->
<div class="bg-number">404</div>
<!-- 图标 -->
<div class="icon-wrap" data-dom-id="nf-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
<polyline points="14 2 14 8 20 8"></polyline>
<line x1="9" y1="15" x2="15" y2="15"></line>
<line x1="9" y1="18" x2="13" y2="18"></line>
</svg>
</div>
<!-- 标题 -->
<div class="nf-title">该内容已不存在</div>
<!-- 描述 -->
<div class="nf-desc">内容可能已被删除、活动已下架<br/>或账号已注销</div>
<!-- 返回首页按钮 -->
<button class="home-btn" data-dom-id="btn-home" onclick="goHome()">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path>
</svg>
返回首页
</button>
<!-- 次级操作 -->
<div class="secondary-actions">
<div class="sec-action" data-dom-id="btn-back" onclick="goBack()">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="15 18 9 12 15 6"></polyline>
</svg>
返回上一页
</div>
<div class="sec-action" data-dom-id="btn-feedback" onclick="feedback()">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>
</svg>
反馈问题
</div>
</div>
<!-- 底部品牌 -->
<div class="brand-footer">
<div class="footer-logo">青</div>
<div class="footer-text">青核 Youthome</div>
</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>';
}
}
// 返回首页
function goHome() {
window.location.href = 'home-feed.html';
}
// 返回上一页
function goBack() {
window.history.back();
}
// 反馈
function feedback() {
alert('感谢您的反馈,我们会尽快处理');
}</script>
</body>
</html>