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.
1323 lines
50 KiB
1323 lines
50 KiB
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>积分中心 - 青核 Youthome</title>
|
|
<style>
|
|
/* ============================================================
|
|
青核 Youthome 积分中心
|
|
============================================================ */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
background: #FAFAFA;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
border: none;
|
|
outline: none;
|
|
background: none;
|
|
}
|
|
|
|
/* 滚动条 */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #D9D9D9;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #BFBFBF;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
/* ============================================================
|
|
布局
|
|
============================================================ */
|
|
.app {
|
|
width: 1920px
|
|
max-width: 100%;
|
|
overflow: hidden;;
|
|
min-height: 1080px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
background: #FAFAFA;
|
|
display: flex;
|
|
}
|
|
|
|
/* ===== 设计系统变量 ===== */
|
|
:root {
|
|
--primary: #17B0CF;
|
|
--primary-hover: #1298B3;
|
|
--primary-light: #73D3E6;
|
|
--primary-bg: rgba(23, 176, 207, 0.1);
|
|
--primary-lighter: rgba(23, 176, 207, 0.08);
|
|
|
|
--bg-page: #FAFAFA;
|
|
--bg-card: #FFFFFF;
|
|
--bg-hover: #F5F5F5;
|
|
--bg-active: var(--primary-bg);
|
|
|
|
--text-primary: #333333;
|
|
--text-secondary: #666666;
|
|
--text-tertiary: #999999;
|
|
--text-placeholder: #CCCCCC;
|
|
|
|
--border: #F0F0F0;
|
|
--border-light: #F5F5F5;
|
|
--border-focus: var(--primary);
|
|
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
|
|
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
|
|
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
|
|
|
|
--radius-sm: 8px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 16px;
|
|
--radius-full: 9999px;
|
|
|
|
--sidebar-width: 240px;
|
|
--topbar-height: 56px;
|
|
--control-height: 44px;
|
|
--page-width: 1920px;
|
|
--search-width: 360px;
|
|
--search-height: 36px;
|
|
--nav-item-height: 48px;
|
|
--page-padding-x: 24px;
|
|
--card-padding: 20px;
|
|
|
|
--transition-fast: 0.15s ease;
|
|
--transition-base: 0.2s ease;
|
|
}
|
|
|
|
.sidebar { width: var(--sidebar-width); height: 100vh; background: var(--bg-card); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; z-index: 20; position: sticky; top: 0; }
|
|
.sidebar-logo { padding: 24px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); cursor: pointer; flex-shrink: 0; }
|
|
.sidebar-logo-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; flex-shrink: 0; box-shadow: 0 4px 12px rgba(23,176,207,0.25); }
|
|
.sidebar-logo-text .main { font-size: 16px; font-weight: 700; color: var(--text-primary); }
|
|
.sidebar-logo-text .sub { font-size: 11px; color: var(--text-tertiary); }
|
|
.sidebar-publish { padding: 12px 12px 8px; flex-shrink: 0; }
|
|
.publish-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; background: var(--primary); color: #fff; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s ease; box-shadow: 0 4px 12px rgba(23, 176, 207, 0.25); }
|
|
.publish-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(23, 176, 207, 0.35); }
|
|
.publish-btn svg { width: 20px; height: 20px; }
|
|
.publish-btn .publish-arrow { width: 16px; height: 16px; opacity: 0.8; transition: transform .2s; }
|
|
.publish-btn:hover .publish-arrow { transform: translateY(1px); }
|
|
.publish-dropdown { display: none; margin-top: 6px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
|
|
.sidebar-publish:hover .publish-dropdown { display: block; }
|
|
.publish-option { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: background .15s; }
|
|
.publish-option:hover { background: var(--bg-hover); }
|
|
.publish-option svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
|
|
.publish-option-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
|
|
.publish-option-desc { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
|
|
.sidebar-nav { flex: 1; padding: 16px 12px 24px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
|
|
.nav-section-title { font-size: 11px; font-weight: 600; color: var(--text-tertiary); padding: 12px 12px 8px; letter-spacing: 0.05em; }
|
|
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all .15s ease; }
|
|
.nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
|
|
.nav-item.active { background: var(--primary-bg); color: var(--primary); font-weight: 600; }
|
|
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
|
|
.nav-item-label { display: flex; align-items: center; justify-content: space-between; flex: 1; }
|
|
.nav-badge { min-width: 18px; height: 18px; padding: 0 5px; background: #FF4D4F; color: #fff; font-size: 11px; font-weight: 600; border-radius: 9px; display: flex; align-items: center; justify-content: center; line-height: 1; }
|
|
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border-light); flex-shrink: 0; }
|
|
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; }
|
|
.sidebar-user:hover { background: var(--bg-hover); }
|
|
.sidebar-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; }
|
|
.sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
|
|
.sidebar-user-desc { font-size: 11px; color: var(--text-tertiary); margin-top: 1px; }
|
|
.sidebar-user-arrow { width: 16px; height: 16px; color: var(--text-tertiary); flex-shrink: 0; margin-left: auto; }
|
|
|
|
/* ============================================================
|
|
主内容区
|
|
============================================================ */
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 24px 40px 40px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.content-wrapper {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* 页面标题 */
|
|
.page-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 13px;
|
|
color: var(--text-tertiary);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* ============================================================
|
|
积分总览卡片
|
|
============================================================ */
|
|
.points-hero {
|
|
position: relative;
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
|
|
border-radius: 18px;
|
|
padding: 32px 36px 28px;
|
|
color: #fff;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 24px rgba(23, 176, 207, 0.2);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.points-hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -60px;
|
|
right: -40px;
|
|
width: 240px;
|
|
height: 240px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.points-hero::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -80px;
|
|
right: 80px;
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.points-hero-inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.points-main-row {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.points-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.points-label {
|
|
font-size: 14px;
|
|
opacity: 0.85;
|
|
margin-bottom: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.points-number-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.coin-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
flex-shrink: 0;
|
|
filter: drop-shadow(0 2px 8px rgba(255, 184, 0, 0.4));
|
|
}
|
|
|
|
.points-number {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.points-unit {
|
|
font-size: 16px;
|
|
opacity: 0.8;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.points-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn-signin {
|
|
height: 44px;
|
|
padding: 0 28px;
|
|
background: var(--bg-card);
|
|
color: var(--primary);
|
|
border-radius: 22px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-signin:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.btn-signin svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.btn-detail {
|
|
height: 44px;
|
|
padding: 0 24px;
|
|
background: transparent;
|
|
color: #fff;
|
|
border: 1.5px solid rgba(255, 255, 255, 0.7);
|
|
border-radius: 22px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-detail:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: #fff;
|
|
}
|
|
|
|
.btn-detail svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/* 积分统计 */
|
|
.points-stats {
|
|
display: flex;
|
|
gap: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.stat-card {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 14px 16px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 12px;
|
|
margin: 0 6px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.stat-card:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.stat-card:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
background: rgba(255, 255, 255, 0.22);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.stat-value.positive {
|
|
color: #FFE58F;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.stat-level {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.level-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 10px;
|
|
background: rgba(255, 184, 0, 0.25);
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #FFE58F;
|
|
}
|
|
|
|
.level-badge svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
/* ============================================================
|
|
Tab 导航
|
|
============================================================ */
|
|
.tab-nav {
|
|
display: flex;
|
|
gap: 4px;
|
|
background: var(--bg-card);
|
|
border-radius: 14px;
|
|
padding: 6px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #F0F0F0;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.tab-item {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 12px 20px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-tertiary);
|
|
cursor: pointer;
|
|
border-radius: 10px;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.tab-item:hover {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tab-item.active {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
background: rgba(23, 176, 207, 0.1);
|
|
}
|
|
|
|
/* ============================================================
|
|
任务区块
|
|
============================================================ */
|
|
.task-section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.section-title-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.section-more {
|
|
font-size: 13px;
|
|
color: var(--text-tertiary);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.section-more:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.section-more svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
/* 任务卡片列表 */
|
|
.task-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.task-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 18px 20px;
|
|
background: var(--bg-card);
|
|
border-radius: 14px;
|
|
border: 1px solid #F0F0F0;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.task-card:hover {
|
|
border-color: #E0E0E0;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.task-icon-wrap {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
background: rgba(23, 176, 207, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.task-icon-wrap.orange {
|
|
background: #FFF7E6;
|
|
color: #FFB800;
|
|
}
|
|
|
|
.task-icon-wrap.purple {
|
|
background: #F3E8FF;
|
|
color: #9254DE;
|
|
}
|
|
|
|
.task-icon-wrap.green {
|
|
background: #F0FFF4;
|
|
color: #52C41A;
|
|
}
|
|
|
|
.task-icon-wrap svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.task-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.task-name {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.task-reward {
|
|
font-size: 13px;
|
|
color: #FFB800;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.task-reward svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.task-progress-wrap {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.task-progress-text {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
color: var(--text-tertiary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.task-progress-bar {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: var(--bg-hover);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.task-progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.task-action {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.btn-task {
|
|
height: 36px;
|
|
padding: 0 20px;
|
|
border-radius: 18px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.btn-task-primary {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
|
|
color: #fff;
|
|
box-shadow: 0 2px 8px rgba(23, 176, 207, 0.25);
|
|
}
|
|
|
|
.btn-task-primary:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.3);
|
|
}
|
|
|
|
.btn-task-outline {
|
|
background: var(--bg-card);
|
|
color: var(--primary);
|
|
border: 1px solid var(--primary);
|
|
}
|
|
|
|
.btn-task-outline:hover {
|
|
background: rgba(23, 176, 207, 0.05);
|
|
}
|
|
|
|
.btn-task-done {
|
|
height: 36px;
|
|
padding: 0 16px;
|
|
border-radius: 18px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
background: #F0FFF4;
|
|
color: #52C41A;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: default;
|
|
}
|
|
|
|
.btn-task-done svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/* 任务卡片 - 2列网格 */
|
|
.task-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.task-card {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.task-top {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.task-icon-wrap {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
.task-icon-wrap svg { width: 20px; height: 20px; }
|
|
|
|
.task-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.task-reward {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.task-bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
gap: 12px;
|
|
}
|
|
|
|
.task-progress-wrap {
|
|
flex: 1;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.btn-task {
|
|
height: 30px;
|
|
padding: 0 14px;
|
|
font-size: 12px;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.btn-task-done {
|
|
height: 30px;
|
|
padding: 0 12px;
|
|
font-size: 12px;
|
|
border-radius: 15px;
|
|
}
|
|
.btn-task-done svg { width: 14px; height: 14px; }
|
|
|
|
/* 积分商城 */
|
|
.mall-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 14px;
|
|
}
|
|
|
|
.mall-card {
|
|
background: var(--bg-card);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-light);
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
}
|
|
.mall-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.mall-cover {
|
|
width: 100%;
|
|
aspect-ratio: 1/1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 48px;
|
|
}
|
|
|
|
.mall-info {
|
|
padding: 10px 12px 12px;
|
|
}
|
|
|
|
.mall-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mall-price {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mall-points {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #FF9500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
.mall-points svg { width: 14px; height: 14px; }
|
|
|
|
.mall-btn {
|
|
font-size: 11px;
|
|
padding: 4px 10px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(135deg, #FFB800, #FF9500);
|
|
color: #fff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ============================================================
|
|
通用 SVG 样式
|
|
============================================================ */
|
|
svg {
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
</style>
|
|
<link rel="stylesheet" href="../css/web-refresh.css?v=20261020-brand-color">
|
|
</head>
|
|
<body>
|
|
<div class="app">
|
|
<aside class="sidebar">
|
|
<div class="sidebar-logo" onclick="location.href='feed.html'">
|
|
<div class="sidebar-logo-icon">青</div>
|
|
<div class="sidebar-logo-text">
|
|
<div class="main">青核 Youthome</div>
|
|
<div class="sub">校园实名社交</div>
|
|
</div>
|
|
</div>
|
|
<div class="sidebar-publish">
|
|
<div class="publish-btn">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
|
发布
|
|
<svg class="publish-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>
|
|
</div>
|
|
<div class="publish-dropdown">
|
|
<div class="publish-option" onclick="location.href='publish-post.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path></svg>
|
|
<div>
|
|
<div class="publish-option-title">发布动态</div>
|
|
<div class="publish-option-desc">分享文字、图片、视频</div>
|
|
</div>
|
|
</div>
|
|
<div class="publish-option" onclick="location.href='publish-video.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect></svg>
|
|
<div>
|
|
<div class="publish-option-title">发布视频</div>
|
|
<div class="publish-option-desc">上传和分享你的视频</div>
|
|
</div>
|
|
</div>
|
|
<div class="publish-option" onclick="location.href='activity-create.html'">
|
|
<svg 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" ry="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="publish-option-title">发起活动</div>
|
|
<div class="publish-option-desc">组织线下或线上活动</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<nav class="sidebar-nav">
|
|
<div class="nav-section-title">探索</div>
|
|
<div class="nav-item" onclick="location.href='feed.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
|
|
首页
|
|
</div>
|
|
<div class="nav-item" onclick="location.href='feed.html'">
|
|
<svg 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 class="nav-item" onclick="location.href='video.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect></svg>
|
|
视频广场
|
|
</div>
|
|
<div class="nav-item" onclick="location.href='activities.html'">
|
|
<svg 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" ry="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="nav-item" onclick="location.href='topic-detail.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>
|
|
话题广场
|
|
</div>
|
|
<div class="nav-section-title">我的</div>
|
|
<div class="nav-item" onclick="location.href='chat.html'">
|
|
<svg 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 class="nav-item" onclick="location.href='notification.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>
|
|
<div class="nav-item-label">
|
|
<span>消息通知</span>
|
|
<span class="nav-badge">3</span>
|
|
</div>
|
|
</div>
|
|
<div class="nav-item active">
|
|
<svg 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="nav-item" onclick="location.href='settings.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>
|
|
设置
|
|
</div>
|
|
</nav>
|
|
<div class="sidebar-footer">
|
|
<div class="sidebar-user" onclick="location.href='me.html'">
|
|
<div class="sidebar-avatar">林</div>
|
|
<div class="sidebar-user-info">
|
|
<div class="sidebar-user-name">林小夏</div>
|
|
<div class="sidebar-user-desc">清华大学</div>
|
|
</div>
|
|
<svg class="sidebar-user-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- 主内容区 -->
|
|
<main class="main-content">
|
|
<div class="content-wrapper">
|
|
<!-- 页面标题 -->
|
|
<div class="page-header">
|
|
<h1 class="page-title">积分中心</h1>
|
|
<p class="page-subtitle">完成任务获取积分,兑换更多专属权益</p>
|
|
</div>
|
|
|
|
<!-- 积分总览卡片 -->
|
|
<div class="points-hero">
|
|
<div class="points-hero-inner">
|
|
<div class="points-main-row">
|
|
<div class="points-left">
|
|
<div class="points-label">我的青核积分</div>
|
|
<div class="points-number-row">
|
|
<!-- 金币图标 -->
|
|
<svg class="coin-icon" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="24" cy="24" r="20" fill="url(#coinGrad)" stroke="#FFD666" stroke-width="2"/>
|
|
<circle cx="24" cy="24" r="15" fill="none" stroke="#FFE58F" stroke-width="1.5" opacity="0.6"/>
|
|
<text x="24" y="30" text-anchor="middle" font-size="18" font-weight="700" fill="#FF8C00" font-family="Arial, sans-serif">¥</text>
|
|
<defs>
|
|
<linearGradient id="coinGrad" x1="24" y1="4" x2="24" y2="44" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#FFE58F"/>
|
|
<stop offset="0.5" stop-color="#FFB800"/>
|
|
<stop offset="1" stop-color="#FF8C00"/>
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|
|
<span class="points-number">2,580</span>
|
|
<span class="points-unit">积分</span>
|
|
</div>
|
|
</div>
|
|
<div class="points-actions">
|
|
<button class="btn-signin">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2">
|
|
<path d="M9 11l3 3L22 4"></path>
|
|
<path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>
|
|
</svg>
|
|
签到
|
|
</button>
|
|
<button class="btn-detail">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<line x1="8" y1="6" x2="21" y2="6"></line>
|
|
<line x1="8" y1="12" x2="21" y2="12"></line>
|
|
<line x1="8" y1="18" x2="21" y2="18"></line>
|
|
<line x1="3" y1="6" x2="3.01" y2="6"></line>
|
|
<line x1="3" y1="12" x2="3.01" y2="12"></line>
|
|
<line x1="3" y1="18" x2="3.01" y2="18"></line>
|
|
</svg>
|
|
积分明细
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="points-stats">
|
|
<div class="stat-card">
|
|
<div class="stat-value positive">+25</div>
|
|
<div class="stat-label">今日获得</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<div class="stat-value positive">+320</div>
|
|
<div class="stat-label">本月累计</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<div class="stat-value stat-level">
|
|
<span class="level-badge">
|
|
<svg viewBox="0 0 24 24" fill="currentColor" stroke="none">
|
|
<path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/>
|
|
</svg>
|
|
LV.3
|
|
</span>
|
|
</div>
|
|
<div class="stat-label">当前等级</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Tab 导航 -->
|
|
<div class="tab-nav">
|
|
<div class="tab-item active">任务中心</div>
|
|
<div class="tab-item">积分商城</div>
|
|
<div class="tab-item">等级特权</div>
|
|
</div>
|
|
|
|
<!-- 每日任务 -->
|
|
<div class="task-section" data-wallet-panel="task">
|
|
<div class="section-header">
|
|
<h2 class="section-title">每日任务</h2>
|
|
<span class="section-desc">每日完成,天天领积分</span>
|
|
</div>
|
|
<div class="task-list">
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap "><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2" ry="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><path d="M9 16l2 2 4-4"></path></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">每日签到</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +5 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-done">已签到</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap orange"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">发布动态</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +10 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-primary">去发布</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap purple"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">浏览动态5篇</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +3 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
<div class="task-progress-wrap">
|
|
<div class="task-progress-text"><span>进度</span><span>3/5</span></div>
|
|
<div class="task-progress-bar"><div class="task-progress-fill" style="width:3/5"></div></div>
|
|
</div>
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-outline">继续浏览</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap green"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">点赞3条动态</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +2 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
<div class="task-progress-wrap">
|
|
<div class="task-progress-text"><span>进度</span><span>2/3</span></div>
|
|
<div class="task-progress-bar"><div class="task-progress-fill" style="width:2/3"></div></div>
|
|
</div>
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-outline">继续点赞</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap "><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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 class="task-info">
|
|
<div class="task-name">评论1条动态</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +3 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-primary">去评论</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap orange"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">分享内容</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +5 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-primary">去分享</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 成长任务 -->
|
|
<div class="task-section" data-wallet-panel="task">
|
|
<div class="section-header">
|
|
<h2 class="section-title">成长任务</h2>
|
|
<span class="section-desc">完成获取更多积分</span>
|
|
</div>
|
|
<div class="task-list">
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap "><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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="task-info">
|
|
<div class="task-name">完善个人资料</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +30 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-done">已完成</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap green"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">实名认证</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +100 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-primary">去认证</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap purple"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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><line x1="19" y1="8" x2="19" y2="14"></line><line x1="22" y1="11" x2="16" y2="11"></line></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">关注10个用户</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +20 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
<div class="task-progress-wrap">
|
|
<div class="task-progress-text"><span>进度</span><span>6/10</span></div>
|
|
<div class="task-progress-bar"><div class="task-progress-fill" style="width:6/10"></div></div>
|
|
</div>
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-outline">继续关注</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap orange"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">加入首个话题</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +15 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-done">已完成</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap "><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">发布首条动态</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +20 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-done">已完成</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="task-card">
|
|
<div class="task-top">
|
|
<div class="task-icon-wrap green"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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><line x1="19" y1="8" x2="19" y2="14"></line><line x1="22" y1="11" x2="16" y2="11"></line></svg></div>
|
|
<div class="task-info">
|
|
<div class="task-name">邀请3位好友</div>
|
|
<div class="task-reward"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> +150 积分</div>
|
|
</div>
|
|
</div>
|
|
<div class="task-bottom">
|
|
<div class="task-progress-wrap">
|
|
<div class="task-progress-text"><span>进度</span><span>1/3</span></div>
|
|
<div class="task-progress-bar"><div class="task-progress-fill" style="width:1/3"></div></div>
|
|
</div>
|
|
<div class="task-action">
|
|
<button class="btn-task btn-task-primary">去邀请</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 积分商城 -->
|
|
<div class="task-section" data-wallet-panel="mall" hidden>
|
|
<div class="section-header">
|
|
<h2 class="section-title">积分商城</h2>
|
|
<span class="section-desc">用积分兑换好物</span>
|
|
</div>
|
|
<div class="mall-grid">
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #FFE0CC, #FF9F45);">🧋</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">校园奶茶兑换券</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 200</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #FFD4A3, #FF7F50);">🍜</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">食堂5元代金券</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 150</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">🖨️</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">打印店10元卡</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 300</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #FFB3D9, #EB2F96);">🎬</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">电影票兑换券</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 500</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">☕</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">咖啡买一送一</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 180</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #A8E6CF, #17B0CF);">📚</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">书店8折券</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 250</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">💪</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">健身房周卡</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 400</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #C4F0FF, #36CFFB);">🧺</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">洗衣服务券</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 120</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mall-card">
|
|
<div class="mall-cover" style="background: linear-gradient(135deg, #FFE58F, #FAAD14);">👑</div>
|
|
<div class="mall-info">
|
|
<div class="mall-name">会员月卡体验</div>
|
|
<div class="mall-price">
|
|
<span class="mall-points"><svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="10" fill="#fff" font-weight="bold">币</text></svg> 600</span>
|
|
<span class="mall-btn">兑换</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 等级特权 -->
|
|
<div class="task-section" data-wallet-panel="level" hidden>
|
|
<div class="section-header">
|
|
<h2 class="section-title">等级特权</h2>
|
|
<span class="section-desc">积分越多,等级越高</span>
|
|
</div>
|
|
<div class="level-list"></div>
|
|
</div>
|
|
|
|
</div>
|
|
</main>
|
|
</div>
|
|
<script src="../js/web-local-data.js?v=20261016-local" defer></script>
|
|
<script src="../js/web-api.js?v=20261020-api" defer></script>
|
|
<script src="../js/web-shell.js" defer></script>
|
|
</body>
|
|
</html>
|
|
|
|
|