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.
 
 

759 lines
27 KiB

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, 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>
* {
-webkit-tap-highlight-color: transparent;
box-sizing: border-box;
}
:root {
/* 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: 64px;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--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.03);
--glass-bg: rgba(255, 255, 255, 0.72);
--glass-blur: blur(20px);
--glass-border: rgba(255, 255, 255, 0.3);
}
body {
font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--youth-bg-page);
color: var(--youth-text-primary);
margin: 0;
padding: 0;
overflow: hidden;
overflow-x: hidden;}
/* 页面容器 - 固定812px高度 */
.app-container {
width: 375px;
height: 812px;
margin: 0 auto;
position: relative;
overflow: hidden;
background: var(--youth-bg-page);
display: flex;
flex-direction: column;
}
/* 状态栏 */
.status-bar {
height: 36px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
font-size: 14px;
font-weight: 600;
color: #fff;
flex-shrink: 0;
z-index: 100;
position: relative;
}
.status-bar .right-icons {
display: flex;
align-items: center;
gap: 6px;
}
/* 背景内容层(模拟被遮挡的底层页面) */
.bg-content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
filter: blur(8px);
-webkit-filter: blur(8px);
transform: scale(1.05);
z-index: 1;
}
/* 深色遮罩 */
/* 模拟动态列表背景 */
.mock-feed {
width: 100%;
height: 100%;
background: var(--youth-bg-page);
padding-top: 44px;
}
.mock-nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-bottom: 1px solid var(--youth-border-light);
}
.mock-nav-title {
font-size: 18px;
font-weight: 600;
color: var(--youth-text-primary);
}
.mock-feed-item {
padding: 16px;
border-bottom: 1px solid var(--youth-border-light);
}
.mock-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--youth-gradient-primary);
display: inline-block;
vertical-align: top;
margin-right: 12px;
}
.mock-feed-content {
display: inline-block;
width: calc(100% - 56px);
vertical-align: top;
}
.mock-feed-name {
font-size: 14px;
font-weight: 600;
color: var(--youth-text-primary);
margin-bottom: 4px;
}
.mock-feed-text {
font-size: 13px;
color: var(--youth-muted-foreground);
line-height: 1.5;
margin-bottom: 8px;
}
.mock-feed-img {
width: 100%;
height: 180px;
border-radius: 12px;
background: linear-gradient(135deg, var(--youth-primary-100) 0%, var(--youth-primary-200) 100%);
}
.mock-tab-bar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 83px;
background: var(--youth-bg-card);
border-top: 1px solid var(--youth-border-light);
display: flex;
align-items: flex-start;
justify-content: space-around;
padding-top: 8px;
}
.mock-tab-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
font-size: 10px;
color: var(--youth-muted-foreground);
}
.mock-tab-icon {
width: 24px;
height: 24px;
border-radius: 6px;
background: var(--youth-secondary);
}
/* 毛玻璃弹窗蒙层 */
.dark-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.45);
z-index: 998;
opacity: 0;
}
/* 弹窗 */
.locked-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
width: 300px;
background: #fff;
border-radius: 20px;
padding: 0 0 20px;
z-index: 999;
opacity: 0;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
box-sizing: border-box;
overflow: hidden;
}
/* 顶部装饰条 */
.modal-top-decoration {
height: 100px;
background: linear-gradient(135deg, rgba(38, 194, 187, 0.15) 0%, rgba(38, 194, 187, 0.04) 100%);
position: relative;
display: flex;
align-items: flex-end;
justify-content: center;
overflow: visible;
border-bottom: 1px solid var(--youth-border-lighter);
}
.modal-top-decoration::before {
content: '';
position: absolute;
top: -40px;
right: -20px;
width: 140px;
height: 140px;
border-radius: 50%;
background: rgba(38, 194, 187, 0.1);
}
.modal-top-decoration::after {
content: '';
position: absolute;
bottom: -35px;
left: -20px;
width: 90px;
height: 90px;
border-radius: 50%;
background: rgba(38, 194, 187, 0.07);
}
.top-deco-icon {
position: absolute;
bottom: -28px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
width: 56px;
height: 56px;
border-radius: 16px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 20px rgba(38, 194, 187, 0.25);
color: var(--youth-primary);
border: 1px solid var(--youth-border-lighter);
}
.top-deco-icon svg {
width: 26px;
height: 26px;
}
@keyframes modalIn {
0% {
opacity: 0;
transform: translate(-50%, -50%) scale(0.9);
}
100% {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}
/* 锁形图标区域 - 移到顶部装饰条里 */
.lock-icon-wrapper {
display: none;
}
.lock-icon-glow {
display: none;
}
.lock-icon-container {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.lock-icon-svg {
width: 26px;
height: 26px;
color: var(--youth-primary);
}
/* 标题 */
.modal-title {
font-size: 18px;
font-weight: 700;
color: var(--youth-text-primary);
text-align: center;
margin-top: 40px;
margin-bottom: 6px;
line-height: 1.3;
padding: 0 20px;
}
/* 副标题 */
.modal-subtitle {
font-size: 12px;
color: var(--youth-muted-foreground);
text-align: center;
line-height: 1.6;
margin-bottom: 18px;
padding: 0 24px;
}
/* 认证解锁进度提示 */
.progress-hint {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: 0 24px 16px;
padding: 8px 12px;
background: var(--youth-primary-50);
border-radius: 8px;
font-size: 11px;
color: var(--youth-primary-dark);
}
.progress-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--youth-primary);
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
/* 权益列表 - 竖向排列 */
.benefits-grid {
display: flex;
flex-direction: column;
gap: 8px;
margin: 0 20px 16px;
}
.benefit-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 10px;
background: var(--youth-bg-muted);
box-sizing: border-box;
position: relative;
overflow: hidden;
transition: all 0.2s ease;
}
.benefit-item::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: linear-gradient(180deg, var(--youth-primary) 0%, var(--youth-primary-light) 100%);
border-radius: 0 2px 2px 0;
}
.benefit-icon {
width: 26px;
height: 26px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
color: var(--youth-primary);
background: var(--youth-primary-50);
margin-left: 4px;
}
.benefit-icon svg {
width: 14px;
height: 14px;
}
.benefit-text {
font-size: 12px;
font-weight: 500;
color: var(--youth-text-primary);
line-height: 1.4;
flex: 1;
}
.benefit-check {
width: 16px;
height: 16px;
color: var(--youth-primary);
flex-shrink: 0;
}
/* 隐私承诺 */
.privacy-note {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
margin: 0 20px 14px;
font-size: 10.5px;
color: var(--youth-muted-foreground);
line-height: 1.4;
text-align: center;
}
.privacy-note svg {
flex-shrink: 0;
width: 12px;
height: 12px;
color: var(--youth-primary);
}
/* 主按钮 */
.btn-primary {
width: calc(100% - 40px);
margin: 0 20px 8px;
padding: 13px 20px;
background: linear-gradient(135deg, #26C2BB 0%, #1FB5AE 100%);
color: #fff;
border: none;
border-radius: 12px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
box-sizing: border-box;
box-shadow: 0 4px 14px rgba(38, 194, 187, 0.3);
letter-spacing: 0.5px;
}
.btn-primary:active {
transform: scale(0.97);
opacity: 0.9;
box-shadow: 0 2px 8px rgba(38, 194, 187, 0.25);
}
/* 次按钮 */
.btn-secondary {
width: calc(100% - 40px);
margin: 0 20px;
padding: 10px 20px;
background: transparent;
color: var(--youth-gray-500);
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-secondary:active {
opacity: 0.7;
}
/* 太阳/月亮图标切换 */
.sun-icon, .moon-icon {
width: 18px;
height: 18px;
}
/* 深色模式下弹窗背景更深 */
/* 深色模式下权益标签微调 */
/* 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="app-container">
<!-- 状态栏 -->
<div class="status-bar">
<span>9:41</span>
<div class="right-icons">
<svg width="17" height="11" viewBox="0 0 17 11" fill="currentColor">
<rect x="0" y="7" width="3" height="4" rx="0.5"></rect>
<rect x="4.5" y="5" width="3" height="6" rx="0.5"></rect>
<rect x="9" y="2.5" width="3" height="8.5" rx="0.5"></rect>
<rect x="13.5" y="0" width="3" height="11" rx="0.5"></rect>
</svg>
<svg width="15" height="11" viewBox="0 0 15 11" fill="currentColor">
<path d="M7.5 11C6.9 11 6.4 10.8 6 10.4C5.2 9.6 5 8.6 5.4 7.6C5.8 6.6 6.8 6 7.8 6C9 6 10 6.8 10.2 8C10.4 8.8 10 9.6 9.4 10.2C8.9 10.7 8.2 11 7.5 11ZM7.5 4.5C6 4.5 4.5 5 3.4 6.2C2.3 7.4 2 9 2.4 10.4C2.5 10.8 2.8 11 3.2 11C3.5 11 3.8 10.8 3.9 10.5C4.2 9.5 4.8 8.6 5.7 8C6.6 7.4 7.6 7.1 8.6 7.2C9.8 7.3 10.9 7.8 11.6 8.7C12.3 9.6 12.6 10.7 12.4 11.8L12.4 12C12.3 12.4 12.6 12.7 13 12.8C13.4 12.9 13.7 12.6 13.8 12.2C14.1 10.5 13.5 8.8 12.4 7.5C11.3 6.2 9.6 5.3 7.8 4.9L7.5 4.5Z"></path>
<path d="M7.5 1C5.3 1 3.2 1.7 1.5 3C-0.5 4.7 -0.5 7.5 1.5 9.2C1.9 9.6 2.5 9.6 2.9 9.2C3.3 8.8 3.3 8.2 2.9 7.8C1.6 6.5 1.6 4.4 2.9 3.1C4.2 1.8 6.3 1.4 8 2C10.1 2.7 11.7 4.4 12.2 6.5C12.5 7.3 12.4 8.1 11.8 8.7C11.4 9.1 11.4 9.7 11.8 10.1C12.2 10.5 12.8 10.5 13.2 10.1C14.2 9.1 14.5 7.7 14.2 6.3C13.6 4 12.1 2.3 10.2 1.3C9.3 1 8.4 0.9 7.5 1Z"></path>
</svg>
<svg width="25" height="12" viewBox="0 0 25 12" fill="none">
<rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="currentColor" opacity="0.5"></rect>
<rect x="2" y="2" width="18" height="8" rx="1.5" fill="currentColor"></rect>
<rect x="22.5" y="4" width="1.5" height="4" rx="0.5" fill="currentColor" opacity="0.5"></rect>
</svg>
</div>
</div>
<!-- 背景内容层(模糊的模拟动态页) -->
<div class="bg-content">
<div class="mock-feed">
<div class="mock-nav">
<div class="mock-nav-title">校园动态</div>
<div style="width:24px;height:24px;border-radius:50%;background:var(--youth-secondary);"></div>
</div>
<div class="mock-feed-item">
<div class="mock-avatar"></div>
<div class="mock-feed-content">
<div class="mock-feed-name">小林同学 · 清华大学</div>
<div class="mock-feed-text">今天图书馆自习,有人一起吗?<span class="icon-svg icon-book-open"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg></span> 期末复习加油!</div>
<div class="mock-feed-img"></div>
</div>
</div>
<div class="mock-feed-item">
<div class="mock-avatar" style="background: linear-gradient(135deg, #FFB84D 0%, #FF9500 100%);"></div>
<div class="mock-feed-content">
<div class="mock-feed-name">阿杰 · 北京大学</div>
<div class="mock-feed-text">周末组局打篮球,五缺一<span class="icon-svg icon-trophy"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9H4.5a2.5 2.5 0 0 1 0-5H6"></path><path d="M18 9h1.5a2.5 2.5 0 0 0 0-5H18"></path><path d="M4 22h16"></path><path d="M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22"></path><path d="M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22"></path><path d="M18 2H6v7a6 6 0 0 0 12 0V2Z"></path></svg></span> 地点:五四体育场</div>
</div>
</div>
<div class="mock-feed-item">
<div class="mock-avatar" style="background: linear-gradient(135deg, #7B8CFF 0%, #5E5CE6 100%);"></div>
<div class="mock-feed-content">
<div class="mock-feed-name">思琪 · 复旦大学</div>
<div class="mock-feed-text">分享今天的晚霞,真的太美了🌅</div>
<div class="mock-feed-img" style="background: linear-gradient(135deg, #FFD4A3 0%, #FF8EC7 100%);"></div>
</div>
</div>
<div class="mock-tab-bar">
<div class="mock-tab-item">
<div class="mock-tab-icon"></div>
<span>首页</span>
</div>
<div class="mock-tab-item">
<div class="mock-tab-icon"></div>
<span>交友</span>
</div>
<div class="mock-tab-item">
<div class="mock-tab-icon"></div>
<span>组局</span>
</div>
<div class="mock-tab-item">
<div class="mock-tab-icon"></div>
<span>消息</span>
</div>
<div class="mock-tab-item">
<div class="mock-tab-icon"></div>
<span>我的</span>
</div>
</div>
</div>
</div>
<!-- 深色遮罩 -->
<div class="dark-overlay"></div>
<!-- 毛玻璃弹窗 -->
<div class="locked-modal">
<!-- 顶部装饰条 -->
<div class="modal-top-decoration" style="height: 64px;">
<div class="top-deco-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>
</svg>
</div>
</div>
<!-- 锁形图标(保留 DOM 结构用于交互) -->
<div class="lock-icon-wrapper" data-dom-id="lock-icon" style="display:none;">
<div class="lock-icon-glow"></div>
<div class="lock-icon-container">
<svg class="lock-icon-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
<path d="M7 11V7a5 5 0 0 1 10 0v4"></path>
<circle cx="12" cy="16" r="1.5" fill="currentColor"></circle>
</svg>
</div>
</div>
<!-- 标题 -->
<div class="modal-title">完成认证,解锁全部功能</div>
<!-- 副标题 -->
<div class="modal-subtitle">认证通过即可畅享校园社交</div>
<!-- 进度提示 -->
<div class="progress-hint">
<div class="progress-dot"></div>
<span>认证后可解锁以下权益</span>
</div>
<!-- 权益列表 -->
<div class="benefits-grid">
<div class="benefit-item benefit-1" data-dom-id="benefit-1">
<div class="benefit-icon">
</div>
<div class="benefit-text">解锁全校交友,认识同校同学</div>
<svg class="benefit-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</div>
<div class="benefit-item benefit-2" data-dom-id="benefit-2">
<div class="benefit-icon">
</div>
<div class="benefit-text">无限发布动态,分享校园生活</div>
<svg class="benefit-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</div>
<div class="benefit-item benefit-3" data-dom-id="benefit-3">
<div class="benefit-icon">
</div>
<div class="benefit-text">参与组局活动,拓展校园人脉</div>
<svg class="benefit-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</div>
<div class="benefit-item benefit-4" data-dom-id="benefit-4">
<div class="benefit-icon">
</div>
<div class="benefit-text">获得认证标识,真实身份保障</div>
<svg class="benefit-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</div>
</div>
<!-- 隐私承诺 -->
<div class="privacy-note">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
<path d="M7 11V7a5 5 0 0 1 10 0v4"></path>
</svg>
<span>学信网认证仅用于身份核验,我们严格保护你的隐私</span>
</div>
<!-- 主按钮 -->
<button class="btn-primary" data-dom-id="btn-auth-now">立即认证</button>
<!-- 次按钮 -->
<button class="btn-secondary" data-dom-id="btn-later">稍后再说</button>
</div>
</div>
<script>// 主题切换
(function() {
const html = document.documentElement;
}
});
})();
// 立即认证按钮
(function() {
const btnAuthNow = document.querySelector('[data-dom-id="btn-auth-now"]');
btnAuthNow.addEventListener('click', function() {
// 添加点击反馈
btnAuthNow.style.transform = 'scale(0.96)';
setTimeout(function() {
btnAuthNow.style.transform = '';
// 跳转到认证第一步
window.location.href = 'auth-step1.html';
}, 150);
});
})();
// 稍后再说按钮
(function() {
const btnLater = document.querySelector('[data-dom-id="btn-later"]');
const modal = document.querySelector('.locked-modal');
const overlay = document.querySelector('.dark-overlay');
btnLater.addEventListener('click', function() {
// 弹窗关闭动画
modal.style.transition = 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)';
modal.style.opacity = '0';
modal.style.transform = 'translate(-50%, -50%) scale(0.9)';
overlay.style.transition = 'opacity 0.3s ease';
overlay.style.opacity = '0';
// 模拟返回底层页
setTimeout(function() {
window.location.href = 'feed-home.html';
}, 300);
});
})();</script>
</body>
</html>