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.
 
 
 
 

1664 lines
61 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>
/* ===== CSS Variables - Light Theme ===== */
:root {
--primary: #17B0CF;
--primary-hover: #1298B3;
--primary-bg: rgba(23, 176, 207, 0.1);
--primary-light: #73D3E6;
--bg-page: #F7F8FA;
--bg-card: #FFFFFF;
--bg-sidebar: #FFFFFF;
--bg-hover: #F5F5F5;
--bg-active: var(--primary-bg);
--text-primary: #333333;
--text-secondary: #666666;
--text-tertiary: #999999;
--text-placeholder: #BFBFBF;
--text-white: #FFFFFF;
--border: #E8E8E8;
--border-light: #F0F0F0;
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
--shadow-float: 0 12px 40px rgba(0, 0, 0, 0.1);
--radius-card: 14px;
--radius-md: 12px;
--radius-sm: 10px;
--radius-tag: 8px;
--sidebar-width: 240px;
--right-sidebar-width: 300px;
--page-padding: 24px;
--transition-fast: 0.15s ease;
--transition-base: 0.2s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
svg { stroke-linecap: round; stroke-linejoin: round; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
input { font-family: inherit; outline: none; border: none; }
a { text-decoration: none; color: inherit; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', 'SF Pro Display', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
background: var(--bg-page);
color: var(--text-primary);
font-size: 14px;
line-height: 1.57;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ===== App Layout ===== */
.app {
width: 1920px
max-width: 100%;
overflow: hidden;;
min-height: 100vh;
margin: 0 auto;
display: flex;
position: relative;
background: var(--bg-page);
}
/* ===== Left Sidebar ===== */
.sidebar {
width: var(--sidebar-width);
height: 100vh;
background: var(--bg-sidebar);
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: var(--radius-sm);
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);
display: block;
margin-top: 1px;
}
/* Sidebar Publish */
.sidebar-publish {
padding: 16px 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: var(--radius-md);
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-base);
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 var(--transition-base);
}
.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: var(--radius-md);
padding: 6px;
box-shadow: var(--shadow-md);
}
.sidebar-publish:hover .publish-dropdown { display: block; }
.publish-option {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: var(--radius-tag);
cursor: pointer;
transition: background var(--transition-fast);
}
.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 */
.sidebar-nav {
flex: 1;
padding: 8px 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: 16px 12px 8px;
letter-spacing: 0.05em;
}
.nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: var(--radius-tag);
font-size: 14px;
font-weight: 500;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.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 */
.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: var(--radius-sm);
cursor: pointer;
transition: background var(--transition-fast);
}
.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;
flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-user-desc {
font-size: 11px;
color: var(--text-tertiary);
margin-top: 1px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-user-arrow {
width: 16px;
height: 16px;
color: var(--text-tertiary);
flex-shrink: 0;
}
/* ===== Main Area ===== */
.main-area {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
position: relative;
}
/* ===== Content Area ===== */
.content-area {
flex: 1;
padding: var(--page-padding);
overflow-y: auto;
}
.content-area::-webkit-scrollbar { width: 8px; }
.content-area::-webkit-scrollbar-thumb { background: #D9D9D9; border-radius: 4px; }
.content-area::-webkit-scrollbar-thumb:hover { background: #BFBFBF; }
.content-area::-webkit-scrollbar-track { background: transparent; }
/* ===== Prominent Search Bar ===== */
.page-search {
margin-bottom: 24px;
display: flex;
justify-content: center;
}
.page-search-inner {
width: 100%;
max-width: 720px;
}
.page-search-bar {
position: relative;
width: 100%;
}
.page-search-input {
width: 100%;
height: 56px;
padding: 0 130px 0 56px;
border: 2px solid var(--border);
border-radius: var(--radius-card);
font-size: 16px;
background: var(--bg-card);
color: var(--text-primary);
transition: all var(--transition-fast);
box-shadow: var(--shadow-card);
}
.page-search-input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px var(--primary-bg), var(--shadow-card);
}
.page-search-input::placeholder { color: var(--text-placeholder); }
.page-search-icon {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
width: 22px;
height: 22px;
color: var(--primary);
pointer-events: none;
}
.page-search-btn {
position: absolute;
right: 6px;
top: 50%;
transform: translateY(-50%);
height: 44px;
padding: 0 24px;
background: var(--primary);
color: #fff;
border-radius: var(--radius-md);
font-size: 14px;
font-weight: 600;
display: flex;
align-items: center;
gap: 6px;
transition: all var(--transition-fast);
box-shadow: 0 2px 8px rgba(23, 176, 207, 0.25);
}
.page-search-btn:hover {
background: var(--primary-hover);
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.35);
}
.page-search-btn svg { width: 16px; height: 16px; }
/* Search suggestions / hot tags under bar */
.page-search-hints {
display: flex;
align-items: center;
gap: 10px;
margin-top: 12px;
padding: 0 4px;
}
.page-search-hints-label {
font-size: 12px;
color: var(--text-tertiary);
flex-shrink: 0;
}
.page-search-hints-tags {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.hint-tag {
padding: 4px 12px;
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-tag);
font-size: 12px;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.hint-tag:hover {
border-color: var(--primary);
color: var(--primary);
background: var(--primary-bg);
}
/* Result Count */
.result-count {
font-size: 13px;
color: var(--text-tertiary);
margin-bottom: 16px;
}
.result-count b {
color: var(--text-primary);
font-weight: 600;
}
/* ===== Search Tabs ===== */
.search-tabs {
display: flex;
gap: 4px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-light);
}
.search-tab {
padding: 12px 20px;
font-size: 14px;
font-weight: 500;
color: var(--text-secondary);
cursor: pointer;
position: relative;
transition: color var(--transition-fast);
}
.search-tab:hover { color: var(--text-primary); }
.search-tab.active {
color: var(--primary);
font-weight: 600;
}
.search-tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 20px;
right: 20px;
height: 2.5px;
background: var(--primary);
border-radius: 2px;
}
/* ===== Two Column Layout ===== */
.search-layout {
display: grid;
grid-template-columns: 1fr var(--right-sidebar-width);
gap: 24px;
align-items: flex-start;
}
.search-main { min-width: 0; }
/* ===== Result Cards - 瀑布流 ===== */
.result-grid {
column-count: 3;
column-gap: 14px;
}
.result-card {
background: var(--bg-card);
border-radius: 12px;
overflow: hidden;
transition: all 0.25s ease;
cursor: pointer;
break-inside: avoid;
margin-bottom: 14px;
display: inline-block;
width: 100%;
border: 1px solid var(--border-light);
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.result-card:hover {
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
transform: translateY(-2px);
}
.result-cover {
position: relative;
width: 100%;
overflow: hidden;
background: #f5f5f5;
}
.result-cover.video::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
background: rgba(0,0,0,0.5);
border-radius: 50%;
z-index: 2;
backdrop-filter: blur(4px);
}
.result-cover.video::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0;
height: 0;
border-left: 12px solid #fff;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
margin-left: 2px;
z-index: 3;
}
.result-duration {
position: absolute;
right: 8px;
bottom: 8px;
background: rgba(0,0,0,0.6);
color: #fff;
font-size: 11px;
padding: 2px 6px;
border-radius: 4px;
z-index: 2;
font-weight: 500;
}
.result-content {
padding: 10px 12px 12px;
}
.result-title {
font-size: 14px;
line-height: 1.5;
color: var(--text-primary);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 8px;
font-weight: 500;
}
.result-title mark {
background: transparent;
color: var(--primary);
font-weight: 700;
}
.result-bottom {
display: flex;
align-items: center;
justify-content: space-between;
}
.result-author-row {
display: flex;
align-items: center;
gap: 6px;
flex: 1;
min-width: 0;
}
.result-avatar-sm {
width: 20px;
height: 20px;
border-radius: 50%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 10px;
font-weight: 600;
}
.result-author-name {
font-size: 12px;
color: var(--text-tertiary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
}
.result-like {
display: flex;
align-items: center;
gap: 3px;
font-size: 12px;
color: var(--text-tertiary);
flex-shrink: 0;
}
.result-like svg { width: 14px; height: 14px; }
/* Cover heights */
.rc-1 { background: linear-gradient(135deg, #A8E6CF 0%, #17B0CF 100%); height: 160px; }
.rc-2 { background: linear-gradient(135deg, #FFD4A3 0%, #FF9F45 100%); height: 200px; }
.rc-3 { background: linear-gradient(135deg, #D4B5FF 0%, #9254DE 100%); height: 140px; }
.rc-4 { background: linear-gradient(135deg, #FFB3D9 0%, #EB2F96 50%, #FFD4A3 100%); height: 220px; }
.rc-5 { background: linear-gradient(135deg, #B5D8FF 0%, #4A90FF 100%); height: 180px; }
.rc-6 { background: linear-gradient(135deg, #FFE58F 0%, #FAAD14 100%); height: 170px; }
.rc-7 { background: linear-gradient(135deg, #95E1B5 0%, #52C41A 100%); height: 150px; }
.rc-8 { background: linear-gradient(135deg, #FFCCE0 0%, #FF7AB6 100%); height: 210px; }
.rc-9 { background: linear-gradient(135deg, #E8D5FF 0%, #7B61FF 100%); height: 190px; }
.rc-10 { background: linear-gradient(135deg, #C4F0FF 0%, #36CFFB 100%); height: 165px; }
.rc-11 { background: linear-gradient(135deg, #FFE0CC 0%, #FF7F50 100%); height: 185px; }
.rc-12 { background: linear-gradient(135deg, #D4F7E7 0%, #34C77B 100%); height: 195px; }
/* User result row */
.user-results-row {
display: flex;
gap: 14px;
margin-bottom: 20px;
overflow-x: auto;
padding-bottom: 4px;
}
.user-results-row::-webkit-scrollbar { height: 4px; }
.user-results-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.user-mini-card {
flex-shrink: 0;
width: 200px;
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: 12px;
padding: 16px;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
transition: all 0.2s;
}
.user-mini-card:hover {
border-color: var(--primary-light);
box-shadow: 0 4px 12px rgba(23,176,207,0.1);
}
.user-mini-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 16px;
font-weight: 600;
}
.user-mini-info { flex: 1; min-width: 0; }
.user-mini-name {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-mini-name mark { background: transparent; color: var(--primary); font-weight: 700; }
.user-mini-desc {
font-size: 11px;
color: var(--text-tertiary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-sidebar {
position: sticky;
top: 24px;
display: flex;
flex-direction: column;
gap: 16px;
}
.sidebar-widget {
background: var(--bg-card);
border-radius: var(--radius-card);
padding: 18px;
border: 1px solid var(--border-light);
box-shadow: var(--shadow-card);
}
.widget-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
}
.widget-title {
font-size: 15px;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 8px;
}
.widget-title-icon { width: 18px; height: 18px; color: var(--primary); }
.widget-more {
font-size: 12px;
color: var(--text-tertiary);
cursor: pointer;
display: flex;
align-items: center;
gap: 3px;
transition: color var(--transition-fast);
}
.widget-more:hover { color: var(--primary); }
.widget-more svg { width: 13px; height: 13px; }
/* Hot Search List */
.hot-list { display: flex; flex-direction: column; gap: 1px; }
.hot-item {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 8px;
border-radius: var(--radius-tag);
cursor: pointer;
transition: background var(--transition-fast);
}
.hot-item:hover { background: var(--bg-hover); }
.hot-rank {
width: 22px;
height: 22px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
background: var(--bg-page);
color: var(--text-tertiary);
flex-shrink: 0;
}
.hot-rank.top1 { background: linear-gradient(135deg, #FF6B6B, #FF4D4F); color: #fff; }
.hot-rank.top2 { background: linear-gradient(135deg, #FFB347, #FF9F45); color: #fff; }
.hot-rank.top3 { background: linear-gradient(135deg, #FFD93D, #FAAD14); color: #fff; }
.hot-text {
flex: 1;
font-size: 13px;
color: var(--text-secondary);
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hot-item:hover .hot-text { color: var(--text-primary); }
.hot-heat { font-size: 11px; color: var(--text-tertiary); flex-shrink: 0; }
.hot-tag {
font-size: 10px;
padding: 1px 6px;
border-radius: 4px;
font-weight: 600;
flex-shrink: 0;
}
.hot-tag.new { background: rgba(23, 176, 207, 0.12); color: var(--primary); }
.hot-tag.hot { background: rgba(255, 77, 79, 0.1); color: #FF4D4F; }
.hot-tag.recommend { background: rgba(250, 173, 20, 0.12); color: #FAAD14; }
/* Trending Topics */
.topic-item {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 8px;
border-radius: var(--radius-tag);
cursor: pointer;
transition: background var(--transition-fast);
}
.topic-item:hover { background: var(--bg-hover); }
.topic-icon-box {
width: 32px;
height: 32px;
border-radius: var(--radius-sm);
background: var(--primary-bg);
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
flex-shrink: 0;
}
.topic-icon-box svg { width: 16px; height: 16px; }
.topic-text { flex: 1; min-width: 0; }
.topic-name {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.topic-count { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
/* Search History */
.history-list { display: flex; flex-wrap: wrap; gap: 8px; }
.history-tag {
padding: 6px 14px;
background: var(--bg-page);
border: 1px solid var(--border-light);
border-radius: var(--radius-card);
font-size: 12px;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.history-tag:hover {
border-color: var(--primary);
color: var(--primary);
background: var(--primary-bg);
}
.clear-history {
display: flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: var(--text-tertiary);
cursor: pointer;
transition: color var(--transition-fast);
}
.clear-history:hover { color: var(--primary); }
.clear-history svg { width: 13px; height: 13px; }
/* Avatar color variants */
.av1 { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.av2 { background: linear-gradient(135deg, #D4B5FF, #9254DE); }
.av3 { background: linear-gradient(135deg, #B5D8FF, #4A90FF); }
.av4 { background: linear-gradient(135deg, #95E1B5, #52C41A); }
.av5 { background: linear-gradient(135deg, #FFD4A3, #FF9F45); }
.av6 { background: linear-gradient(135deg, #FFB3D9, #EB2F96); }
.av7 { background: linear-gradient(135deg, #FFB3B3, #F5222D); }
.av8 { background: linear-gradient(135deg, #FFE58F, #FAAD14); }
/* Thumbnail gradients */
.thumb1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.thumb2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.thumb3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.thumb4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.thumb5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.thumb6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.thumb7 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.thumb8 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
/* Filter / sort bar */
.filter-bar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.filter-left {
display: flex;
align-items: center;
gap: 8px;
}
.filter-chip {
padding: 6px 14px;
border-radius: var(--radius-card);
font-size: 12px;
color: var(--text-secondary);
background: var(--bg-card);
border: 1px solid var(--border-light);
cursor: pointer;
transition: all var(--transition-fast);
display: flex;
align-items: center;
gap: 4px;
}
.filter-chip:hover {
border-color: var(--primary);
color: var(--primary);
}
.filter-chip.active {
background: var(--primary-bg);
border-color: var(--primary-bg);
color: var(--primary);
font-weight: 600;
}
.filter-chip svg { width: 13px; height: 13px; }
.sort-right {
display: flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: var(--text-tertiary);
}
.sort-option {
padding: 4px 10px;
border-radius: var(--radius-tag);
cursor: pointer;
transition: all var(--transition-fast);
}
.sort-option:hover { color: var(--text-primary); }
.sort-option.active {
color: var(--primary);
font-weight: 600;
background: var(--primary-bg);
}
</style>
<link rel="stylesheet" href="../css/web-refresh.css?v=20261020-brand-color">
</head>
<body>
<div class="app">
<!-- ===== Left Sidebar ===== -->
<aside class="sidebar">
<div class="sidebar-logo">
<div class="sidebar-logo-icon">青</div>
<div class="sidebar-logo-text">
<span class="main">青核</span>
<span class="sub">Youthome</span>
</div>
</div>
<div class="sidebar-publish">
<div class="publish-btn">
<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>
<span>发布</span>
<svg class="publish-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</div>
<div class="publish-dropdown">
<div class="publish-option">
<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="publish-option-title">发布动态</div>
<div class="publish-option-desc">分享你的校园生活</div>
</div>
</div>
<div class="publish-option">
<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="publish-option-title">发布视频</div>
<div class="publish-option-desc">上传精彩视频内容</div>
</div>
</div>
<div class="publish-option">
<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="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">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<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">
<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">
<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">
<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-item active">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="11" cy="11" r="8"></circle>
<path d="m21 21-4.3-4.3"></path>
</svg>
搜索
</div>
<div class="nav-section-title">我的</div>
<div class="nav-item">
<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">
<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">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>
</svg>
我的收藏
</div>
<div class="nav-item">
<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">
<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>
<!-- ===== Main Area ===== -->
<div class="main-area">
<!-- Content -->
<main class="content-area">
<!-- Prominent Page Search Bar -->
<div class="page-search">
<div class="page-search-inner">
<div class="page-search-bar">
<svg class="page-search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="11" cy="11" r="8"></circle>
<path d="m21 21-4.3-4.3"></path>
</svg>
<input type="text" class="page-search-input" id="pageSearchInput" value="期末复习" placeholder="搜索用户、动态、视频、话题...">
<button class="page-search-btn">
<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>
<div class="page-search-hints">
<span class="page-search-hints-label">大家都在搜:</span>
<div class="page-search-hints-tags">
<span class="hint-tag">期末复习计划</span>
<span class="hint-tag">考研英语</span>
<span class="hint-tag">高数复习</span>
<span class="hint-tag">学习搭子</span>
<span class="hint-tag">图书馆预约</span>
</div>
</div>
</div>
</div>
<!-- Result Count -->
<div class="result-count">
找到约 <b>12,458</b> 条结果
</div>
<!-- Search Tabs -->
<div class="search-tabs">
<div class="search-tab active" data-tab="all">综合</div>
<div class="search-tab" data-tab="post">动态</div>
<div class="search-tab" data-tab="video">视频</div>
<div class="search-tab" data-tab="user">用户</div>
<div class="search-tab" data-tab="topic">话题</div>
<div class="search-tab" data-tab="activity">活动</div>
</div>
<!-- Filter / Sort Bar -->
<div class="filter-bar">
<div class="filter-left">
<span class="filter-chip active">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="23 4 23 10 17 10"></polyline>
<path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>
</svg>
综合排序
</span>
<span class="filter-chip">最新发布</span>
<span class="filter-chip">最多点赞</span>
<span class="filter-chip">最多评论</span>
</div>
<div class="sort-right">
<span>时间:</span>
<span class="sort-option active">全部</span>
<span class="sort-option">一天内</span>
<span class="sort-option">一周内</span>
<span class="sort-option">一月内</span>
</div>
</div>
<!-- Two Column Layout -->
<div class="search-layout">
<!-- Left Main: Mixed Results -->
<div class="search-main">
<!-- 用户结果 -->
<div class="section-title-row" style="display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;">
<h3 style="font-size:15px;font-weight:600;color:var(--text-primary);margin:0;">相关用户</h3>
<span style="font-size:12px;color:var(--text-tertiary);cursor:pointer;">查看更多 →</span>
</div>
<div class="user-results-row">
<div class="user-mini-card" onclick="location.href='user.html'">
<div class="user-mini-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">复</div>
<div class="user-mini-info">
<div class="user-mini-name"><mark>期末</mark>复习小助手</div>
<div class="user-mini-desc">清华大学 · 计算机系</div>
</div>
</div>
<div class="user-mini-card" onclick="location.href='user.html'">
<div class="user-mini-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">李</div>
<div class="user-mini-info">
<div class="user-mini-name">小李的<mark>期末</mark>冲刺</div>
<div class="user-mini-desc">复旦大学 · 数学系</div>
</div>
</div>
<div class="user-mini-card" onclick="location.href='user.html'">
<div class="user-mini-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">张</div>
<div class="user-mini-info">
<div class="user-mini-name">张同学复习日记</div>
<div class="user-mini-desc">北京大学 · 物理系</div>
</div>
</div>
<div class="user-mini-card" onclick="location.href='user.html'">
<div class="user-mini-avatar" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">王</div>
<div class="user-mini-info">
<div class="user-mini-name">小王的学习笔记</div>
<div class="user-mini-desc">浙江大学 · 中文系</div>
</div>
</div>
</div>
<!-- 动态/视频结果瀑布流 -->
<div class="section-title-row" style="display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;">
<h3 style="font-size:15px;font-weight:600;color:var(--text-primary);margin:0;">相关动态</h3>
<span style="font-size:12px;color:var(--text-tertiary);cursor:pointer;">综合排序 ↓</span>
</div>
<div class="result-grid">
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-4">
</div>
<div class="result-content">
<div class="result-title">今天图书馆自习的人好多呀,<mark>期末复习</mark>大家都在努力~</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #A8E6CF, #17B0CF);">林</div>
<span class="result-author-name">林小夏</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>3.2k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-2">
</div>
<div class="result-content">
<div class="result-title">六级备考一个月从425到580,我的复习方法分享</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">王</div>
<span class="result-author-name">王小雅</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>2.3k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-5 video">
<div class="result-duration">03:24</div>
</div>
<div class="result-content">
<div class="result-title">期末<mark>复习</mark>vlog | 图书馆打卡12小时高效学习</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">小</div>
<span class="result-author-name">小青同学</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>4.3k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-6">
</div>
<div class="result-content">
<div class="result-title">分享一下我的<mark>期末复习</mark>计划表,稳扎稳打不挂科!</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #FFB3D9, #EB2F96);">张</div>
<span class="result-author-name">张同学</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>589</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-1">
</div>
<div class="result-content">
<div class="result-title">高数期末重点整理|老师划的必考题型</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">孙</div>
<span class="result-author-name">孙佳怡</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>4.5k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-8">
</div>
<div class="result-content">
<div class="result-title">考研<mark>复习</mark>经验分享 | 从三本到985的逆袭之路</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #FFE58F, #FAAD14);">学</div>
<span class="result-author-name">考研学姐</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>8.9k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-3 video">
<div class="result-duration">05:12</div>
</div>
<div class="result-content">
<div class="result-title">期末周生存指南|熬夜复习也别忘照顾身体</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #FFE0CC, #FF7F50);">李</div>
<span class="result-author-name">李明</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>3.1k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-7">
</div>
<div class="result-content">
<div class="result-title">图书馆占座攻略|这几个位置人少又安静</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">赵</div>
<span class="result-author-name">赵小雨</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>1.8k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-9">
</div>
<div class="result-content">
<div class="result-title"><mark>期末复习</mark>高效方法|费曼学习法亲测有效</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #E8D5FF, #7B61FF);">陈</div>
<span class="result-author-name">陈同学</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>2.7k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-10 video">
<div class="result-duration">01:00:00</div>
</div>
<div class="result-content">
<div class="result-title">自习室氛围白噪音|陪伴学习1小时</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #C4F0FF, #36CFFB);">陪</div>
<span class="result-author-name">学习陪伴</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>6.2k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-11">
</div>
<div class="result-content">
<div class="result-title">英语六级写作万能模板|背完直接套</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #FFCCE0, #FF7AB6);">达</div>
<span class="result-author-name">英语达人</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>3.6k</span></div>
</div>
</div>
</div>
<div class="result-card" onclick="location.href='post-detail.html'">
<div class="result-cover rc-12">
</div>
<div class="result-content">
<div class="result-title">期末不熬夜|3天快速复习法亲测有用</div>
<div class="result-bottom">
<div class="result-author-row">
<div class="result-avatar-sm" style="background: linear-gradient(135deg, #D4F7E7, #34C77B);">效</div>
<span class="result-author-name">效率控</span>
</div>
<div class="result-like"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><span>1.5k</span></div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Sidebar -->
<aside class="search-sidebar">
<!-- Hot Search -->
<div class="sidebar-widget">
<div class="widget-header">
<div class="widget-title">
<svg class="widget-title-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 2v4"></path>
<path d="M12 18v4"></path>
<path d="M4.93 4.93l2.83 2.83"></path>
<path d="M16.24 16.24l2.83 2.83"></path>
<path d="M2 12h4"></path>
<path d="M18 12h4"></path>
<path d="M4.93 19.07l2.83-2.83"></path>
<path d="M16.24 7.76l2.83-2.83"></path>
</svg>
热搜榜
</div>
<span class="widget-more">
换一换
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="23 4 23 10 17 10"></polyline>
<path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>
</svg>
</span>
</div>
<div class="hot-list">
<div class="hot-item">
<span class="hot-rank top1">1</span>
<span class="hot-text">期末周图书馆抢座大战</span>
<span class="hot-tag hot">热</span>
</div>
<div class="hot-item">
<span class="hot-rank top2">2</span>
<span class="hot-text">考研倒计时30天</span>
<span class="hot-tag new">新</span>
</div>
<div class="hot-item">
<span class="hot-rank top3">3</span>
<span class="hot-text">校园十佳歌手大赛报名</span>
<span class="hot-heat">8.2万</span>
</div>
<div class="hot-item">
<span class="hot-rank">4</span>
<span class="hot-text">期末复习资料汇总</span>
<span class="hot-tag hot">热</span>
</div>
<div class="hot-item">
<span class="hot-rank">5</span>
<span class="hot-text">食堂新菜品测评</span>
<span class="hot-heat">6.5万</span>
</div>
<div class="hot-item">
<span class="hot-rank">6</span>
<span class="hot-text">双十一校园快递盛况</span>
<span class="hot-tag recommend">荐</span>
</div>
<div class="hot-item">
<span class="hot-rank">7</span>
<span class="hot-text">学生会招新结果公布</span>
<span class="hot-heat">4.1万</span>
</div>
<div class="hot-item">
<span class="hot-rank">8</span>
<span class="hot-text">冬季运动会精彩瞬间</span>
<span class="hot-heat">3.8万</span>
</div>
<div class="hot-item">
<span class="hot-rank">9</span>
<span class="hot-text">实验室招新通知汇总</span>
<span class="hot-heat">3.2万</span>
</div>
<div class="hot-item">
<span class="hot-rank">10</span>
<span class="hot-text">期末不挂科攻略</span>
<span class="hot-heat">2.9万</span>
</div>
</div>
</div>
<!-- Trending Topics -->
<div class="sidebar-widget">
<div class="widget-header">
<div class="widget-title">
<svg class="widget-title-icon" 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>
<span class="widget-more">更多</span>
</div>
<div class="hot-list">
<div class="topic-item">
<div class="topic-icon-box">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path>
<line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
</div>
<div class="topic-text">
<div class="topic-name">#期末复习计划</div>
<div class="topic-count">2.3万 动态</div>
</div>
</div>
<div class="topic-item">
<div class="topic-icon-box" style="background: rgba(146, 84, 222, 0.12); color: #9254DE;">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
</svg>
</div>
<div class="topic-text">
<div class="topic-name">#考研加油</div>
<div class="topic-count">1.8万 动态</div>
</div>
</div>
<div class="topic-item">
<div class="topic-icon-box" style="background: rgba(74, 144, 255, 0.12); color: #4A90FF;">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 10v6M2 10l10-5 10 5-10 5z"></path>
<path d="M6 12v5c3 3 9 3 12 0v-5"></path>
</svg>
</div>
<div class="topic-text">
<div class="topic-name">#校园生活</div>
<div class="topic-count">1.5万 动态</div>
</div>
</div>
<div class="topic-item">
<div class="topic-icon-box" style="background: rgba(82, 196, 26, 0.12); color: #52C41A;">
<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>
<polyline points="22 4 12 14.01 9 11.01"></polyline>
</svg>
</div>
<div class="topic-text">
<div class="topic-name">#学习打卡</div>
<div class="topic-count">1.2万 动态</div>
</div>
</div>
<div class="topic-item">
<div class="topic-icon-box" style="background: rgba(250, 173, 20, 0.12); color: #FAAD14;">
<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>
</div>
<div class="topic-text">
<div class="topic-name">#社团招新</div>
<div class="topic-count">9,856 动态</div>
</div>
</div>
<div class="topic-item">
<div class="topic-icon-box" style="background: rgba(235, 47, 150, 0.12); color: #EB2F96;">
<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="topic-text">
<div class="topic-name">#期末不挂科</div>
<div class="topic-count">7,632 动态</div>
</div>
</div>
</div>
</div>
<!-- Search History -->
<div class="sidebar-widget">
<div class="widget-header">
<div class="widget-title">
<svg class="widget-title-icon" 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>
搜索历史
</div>
<span class="clear-history" id="clearHistory">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="3 6 5 6 21 6"></polyline>
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>
</svg>
清空
</span>
</div>
<div class="history-list" id="historyList">
<span class="history-tag">期末复习</span>
<span class="history-tag">考研英语</span>
<span class="history-tag">高数期末</span>
<span class="history-tag">图书馆预约</span>
<span class="history-tag">学习搭子</span>
<span class="history-tag">六级备考</span>
</div>
</div>
</aside>
</div>
</main>
</div>
</div>
<script>
// Tab switching
document.querySelectorAll('.search-tab').forEach(tab => {
tab.addEventListener('click', function() {
document.querySelectorAll('.search-tab').forEach(t => t.classList.remove('active'));
this.classList.add('active');
});
});
// Filter chip switching
document.querySelectorAll('.filter-chip').forEach(chip => {
chip.addEventListener('click', function() {
document.querySelectorAll('.filter-chip').forEach(c => c.classList.remove('active'));
this.classList.add('active');
});
});
// Sort option switching
document.querySelectorAll('.sort-option').forEach(opt => {
opt.addEventListener('click', function() {
document.querySelectorAll('.sort-option').forEach(o => o.classList.remove('active'));
this.classList.add('active');
});
});
// Follow button toggle
document.querySelectorAll('.follow-btn').forEach(btn => {
btn.addEventListener('click', function(e) {
e.stopPropagation();
if (this.textContent.includes('关注')) {
this.innerHTML = `
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
已关注
`;
this.style.background = 'var(--bg-hover)';
this.style.color = 'var(--text-secondary)';
} else {
this.innerHTML = `
<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>
关注
`;
this.style.background = '';
this.style.color = '';
}
});
});
// Clear history
document.getElementById('clearHistory').addEventListener('click', function(e) {
e.stopPropagation();
const list = document.getElementById('historyList');
list.innerHTML = '<span style="font-size:12px;color:var(--text-tertiary);padding:8px 0;">暂无搜索历史</span>';
});
// Hint tag click fills search
document.querySelectorAll('.hint-tag, .history-tag, .hot-text').forEach(el => {
el.addEventListener('click', function(e) {
e.stopPropagation();
const text = this.textContent.trim();
document.getElementById('pageSearchInput').value = text;
document.getElementById('pageSearchInput').focus();
});
});
</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>