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.
 
 

384 lines
12 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">
<link rel="stylesheet" href="../colors_and_type.css">
<title>青核 Youthome - 功能受限</title>
<style>
:root {
--youth-primary: #26C2BB;
--youth-primary-light: #54CAC5;
--primary-bg: #E6F7F6;
--primary-border: #B3E8E4;
--bg-page: #F7F8FA;
--bg-card: #FFFFFF;
--text-title: #1F1F1F;
--text-body: #595959;
--text-muted: #8C8C8C;
--youth-border-light: #E8E8E8;
--btn-gradient: linear-gradient(135deg, #54CAC5 0%, #26C2BB 50%, #1FA8A2 100%);
--youth-warning: #FAAD14;
/* =====================================================
* 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', sans-serif;
background: var(--youth-bg-page);
color: var(--youth-text-secondary);
overflow-x: hidden;}
.page-container {
width: 375px;
height: 812px;
margin: 0 auto;
background: var(--youth-bg-page);
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
/* 弹窗遮罩 */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.45);
backdrop-filter: blur(6px);
display: flex;
align-items: center;
justify-content: center;
z-index: 998;
}
.modal-card {
width: 300px;
background: var(--youth-bg-card);
border-radius: 20px;
padding: 28px 24px 24px;
text-align: center;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
z-index: 999;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@keyframes popIn {
0% { transform: scale(0.8); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
/* 顶部图标 */
.modal-icon {
width: 64px;
height: 64px;
border-radius: 50%;
background: var(--youth-primary-bg);
margin: 0 auto 16px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.modal-icon svg {
color: var(--youth-primary);
}
.modal-icon::before {
content: '';
position: absolute;
top: -8px;
right: -8px;
width: 28px;
height: 28px;
border-radius: 50%;
background: #FFD666;
display: flex;
align-items: center;
justify-content: center;
}
.lock-icon-wrap {
position: absolute;
top: -8px;
right: -8px;
width: 28px;
height: 28px;
border-radius: 50%;
background: linear-gradient(135deg, #FFD666, #FAAD14);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(250, 173, 20, 0.4);
}
.modal-title {
font-size: 18px;
font-weight: 700;
color: var(--youth-text-primary);
margin-bottom: 6px;
}
.modal-subtitle {
font-size: 13px;
color: var(--youth-text-tertiary);
line-height: 1.5;
margin-bottom: 20px;
}
/* 权益列表 */
.benefit-list {
background: var(--youth-bg-page);
border-radius: 12px;
padding: 12px;
margin-bottom: 20px;
text-align: left;
}
.benefit-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 0;
}
.benefit-item + .benefit-item {
border-top: 1px solid var(--youth-border-light);
}
.benefit-icon {
width: 32px;
height: 32px;
border-radius: 8px;
background: var(--youth-primary-bg);
display: flex;
align-items: center;
justify-content: center;
color: var(--youth-primary);
flex-shrink: 0;
}
.benefit-text .name {
font-size: 13px;
font-weight: 600;
color: var(--youth-text-primary);
}
.benefit-text .desc {
font-size: 11px;
color: var(--youth-text-tertiary);
margin-top: 1px;
}
/* 按钮组 */
.btn-group {
display: flex;
gap: 10px;
}
.btn {
flex: 1;
height: 44px;
border-radius: 8px;
border: none;
font-size: 14px;
font-weight: 600;
cursor: pointer;
font-family: inherit;
transition: all 0.2s ease;
}
.btn-primary {
background: var(--youth-gradient-primary);
color: #fff;
box-shadow: 0 4px 12px rgba(38, 194, 187, 0.25);
}
.btn-outline {
background: transparent;
border: 1px solid var(--youth-border-light);
color: var(--youth-text-secondary);
}
/* 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="page-container" data-dom-id="page-container">
<div class="modal-overlay">
<div class="modal-card">
<div class="modal-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
<circle cx="12" cy="7" r="4"></circle>
</svg>
<div class="lock-icon-wrap">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.5" 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>
</div>
</div>
<div class="modal-title">功能受限</div>
<div class="modal-subtitle">完成学信网实名认证后<br>即可解锁全部校园社交功能</div>
<div class="benefit-list">
<div class="benefit-item">
<div class="benefit-icon">
<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="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
<circle cx="12" cy="7" r="4"></circle>
</svg>
</div>
<div class="benefit-text">
<div class="name">专属校园 ID</div>
<div class="desc">生成终身专属校园身份标识</div>
</div>
</div>
<div class="benefit-item">
<div class="benefit-icon">
<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="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="9" cy="7" r="4"></circle>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>
</div>
<div class="benefit-text">
<div class="name">解锁社交功能</div>
<div class="desc">交友匹配、好友聊天、兴趣社群</div>
</div>
</div>
<div class="benefit-item">
<div class="benefit-icon">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="4" width="18" height="18" rx="2"></rect>
<line x1="16" y1="2" x2="16" y2="6"></line>
<line x1="8" y1="2" x2="8" y2="6"></line>
<line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
</div>
<div class="benefit-text">
<div class="name">校内活动优先</div>
<div class="desc">专属活动通道、优先报名资格</div>
</div>
</div>
<div class="benefit-item">
<div class="benefit-icon">
<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="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
</div>
<div class="benefit-text">
<div class="name">附近校友雷达</div>
<div class="desc">500 米内同校真实校友连接</div>
</div>
</div>
</div>
<div class="btn-group">
<button class="btn btn-outline" onclick="closeModal()">取消</button>
<button class="btn btn-primary" onclick="goAuth()">立即认证</button>
</div>
</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 closeModal() { alert('关闭弹窗'); }
function goAuth() { alert('跳转学信网认证流程'); }</script>
</body>
</html>