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.
720 lines
22 KiB
720 lines
22 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;
|
|
--bg-page: #F7F8FA;
|
|
--bg-card: #FFFFFF;
|
|
--text-title: #1F1F1F;
|
|
--text-body: #595959;
|
|
--text-muted: #8C8C8C;
|
|
--youth-border-light: #E8E8E8;
|
|
--gold: #F5A623;
|
|
--gold-light: #FFD700;
|
|
--gold-dark: #D48806;
|
|
|
|
/* =====================================================
|
|
* 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;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 状态栏 */
|
|
.status-bar {
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 顶部导航 */
|
|
.top-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 8px;
|
|
height: 44px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.nav-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.nav-title { font-size: 17px; font-weight: 700; color: #fff; }
|
|
|
|
/* 金色渐变头部 */
|
|
.vip-header {
|
|
background: linear-gradient(135deg, #1A1A2E 0%, #2D1B4E 40%, #4A2C6A 70%, #6B3FA0 100%);
|
|
padding-bottom: 50px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vip-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -40px;
|
|
right: -20px;
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(245,166,35,0.2) 0%, transparent 70%);
|
|
}
|
|
|
|
.vip-header::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -60px;
|
|
left: -20px;
|
|
width: 140px;
|
|
height: 140px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
|
|
}
|
|
|
|
/* 用户VIP信息 */
|
|
.vip-user {
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 8px 20px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
color: #fff;
|
|
}
|
|
|
|
.vip-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #F5A623, #FFD700);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28px;
|
|
border: 3px solid rgba(255,215,0,0.3);
|
|
box-shadow: 0 4px 16px rgba(245,166,35,0.3);
|
|
}
|
|
|
|
.vip-user-info { flex: 1; min-width: 0; }
|
|
|
|
.vip-name {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.vip-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
padding: 2px 8px;
|
|
background: linear-gradient(135deg, #F5A623, #FFD700);
|
|
color: #1A1A2E;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.vip-level {
|
|
font-size: 12px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.vip-expire {
|
|
font-size: 11px;
|
|
opacity: 0.5;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* VIP等级进度 */
|
|
.vip-progress {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin: 20px 20px 0;
|
|
background: rgba(255,255,255,0.08);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 12px;
|
|
padding: 14px 16px;
|
|
border: 1px solid rgba(245,166,35,0.2);
|
|
}
|
|
|
|
.progress-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.progress-label {
|
|
font-size: 12px;
|
|
color: rgba(255,255,255,0.7);
|
|
}
|
|
|
|
.progress-value {
|
|
font-size: 12px;
|
|
color: #FFEC8B;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 6px;
|
|
background: rgba(255,255,255,0.1);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
width: 65%;
|
|
background: linear-gradient(90deg, #F5A623 0%, #FFD700 100%);
|
|
border-radius: 3px;
|
|
box-shadow: 0 0 8px rgba(245,166,35,0.5);
|
|
}
|
|
|
|
/* 滚动区域 */
|
|
.scroll-area {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.scroll-area::-webkit-scrollbar { display: none; }
|
|
|
|
/* 套餐选择卡 */
|
|
.plan-card {
|
|
margin: -30px 16px 16px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 16px;
|
|
padding: 20px 16px 16px;
|
|
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.plan-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.plan-title .crown { color: #FFD700; }
|
|
|
|
.plan-options {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.plan-item {
|
|
flex: 1;
|
|
border: 2px solid var(--youth-border-light);
|
|
border-radius: 12px;
|
|
padding: 14px 8px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.plan-item.selected {
|
|
border-color: #FFD700;
|
|
background: linear-gradient(180deg, rgba(245,166,35,0.08) 0%, transparent 100%);
|
|
}
|
|
|
|
.plan-item .hot-tag {
|
|
position: absolute;
|
|
top: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
padding: 2px 10px;
|
|
background: linear-gradient(135deg, #FF6A88, #FF9A8B);
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.plan-duration {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.plan-item.selected .plan-duration { color: #DAA520; }
|
|
|
|
.plan-price {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
color: #FFD700;
|
|
}
|
|
|
|
.plan-price small { font-size: 11px; font-weight: 600; }
|
|
|
|
.plan-origin {
|
|
font-size: 10px;
|
|
color: var(--youth-text-tertiary);
|
|
text-decoration: line-through;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.plan-daily {
|
|
font-size: 10px;
|
|
color: var(--youth-text-tertiary);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.plan-daily strong { color: #FFD700; }
|
|
|
|
/* 开通按钮 */
|
|
.open-vip-btn {
|
|
width: 100%;
|
|
height: 48px;
|
|
background: linear-gradient(135deg, #F5A623 0%, #FFD700 50%, #F5A623 100%);
|
|
background-size: 200% 100%;
|
|
color: #1A1A2E;
|
|
border: none;
|
|
border-radius: 24px;
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 0 6px 20px rgba(245,166,35,0.35);
|
|
font-family: inherit;
|
|
animation: shine 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes shine {
|
|
0%, 100% { background-position: 0% 50%; }
|
|
50% { background-position: 100% 50%; }
|
|
}
|
|
|
|
.open-vip-btn:active { transform: scale(0.98); }
|
|
|
|
/* 权益说明 */
|
|
.benefits-section {
|
|
margin: 0 16px 16px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.section-title .more { font-size: 12px; color: var(--youth-text-tertiary); font-weight: 500; }
|
|
|
|
.benefits-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 14px 8px;
|
|
}
|
|
|
|
.benefit-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.benefit-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
background: linear-gradient(135deg, #FFF7E6, #FFE8B8);
|
|
}
|
|
|
|
.benefit-name {
|
|
font-size: 11px;
|
|
color: var(--youth-text-primary);
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 专属特权 */
|
|
.privilege-section {
|
|
margin: 0 16px 16px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.privilege-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.privilege-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
background: var(--youth-bg-page);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.priv-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
background: linear-gradient(135deg, #F5A623, #FFD700);
|
|
}
|
|
|
|
.priv-info { flex: 1; min-width: 0; }
|
|
|
|
.priv-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.priv-desc {
|
|
font-size: 11px;
|
|
color: var(--youth-text-tertiary);
|
|
}
|
|
|
|
.priv-tag {
|
|
padding: 2px 8px;
|
|
background: var(--youth-primary-bg);
|
|
color: var(--youth-primary);
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
border-radius: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.priv-arrow {
|
|
color: var(--youth-text-tertiary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
|
|
/* 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="vip-header">
|
|
<div class="status-bar">
|
|
<span>9:41</span>
|
|
<div style="display:flex;align-items:center;gap:6px;">
|
|
<svg width="17" height="11" viewBox="0 0 17 11" fill="#fff"><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="25" height="12" viewBox="0 0 25 12"><rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="#fff" opacity="0.5"></rect><rect x="2" y="2" width="18" height="8" rx="1.5" fill="#fff"></rect><rect x="22.5" y="4" width="1.5" height="4" rx="0.5" fill="#fff" opacity="0.5"></rect></svg>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="top-nav">
|
|
<button class="nav-btn" onclick="goBack()">
|
|
<svg width="22" height="22" 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>
|
|
</button>
|
|
<div class="nav-title">会员中心</div>
|
|
<button class="nav-btn" onclick="goRecord()">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="10"></circle>
|
|
<polyline points="12 6 12 12 16 14"></polyline>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="vip-user">
|
|
<div class="vip-avatar"><span class="icon-svg icon-graduation-cap"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 10v6M2 10l10-5 10 5-10 5z"></path><path d="M6 12v5c3 3 9 3 12 0v-5"></path></svg></span></div>
|
|
<div class="vip-user-info">
|
|
<div class="vip-name">
|
|
张同学
|
|
<span class="vip-badge">
|
|
<svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor">
|
|
<path d="M12 2l2.4 7.4h7.6l-6.2 4.5 2.4 7.4L12 17l-6.2 4.3 2.4-7.4L2 9.4h7.6z"></path>
|
|
</svg>
|
|
VIP5
|
|
</span>
|
|
</div>
|
|
<div class="vip-level">黄金会员 · 成长值 1280/2000</div>
|
|
<div class="vip-expire">有效期至 2026年12月31日</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="vip-progress">
|
|
<div class="progress-top">
|
|
<span class="progress-label">距离铂金会员还差 720 成长值</span>
|
|
<span class="progress-value">65%</span>
|
|
</div>
|
|
<div class="progress-bar">
|
|
<div class="progress-fill"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="scroll-area">
|
|
<!-- 套餐选择 -->
|
|
<div class="plan-card">
|
|
<div class="plan-title">
|
|
<span class="crown"><span class="icon-svg icon-crown"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z"></path><path d="M5 21h14"></path></svg></span></span>
|
|
开通会员,尊享特权
|
|
</div>
|
|
<div class="plan-options">
|
|
<div class="plan-item" onclick="selectPlan(this)">
|
|
<div class="plan-duration">月卡</div>
|
|
<div class="plan-price"><small>¥</small>18</div>
|
|
<div class="plan-origin">¥25</div>
|
|
<div class="plan-daily">约 <strong>¥0.6</strong>/天</div>
|
|
</div>
|
|
<div class="plan-item selected" onclick="selectPlan(this)">
|
|
<span class="hot-tag">最划算</span>
|
|
<div class="plan-duration">季卡</div>
|
|
<div class="plan-price"><small>¥</small>48</div>
|
|
<div class="plan-origin">¥75</div>
|
|
<div class="plan-daily">约 <strong>¥0.53</strong>/天</div>
|
|
</div>
|
|
<div class="plan-item" onclick="selectPlan(this)">
|
|
<div class="plan-duration">年卡</div>
|
|
<div class="plan-price"><small>¥</small>168</div>
|
|
<div class="plan-origin">¥300</div>
|
|
<div class="plan-daily">约 <strong>¥0.46</strong>/天</div>
|
|
</div>
|
|
</div>
|
|
<button class="open-vip-btn" onclick="openVip()">立即开通 · ¥48</button>
|
|
</div>
|
|
|
|
<!-- 会员权益 -->
|
|
<div class="benefits-section">
|
|
<div class="section-title">
|
|
<span>会员权益</span>
|
|
<span class="more">全部 12 项 ></span>
|
|
</div>
|
|
<div class="benefits-grid">
|
|
<div class="benefit-item" onclick="viewBenefit('身份标识')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">身份标识</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('青豆加倍')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">青豆加倍</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('专属头像框')">
|
|
<div class="benefit-icon">
|
|
</div>
|
|
<span class="benefit-name">头像框</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('签到翻倍')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">签到翻倍</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('消息漫游')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">消息漫游</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('语音房')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">语音房</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('隐身访问')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">隐身访问</span>
|
|
</div>
|
|
<div class="benefit-item" onclick="viewBenefit('更多权益')">
|
|
<div class="benefit-icon"></div>
|
|
<span class="benefit-name">更多</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 专属特权 -->
|
|
<div class="privilege-section">
|
|
<div class="section-title">
|
|
<span>成长任务</span>
|
|
<span class="more">更多任务 ></span>
|
|
</div>
|
|
<div class="privilege-list">
|
|
<div class="privilege-item" onclick="goTask('每日签到')">
|
|
|
|
<div class="priv-info">
|
|
<div class="priv-name">每日签到 +10 成长值</div>
|
|
<div class="priv-desc">连续签到奖励更多</div>
|
|
</div>
|
|
<span class="priv-tag">已完成</span>
|
|
</div>
|
|
<div class="privilege-item" onclick="goTask('完善资料')">
|
|
|
|
<div class="priv-info">
|
|
<div class="priv-name">完善资料 +50 成长值</div>
|
|
<div class="priv-desc">补充更多个人信息</div>
|
|
</div>
|
|
<span class="priv-tag" style="background:#FFF7E6;color:#FAAD14;">进行中</span>
|
|
</div>
|
|
<div class="privilege-item" onclick="goTask('邀请好友')">
|
|
|
|
<div class="priv-info">
|
|
<div class="priv-name">邀请好友 +100 成长值</div>
|
|
<div class="priv-desc">每邀请1位好友注册</div>
|
|
</div>
|
|
<span class="priv-tag" style="background:var(--youth-bg-page);color:var(--youth-text-tertiary);">未开始</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align:center;padding:8px 20px 16px;font-size:11px;color:var(--youth-text-tertiary);line-height:1.6;">
|
|
开通即表示同意《会员服务协议》<br>
|
|
会员为虚拟服务,开通后不支持退款
|
|
</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 goBack() { window.history.back(); }
|
|
function goRecord() { alert('会员记录'); }
|
|
function openVip() { alert('开通会员'); }
|
|
function viewBenefit(name) { alert(name + '权益详情'); }
|
|
function goTask(name) { alert('前往' + name); }
|
|
|
|
function selectPlan(el) {
|
|
document.querySelectorAll('.plan-item').forEach(i => i.classList.remove('selected'));
|
|
el.classList.add('selected');
|
|
}</script>
|
|
</body>
|
|
</html>
|
|
|