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.
596 lines
20 KiB
596 lines
20 KiB
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=375, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<link rel="stylesheet" href="../colors_and_type.css">
|
|
<title>青核 Youthome - 搜索</title>
|
|
<style>
|
|
:root {
|
|
--youth-primary: #26C2BB;
|
|
--youth-primary-light: #54CAC5;
|
|
--primary-bg: #E6F7F6;
|
|
--primary-border: #B3E8E4;
|
|
--bg-page: #F7F8FA;
|
|
--bg-card: #FFFFFF;
|
|
--text-title: #1F1F1F;
|
|
--text-body: #595959;
|
|
--text-muted: #8C8C8C;
|
|
--youth-border-light: #E8E8E8;
|
|
--tag-bg: #F0F1F3;
|
|
--btn-gradient: linear-gradient(135deg, #54CAC5 0%, #26C2BB 50%, #1FA8A2 100%);
|
|
--danger: #F5222D;
|
|
--hot: #FF6B6B;
|
|
--orange: #FFB380;
|
|
|
|
/* =====================================================
|
|
* Traework 设计系统 - 组件规范
|
|
* 圆角 / 间距 / 阴影 / 高度
|
|
* ===================================================== */
|
|
--radius-xs: 4px;
|
|
--radius-sm: 8px; /* 按钮、输入框 */
|
|
--radius-md: 12px; /* 卡片 */
|
|
--radius-lg: 16px; /* 标签、弹窗 */
|
|
--radius-xl: 20px;
|
|
--radius-full: 9999px;
|
|
|
|
/* 组件高度 */
|
|
--height-btn: 44px;
|
|
--height-input: 44px;
|
|
--height-nav-bottom: 64px;
|
|
|
|
/* 间距(4px 基础栅格) */
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-page-x: 16px;
|
|
--space-card: 16px;
|
|
|
|
/* 柔和弥散阴影 */
|
|
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
|
|
--shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.06);
|
|
--shadow-btn: 0 2px 8px rgba(38, 194, 187, 0.25);
|
|
--shadow-btn-hover: 0 4px 16px rgba(38, 194, 187, 0.35);
|
|
--shadow-modal: 0 16px 48px rgba(0, 0, 0, 0.12);
|
|
--shadow-float: 0 4px 24px rgba(0, 0, 0, 0.08);
|
|
|
|
/* 内阴影浮雕(输入框) */
|
|
--shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
--shadow-inset-focus: inset 0 1px 3px rgba(38, 194, 187, 0.08);
|
|
|
|
/* 毛玻璃 */
|
|
--glass-bg: rgba(255, 255, 255, 0.72);
|
|
--glass-blur: blur(20px);
|
|
--glass-border: rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
|
|
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'SF Pro Display', sans-serif;
|
|
background: var(--youth-bg-page);
|
|
color: var(--youth-text-secondary);
|
|
overflow-x: hidden;}
|
|
|
|
.page-container {
|
|
width: 375px;
|
|
height: 812px;
|
|
margin: 0 auto;
|
|
background: var(--youth-bg-page);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 状态栏 */
|
|
.status-bar {
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 搜索栏 */
|
|
.search-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 16px 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.search-input-wrap {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 44px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 8px;
|
|
padding: 0 14px;
|
|
gap: 8px;
|
|
border: 1px solid var(--youth-border-light);
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.search-input-wrap:focus-within {
|
|
border-color: var(--youth-primary);
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.search-input-wrap svg {
|
|
color: var(--youth-text-tertiary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
border: none;
|
|
background: transparent;
|
|
font-size: 14px;
|
|
color: var(--youth-text-primary);
|
|
outline: none;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.search-input::placeholder { color: var(--youth-text-tertiary); }
|
|
|
|
.cancel-btn {
|
|
font-size: 14px;
|
|
color: var(--youth-primary);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 分类标签 */
|
|
.category-tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 0 16px 14px;
|
|
overflow-x: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.category-tabs::-webkit-scrollbar { display: none; }
|
|
|
|
.category-tag {
|
|
flex-shrink: 0;
|
|
padding: 7px 16px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 16px;
|
|
font-size: 13px;
|
|
color: var(--youth-text-secondary);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border: 1px solid var(--youth-border-light);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.category-tag.active {
|
|
background: var(--youth-primary);
|
|
color: #fff;
|
|
border-color: var(--youth-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 滚动区域 */
|
|
.scroll-area {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.scroll-area::-webkit-scrollbar { display: none; }
|
|
|
|
/* 区块标题 */
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 16px 10px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
}
|
|
|
|
.section-action {
|
|
font-size: 12px;
|
|
color: var(--youth-text-tertiary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 热搜榜 */
|
|
.hot-list {
|
|
background: var(--youth-bg-card);
|
|
margin: 0 16px;
|
|
border-radius: 12px;
|
|
padding: 4px 0;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.03);
|
|
}
|
|
|
|
.hot-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.hot-item:active { background: var(--youth-primary-bg); }
|
|
|
|
.hot-item + .hot-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 16px;
|
|
right: 16px;
|
|
height: 1px;
|
|
background: var(--youth-border-light);
|
|
}
|
|
|
|
.hot-rank {
|
|
width: 20px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-tertiary);
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.hot-item.top1 .hot-rank { color: #FF4D4F; }
|
|
.hot-item.top2 .hot-rank { color: #FF7A45; }
|
|
.hot-item.top3 .hot-rank { color: #FFA940; }
|
|
|
|
.hot-text {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: var(--youth-text-primary);
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.hot-tag {
|
|
padding: 2px 6px;
|
|
border-radius: 6px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.hot-tag.new { background: #FFF1F0; color: #F5222D; }
|
|
.hot-tag.hot { background: #FFF7E6; color: #FAAD14; }
|
|
.hot-tag.rec { background: #E6F7F6; color: #26C2BB; }
|
|
|
|
.hot-heat {
|
|
font-size: 11px;
|
|
color: var(--youth-text-tertiary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 历史记录 */
|
|
.history-section {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.history-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.history-tag {
|
|
padding: 6px 14px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 16px;
|
|
font-size: 12px;
|
|
color: var(--youth-text-secondary);
|
|
cursor: pointer;
|
|
border: 1px solid var(--youth-border-light);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.history-tag:active {
|
|
background: var(--youth-primary-bg);
|
|
border-color: var(--youth-primary-border);
|
|
}
|
|
|
|
.history-tag svg {
|
|
color: var(--youth-text-tertiary);
|
|
}
|
|
|
|
/* 猜你想搜 */
|
|
.guess-list {
|
|
background: var(--youth-bg-card);
|
|
margin: 0 16px;
|
|
border-radius: 12px;
|
|
padding: 4px 0;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.03);
|
|
}
|
|
|
|
.guess-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 16px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.guess-item:active { background: var(--youth-primary-bg); }
|
|
|
|
.guess-item + .guess-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 16px;
|
|
right: 16px;
|
|
height: 1px;
|
|
background: var(--youth-border-light);
|
|
}
|
|
|
|
.guess-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 8px;
|
|
background: var(--youth-primary-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--youth-primary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.guess-text {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: var(--youth-text-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.guess-desc {
|
|
font-size: 11px;
|
|
color: var(--youth-text-tertiary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
|
|
/* SVG 图标统一尺寸 */
|
|
.icon-svg {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1em;
|
|
height: 1em;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
}
|
|
.icon-svg svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
stroke: currentColor;
|
|
}
|
|
/* 侧栏图标 */
|
|
.sidebar-icon .icon-svg { width: 22px; height: 22px; font-size: 22px; }
|
|
/* 社团logo图标 */
|
|
.club-logo .icon-svg { width: 28px; height: 28px; font-size: 28px; color: #fff; }
|
|
/* 头图大图标 */
|
|
.hero-icon .icon-svg { width: 56px; height: 56px; font-size: 56px; opacity: 0.3; }
|
|
/* meta 小图标 */
|
|
.club-meta .icon-svg { width: 12px; height: 12px; font-size: 12px; }
|
|
/* 分类选择网格图标 */
|
|
.cat-option .icon-svg { width: 26px; height: 26px; font-size: 26px; }
|
|
/* logo预览图标 */
|
|
.logo-preview .icon-svg { width: 40px; height: 40px; font-size: 40px; color: #fff; }
|
|
/* 提示图标 */
|
|
.notice-icon .icon-svg { width: 18px; height: 18px; font-size: 18px; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="page-container" data-dom-id="page-container">
|
|
<div class="status-bar">
|
|
<span>9:41</span>
|
|
<div style="display:flex;align-items:center;gap:6px;">
|
|
<svg width="17" height="11" viewBox="0 0 17 11" fill="currentColor"><rect x="0" y="7" width="3" height="4" rx="0.5"></rect><rect x="4.5" y="5" width="3" height="6" rx="0.5"></rect><rect x="9" y="2.5" width="3" height="8.5" rx="0.5"></rect><rect x="13.5" y="0" width="3" height="11" rx="0.5"></rect></svg>
|
|
<svg width="25" height="12" viewBox="0 0 25 12"><rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="currentColor" opacity="0.5"></rect><rect x="2" y="2" width="18" height="8" rx="1.5" fill="currentColor"></rect><rect x="22.5" y="4" width="1.5" height="4" rx="0.5" fill="currentColor" opacity="0.5"></rect></svg>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 搜索栏 -->
|
|
<div class="search-header">
|
|
<div class="search-input-wrap">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="11" cy="11" r="8"></circle>
|
|
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
</svg>
|
|
<input type="text" class="search-input" placeholder="搜索用户、动态、活动、话题" autofocus>
|
|
</div>
|
|
<span class="cancel-btn" onclick="goBack()">取消</span>
|
|
</div>
|
|
|
|
<!-- 分类标签 -->
|
|
<div class="category-tabs">
|
|
<span class="category-tag active">综合</span>
|
|
<span class="category-tag">用户</span>
|
|
<span class="category-tag">动态</span>
|
|
<span class="category-tag">活动</span>
|
|
<span class="category-tag">话题</span>
|
|
<span class="category-tag">群组</span>
|
|
</div>
|
|
|
|
<div class="scroll-area">
|
|
<!-- 热搜榜 -->
|
|
<div class="section-header">
|
|
<div class="section-title">
|
|
校园热搜榜
|
|
</div>
|
|
<div class="section-action">
|
|
换一换
|
|
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="hot-list">
|
|
<div class="hot-item top1">
|
|
<span class="hot-rank">1</span>
|
|
<span class="hot-text">秋季校园招聘会今日开启</span>
|
|
<span class="hot-tag hot">热</span>
|
|
<span class="hot-heat">2.3w</span>
|
|
</div>
|
|
<div class="hot-item top2">
|
|
<span class="hot-rank">2</span>
|
|
<span class="hot-text">新生歌手大赛报名通道</span>
|
|
<span class="hot-tag new">新</span>
|
|
<span class="hot-heat">1.8w</span>
|
|
</div>
|
|
<div class="hot-item top3">
|
|
<span class="hot-rank">3</span>
|
|
<span class="hot-text">图书馆通宵自习室开放</span>
|
|
<span class="hot-tag rec">荐</span>
|
|
<span class="hot-heat">1.5w</span>
|
|
</div>
|
|
<div class="hot-item">
|
|
<span class="hot-rank">4</span>
|
|
<span class="hot-text">食堂三楼新开了一家奶茶店</span>
|
|
<span class="hot-heat">9,876</span>
|
|
</div>
|
|
<div class="hot-item">
|
|
<span class="hot-rank">5</span>
|
|
<span class="hot-text">校运会开幕式彩排现场</span>
|
|
<span class="hot-tag hot">热</span>
|
|
<span class="hot-heat">8,654</span>
|
|
</div>
|
|
<div class="hot-item">
|
|
<span class="hot-rank">6</span>
|
|
<span class="hot-text">保研经验分享会报名</span>
|
|
<span class="hot-heat">7,234</span>
|
|
</div>
|
|
<div class="hot-item">
|
|
<span class="hot-rank">7</span>
|
|
<span class="hot-text">宿舍文化节作品投票</span>
|
|
<span class="hot-heat">6,543</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 历史记录 -->
|
|
<div class="section-header">
|
|
<div class="section-title"> 搜索历史</div>
|
|
<div class="section-action">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<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>
|
|
清空
|
|
</div>
|
|
</div>
|
|
|
|
<div class="history-section">
|
|
<div class="history-tags">
|
|
<span class="history-tag">狼人杀组队 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>
|
|
<span class="history-tag">校园招聘会 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>
|
|
<span class="history-tag">林小夏 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>
|
|
<span class="history-tag">羽毛球约球 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>
|
|
<span class="history-tag">秋日摄影 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>
|
|
<span class="history-tag">考研自习室 <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 猜你想搜 -->
|
|
<div class="section-header">
|
|
<div class="section-title"><span class="icon-svg icon-sparkles"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z"></path><path d="M5 3v4"></path><path d="M19 17v4"></path><path d="M3 5h4"></path><path d="M17 19h4"></path></svg></span> 猜你想搜</div>
|
|
</div>
|
|
|
|
<div class="guess-list">
|
|
<div class="guess-item">
|
|
<div class="guess-icon">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<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>
|
|
<span class="guess-text">同校计算机学院的同学</span>
|
|
<span class="guess-desc">238人</span>
|
|
</div>
|
|
<div class="guess-item">
|
|
<div class="guess-icon" style="background:#FFF7E6;color:#FAAD14;">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<rect x="3" y="4" width="18" height="18" rx="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>
|
|
<span class="guess-text">本周热门校园活动</span>
|
|
<span class="guess-desc">12场</span>
|
|
</div>
|
|
<div class="guess-item">
|
|
<div class="guess-icon" style="background:#F9F0FF;color:#722ED1;">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<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>
|
|
</div>
|
|
<span class="guess-text">新生群聊推荐</span>
|
|
<span class="guess-desc">8个群</span>
|
|
</div>
|
|
<div class="guess-item">
|
|
<div class="guess-icon" style="background:#FFF1F0;color:#F5222D;">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"></path>
|
|
</svg>
|
|
</div>
|
|
<span class="guess-text">热门话题 #秋日校园</span>
|
|
<span class="guess-desc">3.2k动态</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<script> icon.innerHTML = '<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>';
|
|
}
|
|
}
|
|
|
|
function goBack() { window.history.back(); }
|
|
|
|
// 分类切换
|
|
document.querySelectorAll('.category-tag').forEach(tag => {
|
|
tag.addEventListener('click', function() {
|
|
document.querySelectorAll('.category-tag').forEach(t => t.classList.remove('active'));
|
|
this.classList.add('active');
|
|
});
|
|
});</script>
|
|
</body>
|
|
</html>
|
|
|