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.
 
 
 
 

1575 lines
75 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%;
overflow: hidden;; min-height: 1080px; margin: 0 auto; display: flex; position: relative; background: var(--bg-page); }
.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-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; overflow: hidden; }
.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.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; }
/* ===== 发布按钮 ===== */
.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; }
/* ===== 主内容区 ===== */
.main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
/* ===== 顶部栏 ===== */
.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 28px; flex-shrink: 0; z-index: 15; position: sticky; top: 0;
}
.top-bar-left { display: flex; align-items: center; gap: 12px; }
.page-title-main { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.page-title-count { font-size: 13px; color: var(--text-tertiary); margin-left: 4px; }
.page-title-count b { color: var(--primary); font-weight: 600; }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
/* 搜索框 */
.search-wrapper { width: 280px; position: relative; }
.search-input {
width: 100%; height: 38px; padding: 0 16px 0 40px;
border: 1px solid var(--border); border-radius: 8px;
font-size: 13px; background: var(--bg-page); font-family: inherit; outline: none;
transition: all .15s ease;
}
.search-input:focus { border-color: var(--primary); background: var(--bg-card); box-shadow: 0 0 0 3px rgba(23,176,207,0.1); }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-tertiary); pointer-events: none; }
/* 视图切换 */
.view-toggle { display: flex; background: var(--bg-page); border: 1px solid var(--border); border-radius: 8px; padding: 2px; }
.view-btn {
width: 34px; height: 30px; display: flex; align-items: center; justify-content: center;
border-radius: 6px; color: var(--text-tertiary); cursor: pointer; transition: all .15s;
}
.view-btn:hover { color: var(--text-secondary); }
.view-btn.active { background: var(--bg-card); color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.view-btn svg { width: 16px; height: 16px; }
/* 排序下拉 */
.sort-dropdown {
position: relative; height: 38px; padding: 0 14px;
display: flex; align-items: center; gap: 6px;
border: 1px solid var(--border); border-radius: 8px;
font-size: 13px; color: var(--text-secondary); background: var(--bg-card); cursor: pointer;
transition: all .15s;
}
.sort-dropdown:hover { border-color: var(--text-tertiary); }
.sort-dropdown svg { width: 14px; height: 14px; transition: transform .2s; }
.sort-dropdown.active svg { transform: rotate(180deg); }
.sort-menu {
position: absolute; top: calc(100% + 4px); right: 0;
min-width: 120px; background: var(--bg-card); border: 1px solid var(--border-light);
border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px;
display: none; z-index: 100;
}
.sort-menu.show { display: block; }
.sort-option {
padding: 8px 12px; border-radius: 6px; font-size: 13px;
color: var(--text-secondary); cursor: pointer; transition: background .15s;
}
.sort-option:hover { background: var(--bg-hover); color: var(--text-primary); }
.sort-option.active { color: var(--primary); background: var(--primary-bg); font-weight: 500; }
/* 发起活动按钮 */
.top-publish-btn {
height: 38px; padding: 0 18px;
display: flex; align-items: center; gap: 6px;
background: var(--primary); color: #fff; border: none;
border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
transition: all .15s; box-shadow: 0 2px 8px rgba(23,176,207,0.25);
}
.top-publish-btn:hover { background: var(--primary-hover); box-shadow: 0 4px 12px rgba(23,176,207,0.3); }
.top-publish-btn svg { width: 16px; height: 16px; }
/* ===== 主体内容区 ===== */
.content-wrapper { flex: 1; display: flex; padding: 24px 28px 32px; gap: 24px; min-width: 0; }
/* ===== 左侧筛选栏 ===== */
.filter-sidebar {
width: 240px; flex-shrink: 0;
display: flex; flex-direction: column;
}
.filter-card {
background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-light);
box-shadow: var(--shadow-sm); overflow: hidden;
}
.filter-section {
padding: 16px 18px;
border-bottom: 1px solid var(--border-light);
}
.filter-section:last-child { border-bottom: none; }
.filter-section-header {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 12px;
}
.filter-section-title {
font-size: 14px; font-weight: 600; color: var(--text-primary);
display: flex; align-items: center; gap: 6px;
}
.filter-section-title svg { width: 16px; height: 16px; color: var(--primary); }
.filter-clear-single {
font-size: 12px; color: var(--text-tertiary); cursor: pointer;
transition: color .15s;
}
.filter-clear-single:hover { color: var(--primary); }
.filter-options { display: flex; flex-direction: column; gap: 2px; }
.filter-option {
display: flex; align-items: center; gap: 10px;
padding: 7px 10px; border-radius: 6px;
font-size: 13px; color: var(--text-secondary); cursor: pointer;
transition: all .15s;
}
.filter-option:hover { background: var(--bg-hover); color: var(--text-primary); }
.filter-option.selected { color: var(--primary); font-weight: 500; }
/* 自定义复选框 */
.filter-checkbox {
width: 16px; height: 16px; border-radius: 4px;
border: 1.5px solid var(--border); flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
transition: all .15s; background: var(--bg-card);
}
.filter-option.selected .filter-checkbox {
background: var(--primary); border-color: var(--primary);
}
.filter-checkbox svg {
width: 10px; height: 10px; color: #fff; opacity: 0;
transition: opacity .15s;
}
.filter-option.selected .filter-checkbox svg { opacity: 1; }
.filter-option-count {
margin-left: auto; font-size: 12px; color: var(--text-tertiary);
}
.filter-option.selected .filter-option-count { color: var(--primary-light); }
/* 学校列表可滚动 */
.filter-school-list {
max-height: 180px; overflow-y: auto;
margin-right: -4px; padding-right: 4px;
}
.filter-school-list::-webkit-scrollbar { width: 4px; }
.filter-school-list::-webkit-scrollbar-thumb { background: #D9D9D9; border-radius: 2px; }
/* 筛选栏底部重置 */
.filter-footer {
margin-top: auto; padding-top: 16px;
}
.filter-reset-btn {
width: 100%; height: 40px;
display: flex; align-items: center; justify-content: center; gap: 6px;
border: 1px solid var(--border); border-radius: 8px;
background: var(--bg-card); color: var(--text-secondary); font-size: 13px;
cursor: pointer; transition: all .15s;
}
.filter-reset-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.filter-reset-btn svg { width: 14px; height: 14px; }
/* 已选筛选标签 */
.filter-selected-tags {
display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.filter-selected-tag {
display: inline-flex; align-items: center; gap: 4px;
padding: 4px 10px; background: var(--primary-bg); color: var(--primary);
border-radius: 6px; font-size: 12px; font-weight: 500;
cursor: pointer; transition: all .15s;
}
.filter-selected-tag:hover { background: var(--primary-lighter); }
.filter-selected-tag svg { width: 12px; height: 12px; }
/* ===== 右侧活动列表 ===== */
.activity-list-wrapper { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* 列表头部信息条 */
.list-header-bar {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 16px;
}
.list-header-left { font-size: 13px; color: var(--text-tertiary); }
.list-header-left b { color: var(--text-primary); font-weight: 600; }
.list-header-right { display: flex; align-items: center; gap: 8px; }
/* 活动列表卡片 */
.activity-list { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.activity-list-card {
display: flex; gap: 20px;
background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-light);
box-shadow: var(--shadow-sm); overflow: hidden;
cursor: pointer; transition: all .2s ease;
padding: 16px;
}
.activity-list-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-2px);
border-color: var(--primary-lighter);
}
/* 封面图 */
.activity-list-cover {
width: 220px; height: 150px; flex-shrink: 0;
border-radius: 10px; overflow: hidden; position: relative;
}
.activity-list-cover img { width: 100%; height: 100%; object-fit: cover; }
.activity-cover-tag {
position: absolute; top: 10px; left: 10px;
padding: 4px 10px; border-radius: 6px;
font-size: 12px; font-weight: 600;
backdrop-filter: blur(8px);
}
.activity-cover-tag.signing { background: rgba(23,176,207,0.9); color: #fff; }
.activity-cover-tag.soon { background: rgba(255,185,128,0.95); color: #fff; }
.activity-cover-tag.full { background: rgba(140,140,140,0.9); color: #fff; }
.activity-cover-tag.ongoing { background: rgba(82,196,26,0.9); color: #fff; }
.activity-credit-tag {
position: absolute; top: 10px; right: 10px;
padding: 4px 10px;
background: rgba(0,0,0,0.55); color: #fff;
font-size: 11px; font-weight: 600; border-radius: 6px;
backdrop-filter: blur(6px);
}
/* 活动信息 */
.activity-list-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.activity-list-top {
display: flex; align-items: flex-start; justify-content: space-between;
gap: 12px; margin-bottom: 10px;
}
.activity-list-title {
font-size: 17px; font-weight: 600; color: var(--text-primary);
line-height: 1.4; flex: 1;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden;
transition: color .15s;
}
.activity-list-card:hover .activity-list-title { color: var(--primary); }
.activity-type-tag {
flex-shrink: 0; padding: 4px 12px;
background: var(--primary-bg); color: var(--primary);
border-radius: 6px; font-size: 12px; font-weight: 500;
}
.activity-type-tag.offline { background: #E6F4FF; color: #4A90FF; }
.activity-type-tag.sport { background: #E6FFEF; color: #2BA868; }
.activity-type-tag.study { background: #F0E6FF; color: #9254DE; }
.activity-type-tag.interest { background: #FFE6F0; color: #EB2F96; }
.activity-type-tag.competition { background: #FFF1DE; color: #E8871A; }
.activity-type-tag.volunteer { background: #F6FFED; color: #52C41A; }
/* 活动元信息 */
.activity-list-meta {
display: flex; flex-direction: column; gap: 8px;
margin-bottom: 12px;
}
.meta-row {
display: flex; align-items: center; gap: 8px;
font-size: 13px; color: var(--text-secondary);
}
.meta-row svg { width: 15px; height: 15px; color: var(--text-tertiary); flex-shrink: 0; }
.meta-row .meta-label { color: var(--text-tertiary); flex-shrink: 0; }
.meta-row .meta-value { color: var(--text-secondary); }
.meta-row .meta-value.highlight { color: var(--primary); font-weight: 500; }
/* 底部信息栏 */
.activity-list-footer {
margin-top: auto;
display: flex; align-items: center; justify-content: space-between;
padding-top: 12px; border-top: 1px solid var(--border-light);
}
.activity-footer-left {
display: flex; align-items: center; gap: 20px;
}
.people-info {
display: flex; align-items: center; gap: 6px;
font-size: 13px; color: var(--text-tertiary);
}
.people-info b { color: var(--primary); font-weight: 600; font-size: 14px; }
.people-bar {
width: 80px; height: 6px; background: var(--bg-hover);
border-radius: 3px; overflow: hidden;
}
.people-bar-fill {
height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary));
border-radius: 3px;
}
.fee-info {
font-size: 13px; color: var(--text-tertiary);
}
.fee-info.free { color: var(--success); font-weight: 500; }
.fee-info.paid b { color: var(--error); font-weight: 600; font-size: 15px; }
.activity-footer-right { display: flex; align-items: center; gap: 10px; }
.organizer-info {
display: flex; align-items: center; gap: 6px;
font-size: 12px; color: var(--text-tertiary);
}
.organizer-avatar {
width: 22px; height: 22px; border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 10px; font-weight: 600;
}
/* 报名按钮 */
.btn-signup {
height: 36px; padding: 0 22px;
background: var(--primary); color: #fff;
border: none; border-radius: 18px;
font-size: 13px; font-weight: 600; cursor: pointer;
transition: all .15s;
box-shadow: 0 2px 8px rgba(23,176,207,0.25);
display: flex; align-items: center; gap: 4px;
}
.btn-signup:hover {
background: var(--primary-hover);
box-shadow: 0 4px 12px rgba(23,176,207,0.35);
transform: translateY(-1px);
}
.btn-signup svg { width: 14px; height: 14px; }
.btn-signed {
height: 36px; padding: 0 22px;
background: var(--bg-hover); color: var(--text-tertiary);
border: 1px solid var(--border); border-radius: 18px;
font-size: 13px; font-weight: 500; cursor: default;
display: flex; align-items: center; gap: 4px;
}
.btn-signed svg { width: 14px; height: 14px; color: var(--primary); }
.btn-full {
height: 36px; padding: 0 22px;
background: var(--bg-disabled); color: var(--text-tertiary);
border: 1px solid var(--border); border-radius: 18px;
font-size: 13px; font-weight: 500; cursor: not-allowed;
}
/* ===== 分页器 ===== */
.pagination {
display: flex; align-items: center; justify-content: center;
gap: 6px; margin-top: 32px;
}
.page-btn {
min-width: 36px; height: 36px; padding: 0 12px;
display: flex; align-items: center; justify-content: center;
border: 1px solid var(--border); border-radius: 8px;
background: var(--bg-card); color: var(--text-secondary);
font-size: 13px; cursor: pointer; transition: all .15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active {
background: var(--primary); color: #fff; border-color: var(--primary);
font-weight: 600;
}
.page-btn:disabled {
color: var(--text-disabled); cursor: not-allowed;
background: var(--bg-disabled);
}
.page-btn svg { width: 14px; height: 14px; }
.page-dots { color: var(--text-tertiary); padding: 0 4px; }
.page-total { margin-left: 16px; font-size: 13px; color: var(--text-tertiary); }
/* 工具 */
svg { stroke-linecap: round; stroke-linejoin: round; fill: none; stroke: currentColor; stroke-width: 2; }
.fill-primary { fill: var(--primary); }
/* 空状态 */
.empty-state {
padding: 80px 20px; text-align: center;
background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-light);
}
.empty-icon {
width: 80px; height: 80px; margin: 0 auto 20px;
background: var(--primary-bg); border-radius: 50%;
display: flex; align-items: center; justify-content: center;
}
.empty-icon svg { width: 40px; height: 40px; color: var(--primary); }
.empty-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.empty-desc { font-size: 13px; color: var(--text-tertiary); }
</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">
<img src="../assets/avatar-01-female-short-light.jpg" alt="林小夏">
</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">
<span class="page-title-main">活动组局</span>
<span class="page-title-count">共 <b>128</b> 场活动</span>
</div>
<div class="top-bar-right">
<!-- 搜索框 -->
<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 class="view-toggle">
<div class="view-btn active" title="列表视图">
<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>
</div>
<div class="view-btn" title="网格视图">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="7" height="7"></rect>
<rect x="14" y="3" width="7" height="7"></rect>
<rect x="14" y="14" width="7" height="7"></rect>
<rect x="3" y="14" width="7" height="7"></rect>
</svg>
</div>
</div>
<!-- 排序 -->
<div class="sort-dropdown" onclick="toggleSortMenu(event)">
<span id="sortLabel">最新发布</span>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
<div class="sort-menu" id="sortMenu">
<div class="sort-option active" onclick="setSort('最新发布', event)">最新发布</div>
<div class="sort-option" onclick="setSort('最热活动', event)">最热活动</div>
<div class="sort-option" onclick="setSort('即将开始', event)">即将开始</div>
<div class="sort-option" onclick="setSort('报名人数', event)">报名人数</div>
</div>
</div>
<!-- 发起活动 -->
<button class="top-publish-btn" onclick="location.href='activity-create.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg>
发起活动
</button>
</div>
</header>
<!-- 主体内容:筛选栏 + 活动列表 -->
<div class="content-wrapper">
<!-- 左侧筛选栏 -->
<aside class="filter-sidebar">
<div class="filter-card">
<!-- 活动类型 -->
<div class="filter-section">
<div class="filter-section-header">
<span class="filter-section-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon>
</svg>
活动类型
</span>
</div>
<div class="filter-options">
<div class="filter-option selected" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
全部
<span class="filter-option-count">128</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
线下聚会
<span class="filter-option-count">36</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
运动健身
<span class="filter-option-count">28</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
学习交流
<span class="filter-option-count">24</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
兴趣社团
<span class="filter-option-count">18</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
比赛竞赛
<span class="filter-option-count">14</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
公益志愿
<span class="filter-option-count">8</span>
</div>
</div>
</div>
<!-- 时间 -->
<div class="filter-section">
<div class="filter-section-header">
<span class="filter-section-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"></circle>
<polyline points="12 6 12 12 16 14"></polyline>
</svg>
活动时间
</span>
</div>
<div class="filter-options">
<div class="filter-option selected" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
全部时间
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
今天
<span class="filter-option-count">6</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
本周末
<span class="filter-option-count">24</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
本周
<span class="filter-option-count">42</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
下周
<span class="filter-option-count">36</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
自定义日期...
</div>
</div>
</div>
<!-- 学校 -->
<div class="filter-section">
<div class="filter-section-header">
<span class="filter-section-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M3 21v-7l9-4 9 4v7"></path>
<path d="M3 10l9-4 9 4"></path>
<path d="M9 21v-7h6v7"></path>
</svg>
所在学校
</span>
</div>
<div class="filter-school-list">
<div class="filter-options">
<div class="filter-option selected" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
全部学校
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
复旦大学
<span class="filter-option-count">42</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
上海交通大学
<span class="filter-option-count">35</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
同济大学
<span class="filter-option-count">22</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
华东师范大学
<span class="filter-option-count">18</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
华东理工大学
<span class="filter-option-count">12</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
上海大学
<span class="filter-option-count">10</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
上海财经大学
<span class="filter-option-count">8</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
东华大学
<span class="filter-option-count">6</span>
</div>
</div>
</div>
</div>
<!-- 费用 -->
<div class="filter-section">
<div class="filter-section-header">
<span class="filter-section-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="12" y1="1" x2="12" y2="23"></line>
<path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>
</svg>
活动费用
</span>
</div>
<div class="filter-options">
<div class="filter-option selected" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
全部
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
免费
<span class="filter-option-count">76</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
付费
<span class="filter-option-count">52</span>
</div>
</div>
</div>
<!-- 人数 -->
<div class="filter-section">
<div class="filter-section-header">
<span class="filter-section-title">
<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>
参与人数
</span>
</div>
<div class="filter-options">
<div class="filter-option selected" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
全部
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
10人以下
<span class="filter-option-count">32</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
10-30人
<span class="filter-option-count">58</span>
</div>
<div class="filter-option" onclick="toggleFilter(this)">
<span class="filter-checkbox">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</span>
30人以上
<span class="filter-option-count">38</span>
</div>
</div>
</div>
</div>
<!-- 底部重置按钮 -->
<div class="filter-footer">
<button class="filter-reset-btn" onclick="resetAllFilters()">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="1 4 1 10 7 10"></polyline>
<path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>
</svg>
重置筛选条件
</button>
</div>
</aside>
<!-- 右侧活动列表 -->
<main class="activity-list-wrapper">
<!-- 列表头部 -->
<div class="list-header-bar">
<div class="list-header-left">
为你找到 <b>128</b> 个符合条件的活动
</div>
<div class="list-header-right">
<span style="font-size:12px;color:var(--text-tertiary)">已选筛选:</span>
<div class="filter-selected-tags" style="margin:0">
<span class="filter-selected-tag" onclick="this.remove()">
线下聚会
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</span>
<span class="filter-selected-tag" onclick="this.remove()">
本周末
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</span>
</div>
</div>
</div>
<!-- 活动列表 -->
<div class="activity-list">
<!-- 活动卡片 1 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #BCEAF3 0%, #73D3E6 50%, #17B0CF 100%);">
<span class="activity-cover-tag signing">报名中</span>
<span class="activity-credit-tag">+2 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">校园十佳歌手大赛 · 冬季总决赛</div>
<span class="activity-type-tag competition">比赛竞赛</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">12月28日(周六)19:00 - 22:00</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">复旦大学邯郸校区 · 相辉堂大礼堂</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">校学生会文艺部</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>186</b>/200 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:93%"></div></div>
</div>
<div class="fee-info free">免费</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar">学</div>
<span>学生会认证</span>
</div>
<button class="btn-signup" onclick="event.stopPropagation();alert('立即报名')">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="8.5" cy="7" r="4"></circle>
<line x1="20" y1="8" x2="20" y2="14"></line>
<line x1="23" y1="11" x2="17" y2="11"></line>
</svg>
立即报名
</button>
</div>
</div>
</div>
</div>
<!-- 活动卡片 2 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #FED7AA 0%, #FB923C 50%, #F97316 100%);">
<span class="activity-cover-tag soon">即将开始</span>
<span class="activity-credit-tag">+1 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">期末高数复习互助小组 · 每周两次线下答疑</div>
<span class="activity-type-tag study">学习交流</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">12月21日起 · 每周三、周日 19:00-21:00</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">复旦大学邯郸校区 · 图书馆三楼研讨室</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">数院学霸互助团</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>48</b>/60 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:80%"></div></div>
</div>
<div class="fee-info free">免费</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">数</div>
<span>数院社团</span>
</div>
<button class="btn-signup" onclick="event.stopPropagation();alert('立即报名')">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="8.5" cy="7" r="4"></circle>
<line x1="20" y1="8" x2="20" y2="14"></line>
<line x1="23" y1="11" x2="17" y2="11"></line>
</svg>
立即报名
</button>
</div>
</div>
</div>
</div>
<!-- 活动卡片 3 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #C8E6C9 0%, #81C784 50%, #4CAF50 100%);">
<span class="activity-cover-tag ongoing">进行中</span>
<span class="activity-credit-tag">+3 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">校园志愿者招募|图书馆书籍整理与上架志愿活动</div>
<span class="activity-type-tag volunteer">公益志愿</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">进行中 · 12月15日-12月22日 · 每天14:00-17:00</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">复旦大学邯郸校区 · 文科图书馆</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">校青年志愿者协会</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>32</b>/50 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:64%"></div></div>
</div>
<div class="fee-info free">免费</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">志</div>
<span>官方认证</span>
</div>
<button class="btn-signed" onclick="event.stopPropagation()">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
已报名
</button>
</div>
</div>
</div>
</div>
<!-- 活动卡片 4 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 50%, #3B82F6 100%);">
<span class="activity-cover-tag signing">报名中</span>
<span class="activity-credit-tag">+1.5 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">周末篮球友谊赛 · 3V3 街头篮球赛招募</div>
<span class="activity-type-tag sport">运动健身</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">12月28日(周六)14:00 - 18:00</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">复旦大学邯郸校区 · 北区篮球场</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">篮球协会</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>24</b>/32 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:75%"></div></div>
</div>
<div class="fee-info paid"><b>¥20</b> /人(含场地费)</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">篮</div>
<span>体育社团</span>
</div>
<button class="btn-signup" onclick="event.stopPropagation();alert('立即报名')">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="8.5" cy="7" r="4"></circle>
<line x1="20" y1="8" x2="20" y2="14"></line>
<line x1="23" y1="11" x2="17" y2="11"></line>
</svg>
立即报名
</button>
</div>
</div>
</div>
</div>
<!-- 活动卡片 5 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #FBCFE8 0%, #F472B6 50%, #EC4899 100%);">
<span class="activity-cover-tag signing">报名中</span>
<span class="activity-credit-tag">+1 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">桌游社周末局 · 狼人杀/剧本杀/阿瓦隆 多桌同时开</div>
<span class="activity-type-tag interest">兴趣社团</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">12月28日(周六)18:30 - 22:00</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">邯郸路国定路 · 某桌游吧(报名后通知具体地址)</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">桌游社</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>38</b>/40 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:95%"></div></div>
</div>
<div class="fee-info paid"><b>¥35</b> /人(含场地+饮品)</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar" style="background: linear-gradient(135deg, #FFB3D9, #EB2F96);">桌</div>
<span>兴趣社团</span>
</div>
<button class="btn-signup" onclick="event.stopPropagation();alert('立即报名')">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="8.5" cy="7" r="4"></circle>
<line x1="20" y1="8" x2="20" y2="14"></line>
<line x1="23" y1="11" x2="17" y2="11"></line>
</svg>
立即报名
</button>
</div>
</div>
</div>
</div>
<!-- 活动卡片 6 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #D4B5FF 0%, #A78BFA 50%, #8B5CF6 100%);">
<span class="activity-cover-tag full">已满员</span>
<span class="activity-credit-tag">+2 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">青年大学习主题分享会 · 改革开放史专题讲座</div>
<span class="activity-type-tag offline">线下聚会</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">12月25日(周三)19:00 - 20:30</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">复旦大学邯郸校区 · 光华楼东辅楼103</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">校团委组织部</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>200</b>/200 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:100%;background:linear-gradient(90deg,#d9d9d9,#bfbfbf)"></div></div>
</div>
<div class="fee-info free">免费</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">团</div>
<span>官方认证</span>
</div>
<button class="btn-full" onclick="event.stopPropagation()">已满员</button>
</div>
</div>
</div>
</div>
<!-- 活动卡片 7 -->
<div class="activity-list-card" onclick="location.href='activity-detail.html'">
<div class="activity-list-cover" style="background: linear-gradient(135deg, #BCEAF3 0%, #73D3E6 50%, #1298B3 100%);">
<span class="activity-cover-tag soon">即将开始</span>
<span class="activity-credit-tag">+1 学时</span>
</div>
<div class="activity-list-info">
<div class="activity-list-top">
<div class="activity-list-title">上海交大-复旦 跨校联谊 · 冬日桌游交友派对</div>
<span class="activity-type-tag offline">线下聚会</span>
</div>
<div class="activity-list-meta">
<div class="meta-row">
<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>
<span class="meta-label">时间</span>
<span class="meta-value">12月29日(周日)14:00 - 18:00</span>
</div>
<div class="meta-row">
<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 class="meta-label">地点</span>
<span class="meta-value">五角场 · 某咖啡厅(报名后通知)</span>
</div>
<div class="meta-row">
<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>
</svg>
<span class="meta-label">主办方</span>
<span class="meta-value">复旦交大学生会联谊部</span>
</div>
</div>
<div class="activity-list-footer">
<div class="activity-footer-left">
<div class="people-info">
<b>52</b>/60 人已报名
<div class="people-bar"><div class="people-bar-fill" style="width:87%"></div></div>
</div>
<div class="fee-info paid"><b>¥49</b> /人(含饮品+小食)</div>
</div>
<div class="activity-footer-right">
<div class="organizer-info">
<div class="organizer-avatar" style="background: linear-gradient(135deg, #73D3E6, #17B0CF);">联</div>
<span>跨校联谊</span>
</div>
<button class="btn-signup" onclick="event.stopPropagation();alert('立即报名')">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="8.5" cy="7" r="4"></circle>
<line x1="20" y1="8" x2="20" y2="14"></line>
<line x1="23" y1="11" x2="17" y2="11"></line>
</svg>
立即报名
</button>
</div>
</div>
</div>
</div>
</div>
<!-- 分页器 -->
<div class="pagination">
<button class="page-btn" disabled>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="15 18 9 12 15 6"></polyline>
</svg>
</button>
<button class="page-btn active">1</button>
<button class="page-btn">2</button>
<button class="page-btn">3</button>
<button class="page-btn">4</button>
<span class="page-dots">...</span>
<button class="page-btn">19</button>
<button class="page-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
<span class="page-total">共 19 页</span>
</div>
</main>
</div>
</div>
</div>
<script>
// 筛选多选切换
function toggleFilter(el) {
// 如果点击的是"全部",则取消其他选中,只选中全部
const section = el.closest('.filter-options');
const options = section.querySelectorAll('.filter-option');
const firstOption = options[0]; // "全部"选项
if (el === firstOption) {
// 点击全部,只选中全部
options.forEach(opt => opt.classList.remove('selected'));
firstOption.classList.add('selected');
} else {
// 点击其他选项,切换选中状态
el.classList.toggle('selected');
// 取消"全部"的选中
firstOption.classList.remove('selected');
// 如果所有非全部选项都取消了,则选中"全部"
const hasSelected = Array.from(options).slice(1).some(opt => opt.classList.contains('selected'));
if (!hasSelected) {
firstOption.classList.add('selected');
}
}
}
// 重置所有筛选
function resetAllFilters() {
document.querySelectorAll('.filter-options').forEach(section => {
const options = section.querySelectorAll('.filter-option');
options.forEach((opt, idx) => {
opt.classList.toggle('selected', idx === 0);
});
});
// 清除已选标签
document.querySelectorAll('.filter-selected-tag').forEach(tag => tag.remove());
}
// 排序下拉
function toggleSortMenu(e) {
e.stopPropagation();
const menu = document.getElementById('sortMenu');
const dropdown = document.querySelector('.sort-dropdown');
menu.classList.toggle('show');
dropdown.classList.toggle('active');
}
function setSort(label, e) {
e.stopPropagation();
document.getElementById('sortLabel').textContent = label;
document.querySelectorAll('.sort-option').forEach(opt => {
opt.classList.toggle('active', opt.textContent === label);
});
document.getElementById('sortMenu').classList.remove('show');
document.querySelector('.sort-dropdown').classList.remove('active');
}
// 点击外部关闭排序菜单
document.addEventListener('click', function() {
document.getElementById('sortMenu').classList.remove('show');
document.querySelector('.sort-dropdown').classList.remove('active');
});
</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" defer></script>
</body>
</html>