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.
 
 
 
 

1076 lines
41 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>
<link rel="stylesheet" href="../css/design-system.css">
<style>
.app { width: 1920px; max-width: 100%; min-height: 100vh; margin: 0 auto; display: flex; position: relative; overflow: hidden; box-sizing: border-box; background: var(--bg-page); }
.sidebar { width: 230px; 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; box-sizing: border-box; }
.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-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; }
.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; }
.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; }
.main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; box-sizing: border-box; height: 100vh; }
.top-bar { height: var(--topbar-height); background: var(--bg-card); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; flex-shrink: 0; z-index: 15; box-sizing: border-box; }
.top-bar-left { flex: 1; display: flex; justify-content: center; }
.search-wrapper { width: 480px; position: relative; }
.search-input { width: 100%; height: 36px; padding: 0 16px 0 42px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--bg-page); font-family: inherit; outline: none; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-tertiary); pointer-events: none; }
.top-bar-right { display: flex; align-items: center; gap: 12px; position: absolute; right: 40px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-page); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.publish-btn { height: 36px; padding: 0 16px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(23,176,207,0.25); font-family: inherit; }
.avatar-btn { 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: 14px; font-weight: 600; cursor: pointer; border: 2px solid #fff; }
.content-area { flex: 1; overflow-y: auto; padding: 28px 40px 40px; box-sizing: border-box; min-height: 0; }
.content-area::-webkit-scrollbar { width: 8px; }
.content-area::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
/* 活动详情 */
.activity-detail-cover {
width: 100%;
height: 280px;
border-radius: 12px;
margin-bottom: 24px;
position: relative;
overflow: hidden;
}
.back-btn {
position: absolute;
top: 20px;
left: 20px;
width: 36px;
height: 36px;
background: rgba(255,255,255,0.9);
backdrop-filter: blur(8px);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 2;
}
.activity-detail-main {
display: grid;
grid-template-columns: 1fr 320px;
gap: 24px;
max-width: 1440px;
margin: 0 auto;
box-sizing: border-box;
}
.activity-info-card {
background: var(--bg-card);
border-radius: 12px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-light);
padding: 24px;
box-sizing: border-box;
overflow: hidden;
}
.activity-detail-title {
font-size: 24px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 12px;
line-height: 1.3;
}
.activity-detail-meta {
display: flex;
gap: 16px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.meta-tag {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
background: var(--bg-page);
border-radius: 6px;
font-size: 13px;
color: var(--text-secondary);
}
.meta-tag svg { width: 14px; height: 14px; }
/* Tab栏 */
.detail-tabs {
display: flex;
gap: 4px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-light);
}
.detail-tab {
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
color: var(--text-secondary);
cursor: pointer;
position: relative;
}
.detail-tab.active { color: var(--primary); font-weight: 600; }
.detail-tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0; right: 0;
height: 2px;
background: var(--primary);
border-radius: 1px;
}
.section-title {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 12px;
}
.activity-content {
font-size: 14px;
color: var(--text-secondary);
line-height: 1.8;
}
.activity-content p { margin-bottom: 12px; }
/* 侧边栏 */
.activity-side {
display: flex;
flex-direction: column;
gap: 16px;
}
.side-card {
background: var(--bg-card);
border-radius: 12px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-light);
padding: 20px;
}
.join-btn {
width: 100%;
height: 48px;
background: var(--primary);
color: #fff;
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all .15s;
margin-bottom: 12px;
box-shadow: 0 4px 12px rgba(23,176,207,0.25);
font-family: inherit;
}
.join-btn:hover { background: var(--primary-hover); }
.join-btn.secondary {
background: var(--bg-page);
color: var(--text-secondary);
border: 1px solid var(--border);
box-shadow: none;
}
.progress-info {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 13px;
}
.progress-info .num { color: var(--primary); font-weight: 600; }
.progress-info .total { color: var(--text-tertiary); }
.progress-bar {
width: 100%;
height: 8px;
background: var(--bg-page);
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--primary-light));
border-radius: 4px;
}
.side-info-item {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 0;
border-bottom: 1px solid var(--border-light);
}
.side-info-item:last-child { border-bottom: none; }
.side-info-item svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--text-tertiary); }
.side-info-content .label { font-size: 12px; color: var(--text-tertiary); margin-bottom: 2px; }
.side-info-content .value { font-size: 13px; color: var(--text-primary); font-weight: 500; }
.host-row {
display: flex;
align-items: center;
gap: 10px;
}
.host-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 14px;
font-weight: 600;
}
.host-info .name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.host-info .role { font-size: 12px; color: var(--text-tertiary); }
/* 参与者列表 */
.participants-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 12px;
}
.participant-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
cursor: pointer;
}
.participant-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
background: linear-gradient(135deg, #BCEAF3, var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 14px;
font-weight: 600;
}
.participant-name { font-size: 12px; color: var(--text-secondary); text-align: center; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
svg { stroke-linecap: round; stroke-linejoin: round; }
/* ===== 发布按钮 ===== */
.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, #fff);
border: 1px solid var(--border-light, #eee);
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, #f5f5f5); }
.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, #1a1a1a); }
.publish-option-desc { font-size: 11px; color: var(--text-tertiary, #999); margin-top: 2px; }
/* ===== 导航项角标 ===== */
.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-user-arrow {
width: 16px;
height: 16px;
color: var(--text-tertiary, #999);
flex-shrink: 0;
margin-left: auto;
}
/* ===== 活动详情增强 ===== */
/* 活动封面增强 */
.activity-detail-cover {
width: 100%;
height: 300px;
border-radius: 16px;
margin-bottom: 24px;
position: relative;
overflow: hidden;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.activity-detail-cover::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45) 100%);
}
.back-btn {
position: absolute;
top: 20px;
left: 20px;
width: 40px;
height: 40px;
background: rgba(255,255,255,0.9);
backdrop-filter: blur(8px);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 3;
transition: all .2s;
}
.back-btn:hover { background: var(--bg-card); transform: translateX(-2px); }
.back-btn svg { width: 20px; height: 20px; color: var(--text-primary); }
.cover-info {
position: absolute;
bottom: 24px;
left: 28px;
right: 28px;
z-index: 2;
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.cover-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.cover-tag {
padding: 4px 12px;
background: rgba(255,255,255,0.25);
backdrop-filter: blur(8px);
border-radius: 12px;
font-size: 12px;
color: #fff;
font-weight: 500;
}
.cover-title {
font-size: 28px;
font-weight: 700;
color: #fff;
line-height: 1.3;
text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cover-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cover-action-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255,255,255,0.25);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
cursor: pointer;
transition: all .2s;
}
.cover-action-btn:hover { background: rgba(255,255,255,0.4); }
.cover-action-btn svg { width: 20px; height: 20px; }
/* 主布局增强 */
.activity-detail-main {
display: grid;
grid-template-columns: 1fr 320px;
gap: 24px;
max-width: 1440px;
margin: 0 auto;
box-sizing: border-box;
}
.activity-info-card {
background: var(--bg-card);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
border: 1px solid var(--border-light);
padding: 28px;
box-sizing: border-box;
overflow: hidden;
}
.activity-detail-meta {
display: flex;
gap: 12px;
margin-bottom: 22px;
flex-wrap: wrap;
}
.meta-tag {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
background: var(--bg-page);
border-radius: 8px;
font-size: 13px;
color: var(--text-secondary);
font-weight: 500;
}
.meta-tag svg { width: 16px; height: 16px; color: var(--primary); }
/* Tab增强 */
.detail-tabs {
display: flex;
gap: 4px;
margin-bottom: 24px;
border-bottom: 1px solid var(--border-light);
background: var(--bg-page);
border-radius: 10px;
padding: 4px;
}
.detail-tab {
padding: 10px 22px;
font-size: 14px;
font-weight: 500;
color: var(--text-tertiary);
cursor: pointer;
border-radius: 8px;
transition: all .15s;
}
.detail-tab:hover { color: var(--text-primary); }
.detail-tab.active {
color: var(--text-primary);
font-weight: 600;
background: var(--bg-card);
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.detail-tab.active::after { display: none; }
.section-title {
font-size: 17px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 16px;
}
.activity-content {
font-size: 15px;
color: var(--text-secondary);
line-height: 1.9;
}
.activity-content p { margin-bottom: 16px; }
.activity-content h4 {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin: 24px 0 12px;
}
/* 参与者列表 */
.participants-section { margin-top: 28px; }
.participants-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.participants-title { font-size: 17px; font-weight: 600; color: var(--text-primary); }
.participants-more { font-size: 13px; color: var(--primary); cursor: pointer; font-weight: 500; }
.participants-avatars {
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 14px;
}
.participant-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
border: 3px solid #fff;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 13px;
font-weight: 600;
margin-left: -10px;
cursor: pointer;
transition: transform .2s;
}
.participant-avatar:first-child { margin-left: 0; }
.participant-avatar:hover { transform: translateY(-3px); z-index: 1; }
.participants-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}
.participant-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 16px 8px;
background: var(--bg-page);
border-radius: 12px;
cursor: pointer;
transition: all .2s;
}
.participant-card:hover { background: var(--primary-bg); }
.participant-card-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
}
.participant-card-name { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 2px; }
.participant-card-school { font-size: 11px; color: var(--text-tertiary); }
/* 侧边栏增强 */
.activity-side {
display: flex;
flex-direction: column;
gap: 16px;
position: sticky;
top: 24px;
height: fit-content;
box-sizing: border-box;
}
.side-card {
background: var(--bg-card);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
border: 1px solid var(--border-light);
padding: 22px 20px;
box-sizing: border-box;
overflow: hidden;
}
.side-card-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.join-btn {
width: 100%;
height: 50px;
background: var(--primary);
color: #fff;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all .2s;
margin-bottom: 14px;
box-shadow: 0 4px 14px rgba(23,176,207,0.3);
font-family: inherit;
}
.join-btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(23,176,207,0.35); }
.join-btn.secondary {
background: var(--bg-card);
color: var(--text-secondary);
border: 1px solid var(--border);
box-shadow: none;
margin-bottom: 0;
height: 44px;
border-radius: 10px;
font-size: 14px;
}
.join-btn.secondary:hover { background: var(--bg-page); transform: none; }
.progress-info {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
font-size: 13px;
}
.progress-info .num { color: var(--primary); font-weight: 600; }
.progress-info .total { color: var(--text-tertiary); }
.progress-bar {
width: 100%;
height: 8px;
background: var(--bg-page);
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--primary-light));
border-radius: 4px;
transition: width .3s;
}
.spots-left {
margin-top: 10px;
font-size: 12px;
color: var(--warning);
font-weight: 500;
text-align: center;
}
.side-info-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid var(--border-light);
}
.side-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.side-info-item:first-child { padding-top: 0; }
.side-info-item svg { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; color: var(--primary); }
.side-info-content .label { font-size: 12px; color: var(--text-tertiary); margin-bottom: 3px; }
.side-info-content .value { font-size: 14px; color: var(--text-primary); font-weight: 500; line-height: 1.5; }
.host-row {
display: flex;
align-items: center;
gap: 12px;
}
.host-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 15px;
font-weight: 600;
flex-shrink: 0;
cursor: pointer;
}
.host-info { flex: 1; min-width: 0; }
.host-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; cursor: pointer; }
.host-name:hover { color: var(--primary); }
.host-desc { font-size: 12px; color: var(--text-tertiary); }
.host-follow-btn {
height: 30px;
padding: 0 14px;
border-radius: 15px;
font-size: 12px;
font-weight: 500;
background: var(--bg-card);
border: 1px solid var(--primary);
color: var(--primary);
cursor: pointer;
transition: all .15s;
font-family: inherit;
flex-shrink: 0;
}
.host-follow-btn:hover { background: var(--primary-bg); }
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">
<span class="main">青核 Youthome</span>
<span class="sub">校园实名社交</span>
</div>
</div>
<!-- 发布按钮 -->
<div class="sidebar-publish">
<div class="publish-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg>
<span>发布</span>
<svg class="publish-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<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">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<circle cx="8.5" cy="8.5" r="1.5"></circle>
<polyline points="21 15 16 10 5 21"></polyline>
</svg>
<div class="publish-option-text">
<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">
<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 class="publish-option-text">
<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">
<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>
<line x1="12" y1="14" x2="12" y2="18"></line>
<line x1="10" y1="16" x2="14" y2="16"></line>
</svg>
<div class="publish-option-text">
<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">
<path d="M19 20H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1m2 13a2 2 0 0 1-2-2V7m2 13a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"></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">
<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 active" onclick="location.href='activities.html'">
<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>
</svg>
活动组局
</div>
<div class="nav-section-title">我的</div>
<div class="nav-item" onclick="location.href='me.html'">
<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="nav-item" onclick="location.href='notification.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<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 class="nav-badge">3</span>
</div>
</div>
<div class="nav-item" onclick="location.href='settings.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<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">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</div>
</aside>
<div class="main-area">
<header class="top-bar">
<div class="top-bar-left">
<div class="search-wrapper">
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
<input type="text" class="search-input" placeholder="搜索内容、用户、话题…">
</div>
</div>
<div class="top-bar-right">
<button class="icon-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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></button>
<button class="publish-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M12 5v14"></path><path d="M5 12h14"></path></svg>发布</button>
<div class="avatar-btn">小</div>
</div>
</header>
<main class="content-area">
<!-- 封面 -->
<div class="activity-detail-cover" style="background: linear-gradient(135deg, #BCEAF3 0%, #73D3E6 30%, #17B0CF 70%, #0E8098 100%);">
<div class="back-btn" onclick="location.href='activities.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 12H5M12 19l-7-7 7-7"></path></svg>
</div>
<div class="cover-info">
<div>
<div class="cover-tags">
<span class="cover-tag">报名中</span>
<span class="cover-tag">文体艺术</span>
<span class="cover-tag">+2 学时</span>
</div>
<div class="cover-title">校园十佳歌手大赛</div>
</div>
<div class="cover-actions">
<div class="cover-action-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>
</div>
<div class="cover-action-btn">
<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>
</div>
</div>
<div class="activity-detail-main">
<!-- 左侧主内容 -->
<div class="activity-info-card">
<div class="activity-detail-meta">
<span class="meta-tag"><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></svg>12月25日 19:00</span>
<span class="meta-tag"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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>大礼堂</span>
<span class="meta-tag"><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><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>156人已报名</span>
</div>
<div class="detail-tabs">
<div class="detail-tab active">活动详情</div>
<div class="detail-tab">参与者 (156)</div>
<div class="detail-tab">讨论 (32)</div>
<div class="detail-tab">相册</div>
</div>
<div class="section-title">活动介绍</div>
<div class="activity-content">
<p>一年一度的校园十佳歌手大赛即将举办!这是展示你音乐才华的绝佳舞台,让全校师生听到你的声音。无论你是流行、民谣、摇滚还是R&B,只要你热爱音乐,就来报名吧!</p>
<p>本次比赛分为初赛、复赛、决赛三轮,最终决出校园十佳歌手。冠军将获得奖杯及丰厚奖品,并有机会代表学校参加省市级比赛。</p>
<h4>比赛流程</h4>
<p>1. 初赛(12月20日):每位选手演唱一首歌曲,评委打分选出前20名<br>
2. 复赛(12月22日):20进10,两轮演唱<br>
3. 决赛(12月25日):十佳歌手排位赛,现场观众投票</p>
<h4>报名要求</h4>
<p>本校在读学生,需实名认证账号。报名成功后将通过站内信通知具体参赛安排。</p>
<h4>奖品设置</h4>
<p>冠军:奖杯 + 3000元奖金 + 省赛推荐资格<br>
亚军:奖杯 + 2000元奖金<br>
季军:奖杯 + 1000元奖金<br>
十佳歌手:荣誉证书 + 定制周边礼包</p>
</div>
<!-- 参与者 -->
<div class="participants-section">
<div class="participants-header">
<h3 class="participants-title">已报名同学 (156)</h3>
<span class="participants-more">查看全部 →</span>
</div>
<div class="participants-avatars">
<div class="participant-avatar" style="background: linear-gradient(135deg, #73D3E6, #17B0CF);">林</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">王</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">李</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">赵</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">孙</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #FFB3B3, #F5222D);">张</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">周</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">吴</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">郑</div>
<div class="participant-avatar" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">钱</div>
</div>
<div class="participants-list">
<div class="participant-card" onclick="location.href='user.html'">
<div class="participant-card-avatar" style="background: linear-gradient(135deg, #73D3E6, #17B0CF);">林</div>
<div class="participant-card-name">林小夏</div>
<div class="participant-card-school">清华大学</div>
</div>
<div class="participant-card" onclick="location.href='user.html'">
<div class="participant-card-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">王</div>
<div class="participant-card-name">王小雅</div>
<div class="participant-card-school">北京大学</div>
</div>
<div class="participant-card" onclick="location.href='user.html'">
<div class="participant-card-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">李</div>
<div class="participant-card-name">李明</div>
<div class="participant-card-school">复旦大学</div>
</div>
<div class="participant-card" onclick="location.href='user.html'">
<div class="participant-card-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">赵</div>
<div class="participant-card-name">赵小雨</div>
<div class="participant-card-school">上海交大</div>
</div>
</div>
</div>
</div>
<!-- 右侧栏 -->
<div class="activity-side">
<div class="side-card">
<button class="join-btn" onclick="openSignupModal()">立即报名</button>
<button class="join-btn secondary">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right:6px; vertical-align:middle;"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>
收藏活动
</button>
<div style="margin-top: 18px;">
<div class="progress-info"><span>报名进度</span><span><span class="num">156</span> / <span class="total">200人</span></span></div>
<div class="progress-bar"><div class="progress-fill" style="width: 78%;"></div></div>
<div class="spots-left">仅剩 44 个名额,欲报从速!</div>
</div>
</div>
<div class="side-card">
<div class="side-card-title">活动信息</div>
<div class="side-info-item">
<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></svg>
<div class="side-info-content">
<div class="label">活动时间</div>
<div class="value">12月25日 19:00-22:00</div>
</div>
</div>
<div class="side-info-item">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><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 class="side-info-content">
<div class="label">活动地点</div>
<div class="value">大礼堂<br>(近东门,步行5分钟)</div>
</div>
</div>
<div class="side-info-item">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><path d="M22 4 12 14.01l-3-3"></path></svg>
<div class="side-info-content">
<div class="label">学时奖励</div>
<div class="value">参与可获得 +2 学时</div>
</div>
</div>
<div class="side-info-item">
<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></svg>
<div class="side-info-content">
<div class="label">报名截止</div>
<div class="value">12月18日 23:59</div>
</div>
</div>
</div>
<div class="side-card">
<div class="side-card-title">主办方</div>
<div class="host-row">
<div class="host-avatar" onclick="location.href='user.html'">学</div>
<div class="host-info">
<div class="host-name" onclick="location.href='user.html'">校学生会文艺部</div>
<div class="host-desc">官方认证组织 · 粉丝 5.2k</div>
</div>
<button class="host-follow-btn">关注</button>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
function openSignupModal() {
alert('活动报名弹窗(居中)');
}
</script>
<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?v=20261013-message-links" defer></script>
</body>
</html>