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.
 
 
 
 

640 lines
28 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%; height: 1080px; margin: 0 auto; display: flex; position: relative; overflow: hidden; background: var(--bg-page); }
.sidebar { width: var(--sidebar-width); height: 100%; background: var(--bg-card); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; z-index: 20; }
.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; background: var(--primary-bg); }
.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; }
.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 32px; flex-shrink: 0; z-index: 15; }
.top-bar-left { flex: 1; display: flex; justify-content: center; }
.search-wrapper { width: 480px; position: relative; }
.search-input { width: 100%; height: 36px; padding: 0 16px 0 42px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--bg-page); font-family: inherit; outline: none; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-tertiary); pointer-events: none; }
.top-bar-right { display: flex; align-items: center; gap: 12px; position: absolute; right: 32px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-page); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.publish-btn { height: 36px; padding: 0 16px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(23,176,207,0.25); font-family: inherit; }
.avatar-btn { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid #fff; }
.content-area { flex: 1; overflow-y: auto; padding: 28px 32px 40px; max-width: 720px; margin: 0 auto; width: 100%; }
.content-area::-webkit-scrollbar { width: 8px; }
.content-area::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.page-title-row { display: flex; align-items: center; gap: 12px; }
.back-btn {
width: 36px; height: 36px; border-radius: 8px;
background: var(--bg-card); border: 1px solid var(--border);
display: flex; align-items: center; justify-content: center;
cursor: pointer; color: var(--text-secondary);
}
.page-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.edit-card {
background: var(--bg-card);
border-radius: 12px;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-light);
padding: 28px 32px;
}
.form-section-title {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border-light);
}
.avatar-upload-row {
display: flex;
align-items: center;
gap: 24px;
margin-bottom: 24px;
}
.avatar-preview {
width: 88px; height: 88px; border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 32px; font-weight: 700;
position: relative;
border: 3px solid #fff;
box-shadow: var(--shadow-sm);
}
.avatar-edit-icon {
position: absolute;
bottom: 0; right: 0;
width: 28px; height: 28px;
background: var(--primary);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: #fff;
border: 2px solid #fff;
cursor: pointer;
}
.avatar-info .title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.avatar-info .desc { font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; }
.form-row {
display: flex;
gap: 16px;
margin-bottom: 16px;
}
.form-item { flex: 1; }
.form-label {
display: block;
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
width: 100%;
height: 44px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 8px;
font-size: 14px;
background: var(--bg-card);
font-family: inherit;
outline: none;
transition: all .15s;
color: var(--text-primary);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(23,176,207,0.1);
}
.form-textarea {
height: 100px;
padding: 12px 14px;
resize: none;
line-height: 1.6;
}
.form-hint {
font-size: 12px;
color: var(--text-tertiary);
margin-top: 4px;
}
.form-footer {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 28px;
padding-top: 20px;
border-top: 1px solid var(--border-light);
}
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;
}
/* 编辑资料双栏布局 */
.edit-layout {
display: grid;
grid-template-columns: 1fr 320px;
gap: 28px;
max-width: 1080px;
margin: 0 auto;
}
.edit-form { min-width: 0; }
.edit-preview { position: sticky; top: 24px; align-self: flex-start; }
.preview-card {
background: var(--bg-card);
border-radius: 14px;
border: 1px solid var(--border-light);
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
overflow: hidden;
}
.preview-header {
padding: 14px 18px;
border-bottom: 1px solid var(--border-light);
display: flex;
align-items: center;
gap: 8px;
}
.preview-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.preview-badge { font-size: 10px; padding: 2px 8px; border-radius: 10px; background: var(--primary-bg); color: var(--primary); font-weight: 500; }
.preview-body { padding: 20px; }
.preview-profile {
text-align: center;
padding-bottom: 16px;
border-bottom: 1px solid var(--border-light);
margin-bottom: 16px;
}
.preview-avatar {
width: 72px; height: 72px; border-radius: 50%;
background: linear-gradient(135deg, var(--primary-light), var(--primary));
margin: 0 auto 12px;
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 28px; font-weight: 700;
border: 3px solid #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.preview-name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.preview-school { font-size: 12px; color: var(--text-tertiary); }
.preview-info-list { display: flex; flex-direction: column; gap: 12px; }
.preview-info-item { display: flex; gap: 10px; align-items: flex-start; }
.preview-info-icon { width: 16px; height: 16px; color: var(--text-tertiary); flex-shrink: 0; margin-top: 2px; }
.preview-info-text { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.preview-info-label { font-size: 10px; color: var(--text-tertiary); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.3px; }
.preview-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--border-light);
}
.preview-stat { text-align: center; }
.preview-stat-num { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.preview-stat-label { font-size: 10px; color: var(--text-tertiary); margin-top: 2px; }
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 active" 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">
<input type="text" class="search-input" placeholder="搜索内容、用户、话题…">
</div>
</div>
<div class="top-bar-right">
<button class="icon-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg></button>
<button class="publish-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M12 5v14"></path><path d="M5 12h14"></path></svg>发布</button>
<div class="avatar-btn">小</div>
</div>
</header>
<main class="content-area">
<div class="page-header">
<div class="page-title-row">
<div class="back-btn" onclick="location.href='me.html'">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 12H5M12 19l-7-7 7-7"></path></svg>
</div>
<div class="page-title">编辑资料</div>
</div>
</div>
<div class="edit-layout">
<div class="edit-form">
<div class="edit-card">
<div class="form-section-title">基本信息</div>
<div class="avatar-upload-row">
<div class="avatar-preview">
小
<div class="avatar-edit-icon">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>
</div>
</div>
<div class="avatar-info">
<div class="title">头像</div>
<div class="desc">支持 JPG、PNG 格式,建议尺寸 200×200px,不超过 2MB</div>
<button class="btn btn-secondary btn-sm">上传头像</button>
</div>
</div>
<div class="form-row">
<div class="form-item">
<label class="form-label">昵称 <span style="color: var(--error);">*</span></label>
<input type="text" class="form-input" value="小青同学" maxlength="20">
<div class="form-hint">2-20个字符,可包含中文、英文、数字</div>
</div>
<div class="form-item">
<label class="form-label">性别</label>
<select class="form-select">
<option>男</option>
<option selected>女</option>
<option>保密</option>
</select>
</div>
</div>
<div class="form-row">
<div class="form-item">
<label class="form-label">学校</label>
<input type="text" class="form-input" value="清华大学" disabled style="background: var(--bg-page); color: var(--text-tertiary); cursor: not-allowed;">
<div class="form-hint">学校信息由实名认证同步,不可修改</div>
</div>
<div class="form-item">
<label class="form-label">院系</label>
<input type="text" class="form-input" value="计算机科学与技术系" disabled style="background: var(--bg-page); color: var(--text-tertiary); cursor: not-allowed;">
</div>
</div>
<div class="form-row">
<div class="form-item">
<label class="form-label">年级</label>
<select class="form-select">
<option>大一</option>
<option selected>大二</option>
<option>大三</option>
<option>大四</option>
<option>研一</option>
<option>研二</option>
<option>研三</option>
</select>
</div>
<div class="form-item">
<label class="form-label">生日</label>
<input type="date" class="form-input" value="2002-06-15">
</div>
</div>
<div class="form-item" style="margin-bottom: 16px;">
<label class="form-label">个人简介</label>
<textarea class="form-textarea" maxlength="200" placeholder="介绍一下自己吧~">热爱编程的大二学生 👨‍💻 正在学习前端开发,欢迎一起交流~</textarea>
<div class="form-hint" style="text-align: right;">200/200</div>
</div>
<div class="form-section-title" style="margin-top: 28px;">更多资料</div>
<div class="form-row">
<div class="form-item">
<label class="form-label">兴趣标签</label>
<input type="text" class="form-input" placeholder="选择你的兴趣标签">
<div class="form-hint">最多选择5个标签</div>
</div>
<div class="form-item">
<label class="form-label">家乡</label>
<input type="text" class="form-input" placeholder="请选择">
</div>
</div>
<div class="form-footer">
<button class="btn btn-secondary" onclick="location.href='me.html'">取消</button>
<button class="btn btn-primary">保存修改</button>
</div>
</div>
</div>
<!-- 右侧预览 -->
<div class="edit-preview">
<div class="preview-card">
<div class="preview-header">
<span class="preview-title">个人主页预览</span>
<span class="preview-badge">实时</span>
</div>
<div class="preview-body">
<div class="preview-profile">
<div class="preview-avatar">林</div>
<div class="preview-name">林小夏</div>
<div class="preview-school">清华大学 · 计算机系</div>
</div>
<div class="preview-info-list">
<div class="preview-info-item">
<svg class="preview-info-icon" 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 class="preview-info-text">
<div class="preview-info-label">年级</div>
大二
</div>
</div>
<div class="preview-info-item">
<svg class="preview-info-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>
<div class="preview-info-text">
<div class="preview-info-label">所在地</div>
北京 · 海淀区
</div>
</div>
<div class="preview-info-item">
<svg class="preview-info-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
<div class="preview-info-text">
<div class="preview-info-label">邮箱</div>
linxiaoxia@tsinghua.edu.cn
</div>
</div>
<div class="preview-info-item">
<svg class="preview-info-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 12l2 2 4-4"></path><path d="M21 12c0 4.97-4.03 9-9 9s-9-4.03-9-9 4.03-9 9-9c1.22 0 2.39.24 3.47.68"></path></svg>
<div class="preview-info-text">
<div class="preview-info-label">实名状态</div>
已认证
</div>
</div>
</div>
<div class="preview-stats">
<div class="preview-stat">
<div class="preview-stat-num">356</div>
<div class="preview-stat-label">动态</div>
</div>
<div class="preview-stat">
<div class="preview-stat-num">12.5k</div>
<div class="preview-stat-label">粉丝</div>
</div>
<div class="preview-stat">
<div class="preview-stat-num">238</div>
<div class="preview-stat-label">关注</div>
</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>