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.
 
 
 
 

1433 lines
60 KiB

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>动态详情 - 青核 Youthome</title>
<link rel="stylesheet" href="../css/design-system.css">
<style>
.app { width: 1920px; max-width: 100%; min-height: 100vh; margin: 0 auto; display: flex; position: relative; overflow: hidden; box-sizing: border-box; background: var(--bg-page); }
.sidebar { width: 230px; height: 100vh; background: var(--bg-card); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; z-index: 20; position: sticky; top: 0; box-sizing: border-box; }
.sidebar-logo { padding: 24px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); cursor: pointer; flex-shrink: 0; }
.sidebar-logo-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; flex-shrink: 0; box-shadow: 0 4px 12px rgba(23,176,207,0.25); }
.sidebar-logo-text .main { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.sidebar-logo-text .sub { font-size: 11px; color: var(--text-tertiary); }
.sidebar-nav { flex: 1; padding: 16px 12px 24px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.nav-section-title { font-size: 11px; font-weight: 600; color: var(--text-tertiary); padding: 12px 12px 8px; letter-spacing: 0.05em; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all .15s ease; }
.nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-item.active { background: var(--primary-bg); color: var(--primary); font-weight: 600; }
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border-light); flex-shrink: 0; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; }
.sidebar-user:hover { background: var(--bg-hover); }
.sidebar-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 600; }
.sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.sidebar-user-desc { font-size: 11px; color: var(--text-tertiary); margin-top: 1px; }
.main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; box-sizing: border-box; }
.top-bar { height: var(--topbar-height); background: var(--bg-card); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; flex-shrink: 0; z-index: 15; box-sizing: border-box; }
.top-bar-left { flex: 1; display: flex; justify-content: center; }
.search-wrapper { width: 480px; position: relative; }
.search-input { width: 100%; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; background: var(--bg-page); font-family: inherit; outline: none; box-shadow: inset 0 1px 2px rgba(0,0,0,0.02); transition: all .2s; }
.search-input:focus { border-color: var(--primary); background: var(--bg-card); box-shadow: 0 0 0 3px rgba(23,176,207,0.12); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-tertiary); pointer-events: none; }
.top-bar-right { display: flex; align-items: center; gap: 12px; position: absolute; right: 40px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-page); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); position: relative; flex-shrink: 0; transition: all .15s; }
.icon-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .badge { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--error); color: #fff; font-size: 10px; font-weight: 600; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.top-publish-btn { height: 44px; padding: 0 20px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(23,176,207,0.25); font-family: inherit; transition: all .2s; }
.top-publish-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.top-publish-btn svg { width: 18px; height: 18px; }
.avatar-btn { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid #fff; }
.content-area { flex: 1; overflow-y: auto; padding: 28px 40px 40px; box-sizing: border-box; }
.content-area::-webkit-scrollbar { width: 8px; }
.content-area::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
/* 详情布局 */
.detail-layout {
display: grid;
grid-template-columns: 1fr 320px;
gap: 24px;
max-width: 1440px;
margin: 0 auto;
box-sizing: border-box;
}
/* 左侧主体 */
.detail-main { min-width: 0; box-sizing: border-box; }
.post-detail-card { box-sizing: border-box; overflow: hidden; }
.comment-section { box-sizing: border-box; overflow: hidden; }
.related-card { box-sizing: border-box; }
.breadcrumb {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--text-tertiary);
margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-tertiary); cursor: pointer; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }
.post-detail-card {
background: var(--bg-card);
border-radius: 12px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-light);
margin-bottom: 20px;
}
.post-detail-header {
display: flex;
align-items: center;
gap: 14px;
padding: 24px 24px 16px;
}
.post-detail-info { flex: 1; min-width: 0; }
.post-detail-name-row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 4px;
}
.post-detail-name { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.post-detail-time { font-size: 13px; color: var(--text-tertiary); }
.btn-follow {
height: 32px;
padding: 0 16px;
border-radius: 16px;
font-size: 13px;
font-weight: 500;
border: 1px solid var(--primary);
background: var(--bg-card);
color: var(--primary);
cursor: pointer;
transition: all .15s;
}
.btn-follow:hover { background: var(--primary-bg); }
.btn-follow.followed { background: var(--bg-hover); border-color: var(--border); color: var(--text-tertiary); }
.post-detail-content {
padding: 0 24px 20px;
font-size: 15px;
line-height: 1.75;
color: var(--text-primary);
}
.post-detail-content .topic-tag { color: var(--primary); font-weight: 500; cursor: pointer; }
.post-detail-images {
margin: 0 24px 20px;
border-radius: 10px;
overflow: hidden;
}
.post-detail-images img {
width: 100%;
display: block;
}
.post-detail-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 0 24px 20px;
}
.post-detail-actions {
display: flex;
align-items: center;
padding: 14px 24px;
border-top: 1px solid var(--border-light);
gap: 8px;
}
.action-btn-big {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: 8px;
font-size: 14px;
color: var(--text-secondary);
cursor: pointer;
transition: all .15s;
user-select: none;
}
.action-btn-big:hover { background: var(--bg-hover); color: var(--text-primary); }
.action-btn-big.liked { color: var(--error); }
.action-btn-big svg { width: 20px; height: 20px; }
.action-btn-big .count { font-weight: 500; }
.action-btn-big.more { margin-left: auto; }
/* 右侧评论区 */
.detail-side { min-width: 0; }
.comment-section {
background: var(--bg-card);
border-radius: 12px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-light);
display: flex;
flex-direction: column;
height: calc(100vh - 180px);
position: sticky;
top: 20px;
}
.comment-header {
padding: 18px 20px 14px;
border-bottom: 1px solid var(--border-light);
flex-shrink: 0;
}
.comment-header h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.comment-count { font-size: 13px; color: var(--text-tertiary); margin-top: 2px; }
.comment-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.comment-item {
display: flex;
gap: 12px;
padding: 12px 20px;
transition: background .15s;
}
.comment-item:hover { background: var(--bg-page); }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 600; }
.comment-body { flex: 1; min-width: 0; }
.comment-name { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.comment-text { font-size: 14px; color: var(--text-primary); line-height: 1.6; margin-bottom: 6px; }
.comment-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-tertiary); }
.comment-meta span { cursor: pointer; }
.comment-meta span:hover { color: var(--primary); }
.comment-meta .like-btn { display: flex; align-items: center; gap: 4px; }
.comment-meta .like-btn.liked { color: var(--error); }
.reply-list {
margin-top: 10px;
padding: 10px 14px;
background: var(--bg-page);
border-radius: 8px;
display: flex;
flex-direction: column;
gap: 10px;
}
.reply-item {
display: flex;
gap: 8px;
}
.reply-name { font-size: 12px; font-weight: 600; color: var(--primary); }
.reply-text { font-size: 13px; color: var(--text-primary); line-height: 1.5; }
.reply-meta { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }
.comment-input-wrap {
padding: 14px 20px;
border-top: 1px solid var(--border-light);
flex-shrink: 0;
}
.comment-input-row {
display: flex;
gap: 10px;
align-items: flex-end;
}
.comment-input {
flex: 1;
min-height: 40px;
max-height: 120px;
padding: 10px 14px;
border: 1px solid var(--border);
border-radius: 8px;
font-size: 14px;
resize: none;
outline: none;
font-family: inherit;
line-height: 1.5;
background: var(--bg-page);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
.comment-input:focus {
border-color: var(--primary);
background: var(--bg-card);
box-shadow: 0 0 0 3px rgba(23,176,207,0.12);
}
.btn-send {
height: 40px;
padding: 0 18px;
background: var(--primary);
color: #fff;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all .15s;
flex-shrink: 0;
}
.btn-send:hover { background: var(--primary-hover); }
.btn-send:disabled { background: var(--primary-lighter); cursor: not-allowed; }
svg { stroke-linecap: round; stroke-linejoin: round; }
/* ===== 发布按钮 ===== */
.sidebar-publish {
padding: 12px 12px 8px;
flex-shrink: 0;
}
.publish-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
height: 44px;
background: var(--primary);
color: #fff;
border-radius: 12px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all .2s ease;
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.25);
}
.publish-btn:hover {
opacity: 0.92;
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(23, 176, 207, 0.35);
}
.publish-btn svg { width: 20px; height: 20px; }
.publish-btn .publish-arrow { width: 16px; height: 16px; opacity: 0.8; transition: transform .2s; }
.publish-btn:hover .publish-arrow { transform: translateY(1px); }
.publish-dropdown {
display: none;
margin-top: 6px;
background: var(--bg-card, #fff);
border: 1px solid var(--border-light, #eee);
border-radius: 12px;
padding: 6px;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.sidebar-publish:hover .publish-dropdown { display: block; }
.publish-option {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: 8px;
cursor: pointer;
transition: background .15s;
}
.publish-option:hover { background: var(--bg-hover, #f5f5f5); }
.publish-option svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.publish-option-title { font-size: 14px; font-weight: 600; color: var(--text-primary, #1a1a1a); }
.publish-option-desc { font-size: 11px; color: var(--text-tertiary, #999); margin-top: 2px; }
/* ===== 导航项角标 ===== */
.nav-item-label {
display: flex;
align-items: center;
justify-content: space-between;
flex: 1;
}
.nav-badge {
min-width: 18px;
height: 18px;
padding: 0 5px;
background: #FF4D4F;
color: #fff;
font-size: 11px;
font-weight: 600;
border-radius: 9px;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
/* ===== 底部用户卡片箭头 ===== */
.sidebar-user-arrow {
width: 16px;
height: 16px;
color: var(--text-tertiary, #999);
flex-shrink: 0;
margin-left: auto;
}
/* ===== 详情布局增强 ===== */
.detail-layout {
display: grid;
grid-template-columns: 1fr 320px;
gap: 24px;
max-width: 1440px;
margin: 0 auto;
box-sizing: border-box;
}
/* 面包屑 */
.breadcrumb {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--text-tertiary);
margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-tertiary); cursor: pointer; transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }
/* 动态详情卡片增强 */
.post-detail-card {
background: var(--bg-card);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
border: 1px solid var(--border-light);
margin-bottom: 24px;
overflow: hidden;
}
.post-detail-header {
display: flex;
align-items: center;
gap: 14px;
padding: 24px 28px 18px;
}
.post-detail-avatar {
width: 52px;
height: 52px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 18px;
font-weight: 600;
flex-shrink: 0;
cursor: pointer;
}
.post-detail-info { flex: 1; min-width: 0; }
.post-detail-name-row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 4px;
}
.post-detail-name { font-size: 16px; font-weight: 600; color: var(--text-primary); cursor: pointer; }
.post-detail-name:hover { color: var(--primary); }
.tag {
display: inline-flex;
align-items: center;
height: 20px;
padding: 0 8px;
border-radius: 10px;
font-size: 11px;
font-weight: 500;
}
.tag-primary { background: var(--primary-bg); color: var(--primary); }
.post-detail-meta {
display: flex;
align-items: center;
gap: 10px;
font-size: 13px;
color: var(--text-tertiary);
}
.post-detail-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }
.btn-follow {
height: 34px;
padding: 0 18px;
border-radius: 17px;
font-size: 13px;
font-weight: 600;
border: 1px solid var(--primary);
background: var(--bg-card);
color: var(--primary);
cursor: pointer;
transition: all .2s;
}
.btn-follow:hover { background: var(--primary-bg); }
.btn-follow.followed { background: var(--bg-hover); border-color: var(--border); color: var(--text-tertiary); }
.post-detail-content {
padding: 0 28px 20px;
font-size: 16px;
line-height: 1.8;
color: var(--text-primary);
}
.post-detail-content .topic-tag { color: var(--primary); font-weight: 500; cursor: pointer; }
.post-detail-content .topic-tag:hover { text-decoration: underline; }
/* 多图网格 */
.post-detail-images {
margin: 0 28px 20px;
border-radius: 12px;
overflow: hidden;
}
.image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
border-radius: 12px;
overflow: hidden;
}
.image-grid.single { grid-template-columns: 1fr; }
.image-grid.two { grid-template-columns: repeat(2, 1fr); }
.image-grid-item {
aspect-ratio: 1/1;
background-size: cover;
background-position: center;
cursor: pointer;
transition: transform .3s;
}
.image-grid-item:hover { transform: scale(1.02); }
.image-grid.single .image-grid-item { aspect-ratio: 16/9; }
.post-detail-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 0 28px 20px;
}
.post-detail-actions {
display: flex;
align-items: center;
padding: 16px 28px;
border-top: 1px solid var(--border-light);
gap: 6px;
}
.action-btn-big {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
border-radius: 10px;
font-size: 14px;
color: var(--text-secondary);
cursor: pointer;
transition: all .15s;
user-select: none;
}
.action-btn-big:hover { background: var(--bg-hover); color: var(--text-primary); }
.action-btn-big.liked { color: var(--error); }
.action-btn-big.saved { color: var(--primary); }
.action-btn-big svg { width: 20px; height: 20px; }
.action-btn-big .count { font-weight: 500; font-size: 13px; }
.action-btn-big.more { margin-left: auto; }
/* 右侧栏 */
.detail-side { min-width: 0; position: relative; box-sizing: border-box; }
.side-sticky {
position: sticky;
top: 24px;
display: flex;
flex-direction: column;
gap: 16px;
}
/* 作者信息卡 */
.author-card {
background: var(--bg-card);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
border: 1px solid var(--border-light);
padding: 24px 20px;
text-align: center;
}
.author-avatar {
width: 64px;
height: 64px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 22px;
font-weight: 600;
margin: 0 auto 12px;
cursor: pointer;
}
.author-name { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.author-desc { font-size: 12px; color: var(--text-tertiary); margin-bottom: 14px; }
.author-stats {
display: flex;
justify-content: center;
gap: 28px;
margin-bottom: 16px;
padding-top: 14px;
border-top: 1px solid var(--border-light);
}
.author-stat { text-align: center; cursor: pointer; }
.author-stat-num { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.author-stat-label { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.author-card .btn-follow { width: 100%; height: 38px; border-radius: 19px; }
/* 评论区增强 */
.comment-section {
background: var(--bg-card);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
border: 1px solid var(--border-light);
display: flex;
flex-direction: column;
max-height: 520px;
}
.comment-header {
padding: 18px 20px 14px;
border-bottom: 1px solid var(--border-light);
flex-shrink: 0;
}
.comment-header-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.comment-header h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.comment-count { font-size: 13px; color: var(--text-tertiary); }
.comment-tabs {
display: flex;
gap: 2px;
background: var(--bg-page);
border-radius: 8px;
padding: 3px;
}
.comment-tab {
flex: 1;
text-align: center;
padding: 6px 12px;
font-size: 13px;
font-weight: 500;
color: var(--text-tertiary);
border-radius: 6px;
cursor: pointer;
transition: all .15s;
}
.comment-tab:hover { color: var(--text-primary); }
.comment-tab.active {
background: var(--bg-card);
color: var(--text-primary);
box-shadow: 0 1px 2px rgba(0,0,0,0.06);
font-weight: 600;
}
.comment-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.comment-item {
display: flex;
gap: 12px;
padding: 14px 20px;
transition: background .15s;
}
.comment-item:hover { background: var(--bg-page); }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }
.comment-body { flex: 1; min-width: 0; }
.comment-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.comment-name { font-size: 13px; font-weight: 600; color: var(--text-primary); cursor: pointer; }
.comment-name:hover { color: var(--primary); }
.comment-author-tag {
font-size: 10px;
padding: 1px 6px;
border-radius: 4px;
background: var(--primary-bg);
color: var(--primary);
font-weight: 500;
}
.comment-text { font-size: 14px; color: var(--text-primary); line-height: 1.6; margin-bottom: 8px; }
.comment-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-tertiary); }
.comment-meta span { cursor: pointer; transition: color .15s; }
.comment-meta span:hover { color: var(--primary); }
.comment-meta .like-btn { display: flex; align-items: center; gap: 4px; }
.comment-meta .like-btn.liked { color: var(--error); }
.reply-list {
margin-top: 12px;
padding: 12px 14px;
background: var(--bg-page);
border-radius: 10px;
display: flex;
flex-direction: column;
gap: 12px;
}
.reply-item { display: flex; gap: 8px; }
.reply-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 600; cursor: pointer; }
.reply-body { flex: 1; min-width: 0; }
.reply-name-row { font-size: 12px; margin-bottom: 3px; }
.reply-name { font-weight: 600; color: var(--primary); cursor: pointer; }
.reply-divider { color: var(--text-tertiary); margin: 0 4px; }
.reply-text { font-size: 13px; color: var(--text-primary); line-height: 1.5; }
.reply-meta { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; display: flex; gap: 12px; }
.reply-meta span { cursor: pointer; }
.reply-meta span:hover { color: var(--primary); }
.comment-input-wrap {
padding: 14px 20px;
border-top: 1px solid var(--border-light);
flex-shrink: 0;
}
.comment-input-row {
display: flex;
gap: 10px;
align-items: flex-end;
}
.comment-input {
flex: 1;
min-height: 40px;
max-height: 120px;
padding: 10px 14px;
border: 1px solid var(--border);
border-radius: 10px;
font-size: 14px;
resize: none;
outline: none;
font-family: inherit;
line-height: 1.5;
background: var(--bg-page);
transition: all .2s;
}
.comment-input:focus {
border-color: var(--primary);
background: var(--bg-card);
box-shadow: 0 0 0 3px rgba(23,176,207,0.12);
}
.btn-send {
height: 40px;
padding: 0 18px;
background: var(--primary);
color: #fff;
border: none;
border-radius: 10px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all .15s;
flex-shrink: 0;
}
.btn-send:hover { background: var(--primary-hover); }
.btn-send:disabled { background: var(--primary-lighter); cursor: not-allowed; }
/* 相关推荐 - 瀑布流 */
.related-section {
background: var(--bg-card);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
border: 1px solid var(--border-light);
padding: 24px 28px;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}
.section-title { font-size: 17px; font-weight: 600; color: var(--text-primary); }
.section-more { font-size: 13px; color: var(--text-tertiary); cursor: pointer; transition: color .15s; }
.section-more:hover { color: var(--primary); }
.related-grid {
column-count: 3;
column-gap: 14px;
}
.related-card {
background: var(--bg-page);
border-radius: 10px;
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);
}
.related-card:hover {
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
transform: translateY(-2px);
}
.related-cover {
position: relative;
width: 100%;
overflow: hidden;
background: #f5f5f5;
}
.related-cover.video::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 36px;
height: 36px;
background: rgba(0,0,0,0.5);
border-radius: 50%;
z-index: 2;
}
.related-cover.video::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0;
height: 0;
border-left: 10px solid #fff;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
margin-left: 2px;
z-index: 3;
}
.related-content {
padding: 8px 10px 10px;
}
.related-title {
font-size: 13px;
line-height: 1.5;
color: var(--text-primary);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 6px;
font-weight: 500;
}
.related-bottom {
display: flex;
align-items: center;
justify-content: space-between;
}
.related-user-row {
display: flex;
align-items: center;
gap: 4px;
flex: 1;
min-width: 0;
}
.related-user-avatar {
width: 16px;
height: 16px;
border-radius: 50%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 8px;
font-weight: 600;
}
.related-user-name {
font-size: 11px;
color: var(--text-tertiary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
}
.related-like {
display: flex;
align-items: center;
gap: 2px;
font-size: 11px;
color: var(--text-tertiary);
flex-shrink: 0;
}
.related-like svg {
width: 12px;
height: 12px;
}
/* 封面渐变背景 */
.rc-1 { background: linear-gradient(135deg, #A8E6CF 0%, #17B0CF 100%); height: 140px; }
.rc-2 { background: linear-gradient(135deg, #FFD4A3 0%, #FF9F45 100%); height: 180px; }
.rc-3 { background: linear-gradient(135deg, #D4B5FF 0%, #9254DE 100%); height: 120px; }
.rc-4 { background: linear-gradient(135deg, #FFB3D9 0%, #EB2F96 50%, #FFD4A3 100%); height: 200px; }
.rc-5 { background: linear-gradient(135deg, #B5D8FF 0%, #4A90FF 100%); height: 160px; }
.rc-6 { background: linear-gradient(135deg, #FFE58F 0%, #FAAD14 100%); height: 150px; }
.rc-7 { background: linear-gradient(135deg, #95E1B5 0%, #52C41A 100%); height: 130px; }
.rc-8 { background: linear-gradient(135deg, #FFCCE0 0%, #FF7AB6 100%); height: 190px; }
.rc-9 { background: linear-gradient(135deg, #E8D5FF 0%, #7B61FF 100%); height: 170px; }
svg { stroke-linecap: round; stroke-linejoin: round; }
</style>
<link rel="stylesheet" href="../css/web-refresh.css?v=20261020-brand-color">
</head>
<body>
<div class="app">
<aside class="sidebar">
<div class="sidebar-logo" onclick="location.href='feed.html'">
<div class="sidebar-logo-icon">青</div>
<div class="sidebar-logo-text">
<span class="main">青核 Youthome</span>
<span class="sub">校园实名社交</span>
</div>
</div>
<!-- 发布按钮 -->
<div class="sidebar-publish">
<div class="publish-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="12" y1="5" x2="12" y2="19"></line>
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg>
<span>发布</span>
<svg class="publish-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</div>
<div class="publish-dropdown">
<div class="publish-option" onclick="location.href='publish-post.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<circle cx="8.5" cy="8.5" r="1.5"></circle>
<polyline points="21 15 16 10 5 21"></polyline>
</svg>
<div class="publish-option-text">
<div class="publish-option-title">发布动态</div>
<div class="publish-option-desc">分享图文、心情</div>
</div>
</div>
<div class="publish-option" onclick="location.href='publish-video.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="23 7 16 12 23 17 23 7"></polygon>
<rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>
</svg>
<div class="publish-option-text">
<div class="publish-option-title">发布视频</div>
<div class="publish-option-desc">上传短视频</div>
</div>
</div>
<div class="publish-option" onclick="location.href='activity-create.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
<line x1="16" y1="2" x2="16" y2="6"></line>
<line x1="8" y1="2" x2="8" y2="6"></line>
<line x1="3" y1="10" x2="21" y2="10"></line>
<line x1="12" y1="14" x2="12" y2="18"></line>
<line x1="10" y1="16" x2="14" y2="16"></line>
</svg>
<div class="publish-option-text">
<div class="publish-option-title">发起活动</div>
<div class="publish-option-desc">组织线下聚会</div>
</div>
</div>
</div>
</div>
<nav class="sidebar-nav">
<div class="nav-section-title">探索</div>
<div class="nav-item" onclick="location.href='feed.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M19 20H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1m2 13a2 2 0 0 1-2-2V7m2 13a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"></path>
</svg>
动态广场
</div>
<div class="nav-item" onclick="location.href='video.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="23 7 16 12 23 17 23 7"></polygon>
<rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>
</svg>
视频广场
</div>
<div class="nav-item" onclick="location.href='activities.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
<line x1="16" y1="2" x2="16" y2="6"></line>
<line x1="8" y1="2" x2="8" y2="6"></line>
<line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
活动组局
</div>
<div class="nav-section-title">我的</div>
<div class="nav-item" onclick="location.href='me.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
<circle cx="12" cy="7" r="4"></circle>
</svg>
个人中心
</div>
<div class="nav-item" onclick="location.href='notification.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
<path d="M13.73 21a2 2 0 0 1-3.46 0"></path>
</svg>
<div class="nav-item-label">
消息通知
<span class="nav-badge">3</span>
</div>
</div>
<div class="nav-item" onclick="location.href='settings.html'">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="3"></circle>
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>
</svg>
设置
</div>
</nav>
<div class="sidebar-footer">
<div class="sidebar-user" onclick="location.href='me.html'">
<div class="sidebar-avatar">
</div>
<div class="sidebar-user-info">
<div class="sidebar-user-name">林小夏</div>
<div class="sidebar-user-desc">复旦大学</div>
</div>
<svg class="sidebar-user-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</div>
</aside>
<div class="main-area">
<header class="top-bar">
<div class="top-bar-left">
<div class="search-wrapper">
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg>
<input type="text" class="search-input" placeholder="搜索内容、用户、话题…">
</div>
</div>
<div class="top-bar-right">
<button class="icon-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>
<span class="badge">3</span>
</button>
<button class="top-publish-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M12 5v14"></path><path d="M5 12h14"></path></svg>
发布
</button>
<div class="avatar-btn">林</div>
</div>
</header>
<main class="content-area">
<div class="detail-layout">
<!-- 左侧:动态主体 + 相关推荐 -->
<div class="detail-main">
<!-- 面包屑 -->
<div class="breadcrumb">
<a onclick="location.href='feed.html'">动态广场</a>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 18 15 12 9 6"></polyline></svg>
<a onclick="location.href='topic-detail.html'">期末复习</a>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 18 15 12 9 6"></polyline></svg>
<span style="color: var(--text-primary);">详情</span>
</div>
<!-- 动态详情卡片 -->
<article class="post-detail-card">
<div class="post-detail-header">
<div class="post-detail-avatar" onclick="location.href='user.html'">林</div>
<div class="post-detail-info">
<div class="post-detail-name-row">
<span class="post-detail-name" onclick="location.href='user.html'">林小夏</span>
<span class="tag tag-primary">校园达人</span>
</div>
<div class="post-detail-meta">
<span>2小时前</span>
<span class="dot"></span>
<span>清华大学</span>
<span class="dot"></span>
<span>浏览 1,248</span>
</div>
</div>
<button class="btn-follow" onclick="this.classList.toggle('followed'); this.textContent = this.classList.contains('followed') ? '已关注' : '+ 关注';">+ 关注</button>
</div>
<div class="post-detail-content">
今天图书馆自习的人好多呀,期末季大家都在努力~<br><br>
找了个靠窗的位置,阳光正好,学习效率也高了很多!📚✨<br><br>
分享一下今天的复习计划:<br>
1. 上午:高等数学第三章习题<br>
2. 下午:英语六级真题阅读<br>
3. 晚上:专业课笔记整理<br><br>
大家期末加油,一起冲高分!💪<br>
<span class="topic-tag" onclick="location.href='topic-detail.html'">#期末复习</span>
<span class="topic-tag" onclick="location.href='topic-detail.html'">#图书馆</span>
<span class="topic-tag" onclick="location.href='topic-detail.html'">#学习打卡</span>
</div>
<!-- 多图网格 -->
<div class="post-detail-images">
<div class="image-grid three">
<div class="image-grid-item" style="background: linear-gradient(135deg, #BCEAF3 0%, #73D3E6 50%, #17B0CF 100%);"></div>
<div class="image-grid-item" style="background: linear-gradient(135deg, #FFE8CC 0%, #FFB980 50%, #FF9F45 100%);"></div>
<div class="image-grid-item" style="background: linear-gradient(135deg, #D4F1E4 0%, #95E1B5 50%, #52C41A 100%);"></div>
</div>
</div>
<div class="post-detail-tags">
<span class="tag tag-primary">#期末复习日常</span>
<span class="tag tag-primary">#校园学习</span>
<span class="tag tag-primary">#备考经验</span>
</div>
<div class="post-detail-actions">
<div class="action-btn-big liked" onclick="this.classList.toggle('liked')">
<svg viewBox="0 0 24 24" fill="currentColor" stroke="none"><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 class="count">128</span>
</div>
<div class="action-btn-big">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>
<span class="count">24</span>
</div>
<div class="action-btn-big">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg>
<span class="count">56</span>
</div>
<div class="action-btn-big saved" onclick="this.classList.toggle('saved')">
<svg viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>
收藏
</div>
<div class="action-btn-big more">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle></svg>
</div>
</div>
</article>
<!-- 相关推荐 -->
<section class="related-section">
<div class="section-header">
<h2 class="section-title">相关推荐</h2>
<span class="section-more">查看更多 →</span>
</div>
<div class="related-grid">
<div class="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-4"></div>
<div class="related-content">
<div class="related-title">六级备考一个月从425到580,我的复习方法分享</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">王</div>
<span class="related-user-name">王小雅</span>
</div>
<div class="related-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="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-2"></div>
<div class="related-content">
<div class="related-title">图书馆占座攻略|这几个位置人少又安静</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">赵</div>
<span class="related-user-name">赵小雨</span>
</div>
<div class="related-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="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-6"></div>
<div class="related-content">
<div class="related-title">期末周生存指南|熬夜复习也别忘照顾身体</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">李</div>
<span class="related-user-name">李明</span>
</div>
<div class="related-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="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-1"></div>
<div class="related-content">
<div class="related-title">高数期末重点整理|老师划的必考题型</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">孙</div>
<span class="related-user-name">孙佳怡</span>
</div>
<div class="related-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="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-5 video"></div>
<div class="related-content">
<div class="related-title">校园vlog|带你逛我们学校的网红食堂</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #FFB3D9, #EB2F96);">周</div>
<span class="related-user-name">周游世界</span>
</div>
<div class="related-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="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-8"></div>
<div class="related-content">
<div class="related-title">宿舍改造|300元打造ins风小窝✨</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #FFE58F, #FAAD14);">张</div>
<span class="related-user-name">张小满</span>
</div>
<div class="related-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.8k</span></div>
</div>
</div>
</div>
<div class="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-3"></div>
<div class="related-content">
<div class="related-title">考研上岸经验贴|双非逆袭985</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #A8E6CF, #17B0CF);">李</div>
<span class="related-user-name">李学长</span>
</div>
<div class="related-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="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-7"></div>
<div class="related-content">
<div class="related-title">探店|学校西门新开的咖啡店也太好拍了☕</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #C4F0FF, #36CFFB);">钱</div>
<span class="related-user-name">钱多多</span>
</div>
<div class="related-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 class="related-card" onclick="location.href='post-detail.html'">
<div class="related-cover rc-9 video"></div>
<div class="related-content">
<div class="related-title">运动会精彩瞬间|这也太燃了吧🏃‍♂️</div>
<div class="related-bottom">
<div class="related-user-row">
<div class="related-user-avatar" style="background: linear-gradient(135deg, #E8D5FF, #7B61FF);">孙</div>
<span class="related-user-name">孙阳光</span>
</div>
<div class="related-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>
</section>
</div>
<!-- 右侧:作者卡 + 评论区(吸顶) -->
<div class="detail-side">
<div class="side-sticky">
<!-- 作者信息卡 -->
<div class="author-card">
<div class="author-avatar" onclick="location.href='user.html'">林</div>
<div class="author-name" onclick="location.href='user.html'">林小夏</div>
<div class="author-desc">清华大学 · 校园达人</div>
<div class="author-stats">
<div class="author-stat">
<div class="author-stat-num">128</div>
<div class="author-stat-label">动态</div>
</div>
<div class="author-stat">
<div class="author-stat-num">2.3k</div>
<div class="author-stat-label">粉丝</div>
</div>
<div class="author-stat">
<div class="author-stat-num">156</div>
<div class="author-stat-label">关注</div>
</div>
</div>
<button class="btn-follow" onclick="this.classList.toggle('followed'); this.textContent = this.classList.contains('followed') ? '已关注' : '+ 关注';">+ 关注</button>
</div>
<!-- 评论区 -->
<div class="comment-section">
<div class="comment-header">
<div class="comment-header-top">
<h3>评论</h3>
<div class="comment-count">共 24 条</div>
</div>
<div class="comment-tabs">
<div class="comment-tab active">最热</div>
<div class="comment-tab">最新</div>
</div>
</div>
<div class="comment-list">
<!-- 评论1 -->
<div class="comment-item">
<div class="comment-avatar" style="background: linear-gradient(135deg, #95E1B5, #52C41A);">王</div>
<div class="comment-body">
<div class="comment-name-row">
<span class="comment-name">王小雅</span>
<span class="comment-author-tag">作者</span>
</div>
<div class="comment-text">加油加油!一起冲期末!🔥</div>
<div class="comment-meta">
<span>1小时前</span>
<span class="like-btn liked">
<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" stroke="none"><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>
12
</span>
<span>回复</span>
</div>
<!-- 二级回复 -->
<div class="reply-list">
<div class="reply-item">
<div class="reply-avatar" style="background: linear-gradient(135deg, #73D3E6, #17B0CF);">林</div>
<div class="reply-body">
<div class="reply-name-row">
<span class="reply-name">林小夏</span>
<span class="reply-divider">回复</span>
<span class="reply-name">王小雅</span>
</div>
<div class="reply-text">冲鸭!💪</div>
<div class="reply-meta">
<span>58分钟前</span>
<span>点赞 3</span>
<span>回复</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 评论2 -->
<div class="comment-item">
<div class="comment-avatar" style="background: linear-gradient(135deg, #FFD4A3, #FF9F45);">李</div>
<div class="comment-body">
<div class="comment-name-row">
<span class="comment-name">李明</span>
</div>
<div class="comment-text">请问六级有什么推荐的复习资料吗?第一次考没经验</div>
<div class="comment-meta">
<span>2小时前</span>
<span class="like-btn">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>
8
</span>
<span>回复</span>
</div>
</div>
</div>
<!-- 评论3 -->
<div class="comment-item">
<div class="comment-avatar" style="background: linear-gradient(135deg, #FFB3B3, #F5222D);">张</div>
<div class="comment-body">
<div class="comment-name-row">
<span class="comment-name">张伟</span>
</div>
<div class="comment-text">图书馆三楼那个位置我也经常坐!下次可以约着一起自习~</div>
<div class="comment-meta">
<span>3小时前</span>
<span class="like-btn liked">
<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" stroke="none"><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>
23
</span>
<span>回复</span>
</div>
</div>
</div>
<!-- 评论4 -->
<div class="comment-item">
<div class="comment-avatar" style="background: linear-gradient(135deg, #B5D8FF, #4A90FF);">赵</div>
<div class="comment-body">
<div class="comment-name-row">
<span class="comment-name">赵小雨</span>
</div>
<div class="comment-text">学习方法好棒,收藏了!准备照着做 👍</div>
<div class="comment-meta">
<span>4小时前</span>
<span class="like-btn">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>
5
</span>
<span>回复</span>
</div>
</div>
</div>
<!-- 评论5 -->
<div class="comment-item">
<div class="comment-avatar" style="background: linear-gradient(135deg, #D4B5FF, #9254DE);">孙</div>
<div class="comment-body">
<div class="comment-name-row">
<span class="comment-name">孙佳怡</span>
</div>
<div class="comment-text">从425到580也太厉害了吧!求分享更多技巧~</div>
<div class="comment-meta">
<span>昨天</span>
<span class="like-btn">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>
3
</span>
<span>回复</span>
</div>
</div>
</div>
</div>
<div class="comment-input-wrap">
<div class="comment-input-row">
<textarea class="comment-input" placeholder="说点什么..." rows="1"></textarea>
<button class="btn-send">发送</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script src="../js/web-local-data.js?v=20261016-local" defer></script>
<script src="../js/web-api.js?v=20261020-api" defer></script>
<script src="../js/web-shell.js" defer></script>
</body>
</html>