Files
guoju0808/proto/html/项目公示.html
郭庆泰 cf5790229a refactor: 合并 biz_support_unit/biz_execution_unit/biz_service_org 为 biz_org, 删除 2 张孤儿表, 改 biz_person.work_unit → org_id FK
主要改动:
- SQL: biz_support_unit → biz_org, 加 org_type, 加 business_nature; 删 biz_execution_unit, biz_service_org
- SQL: biz_project.support_unit_id/name + service_org_id/name → org_id/name/type
- SQL: biz_meeting.support_unit_name → org_name
- SQL: biz_person.work_unit → org_id (FK)
- 后端: 新 BizOrg entity/mapper/service/controller
- 后端: BizProject/BizMeeting 字段重命名
- 后端: 删 12 个 BizSupportUnit/BizExecutionUnit/BizServiceOrg Java 文件
- 后端: BizPersonImportVO.workUnit → orgName (导入时查 biz_org 取 org_id)
- 后端: BizAuthController.registerExecutor 完整实现 (原 registerSupplier stub)
- 前端: 新 admin/Orgs.vue + manager/Orgs.vue (原 SupportUnits)
- 前端: RegisterExecutor.vue (原 RegisterSupplier, 单页 2 步)
- 前端: sponsor/executor/manager 多个文件 workUnit → orgId/orgName 重命名
- 前端: 统一 supplier → executor, 业务命名 sponsor(赞助方) / executor(执行方=供应商)
- 前端: 全工程 execution → executor (company type / role / person unit_type)
2026-08-15 12:41:10 +08:00

788 lines
27 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>项目公示 - 北京整合医学学会</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #1f2937;
background: #ffffff;
min-width: 1354px;
line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
/* ========== 顶部导航 ========== */
.top-nav {
position: sticky;
top: 0;
z-index: 1000;
height: 72px;
padding: 0 60px;
background: #1e3a8a;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
align-items: center;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
transition: box-shadow 0.3s;
}
.top-nav.is-scrolled {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.logo {
display: flex;
align-items: center;
gap: 12px;
}
.logo-icon {
width: 36px;
height: 36px;
background: #fff;
color: #1e3a8a;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 600;
}
.logo-text {
display: flex;
flex-direction: column;
line-height: 1.2;
}
.logo-title {
font-size: 16px;
font-weight: 600;
color: #fff;
letter-spacing: 0.5px;
}
.logo-subtitle {
font-size: 11px;
color: rgba(255, 255, 255, 0.6);
margin-top: 2px;
letter-spacing: 0.3px;
}
.nav-list {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 36px;
list-style: none;
}
.nav-item {
position: relative;
height: 72px;
display: flex;
align-items: center;
}
.nav-link {
font-size: 15px;
font-weight: 500;
color: rgba(255, 255, 255, 0.85);
cursor: pointer;
transition: color 0.25s;
position: relative;
height: 72px;
display: flex;
align-items: center;
}
.nav-link::after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
width: 0;
height: 2px;
background: #fff;
transform: translateX(-50%);
transition: width 0.3s ease;
}
.nav-item:hover .nav-link,
.nav-link.active {
color: #fff;
}
.nav-item:hover .nav-link::after,
.nav-link.active::after {
width: 100%;
}
.top-tools {
display: flex;
align-items: center;
gap: 16px;
}
.login-btn {
padding: 7px 20px;
background: #fff;
color: #1e3a8a;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
letter-spacing: 1px;
}
.login-btn:hover {
background: #f3f4f6;
}
/* ========== 主体容器 ========== */
.container {
max-width: 1354px;
margin: 0 auto;
padding: 0 60px;
}
/* ========== 页面标题 ========== */
.page-header {
padding: 40px 0 24px;
}
.section-title {
font-size: 20px;
font-weight: 600;
color: #1f2937;
margin-bottom: 22px;
position: relative;
padding-left: 12px;
letter-spacing: 0.5px;
}
.section-title::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 3px;
height: 18px;
background: #1e3a8a;
}
/* ========== 筛选条 ========== */
.filter-bar {
padding: 12px 0;
border-bottom: 1px solid #f3f4f6;
margin-bottom: 0;
display: flex;
align-items: center;
gap: 14px;
font-size: 13px;
}
.filter-label {
color: #4b5563;
white-space: nowrap;
}
.filter-select {
height: 30px;
padding: 0 26px 0 10px;
border: 1px solid #d1d5db;
background: #fff;
font-size: 13px;
color: #1f2937;
font-family: inherit;
outline: none;
cursor: pointer;
min-width: 120px;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
transition: border-color 0.2s;
}
.filter-select:focus {
border-color: #1e3a8a;
}
.filter-input {
height: 30px;
padding: 0 10px;
border: 1px solid #d1d5db;
background: #fff;
font-size: 13px;
color: #1f2937;
font-family: inherit;
outline: none;
width: 220px;
transition: border-color 0.2s;
}
.filter-input:focus {
border-color: #1e3a8a;
}
.filter-input::placeholder {
color: #9ca3af;
}
.filter-btn {
height: 30px;
padding: 0 18px;
background: #1e3a8a;
color: #fff;
border: none;
font-size: 12px;
cursor: pointer;
font-family: inherit;
letter-spacing: 1px;
transition: background 0.2s;
}
.filter-btn:hover {
background: #1e40af;
}
/* ========== 公示列表 ========== */
.notice-list {
padding: 0;
}
.notice-item {
display: flex;
align-items: flex-start;
padding: 14px 0;
border-bottom: 1px solid #f3f4f6;
cursor: pointer;
transition: background 0.2s;
gap: 24px;
}
.notice-item:hover {
background: #fafbfc;
}
.notice-item:hover .notice-title {
color: #1e3a8a;
}
.notice-date {
flex-shrink: 0;
width: 100px;
font-size: 13px;
color: #6b7280;
font-family: ui-monospace, "Courier New", monospace;
padding-top: 2px;
}
.notice-title {
flex: 1;
font-size: 14px;
color: #1f2937;
line-height: 1.7;
transition: color 0.2s;
}
.notice-item-no {
flex-shrink: 0;
width: 32px;
font-size: 12px;
color: #9ca3af;
font-family: ui-monospace, "Courier New", monospace;
padding-top: 2px;
}
/* ========== 分页 ========== */
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 30px 0 60px;
}
.page-btn {
min-width: 32px;
height: 32px;
padding: 0 10px;
border: 1px solid #e5e7eb;
background: #fff;
color: #4b5563;
font-size: 13px;
cursor: pointer;
font-family: inherit;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}
.page-btn:hover {
border-color: #1e3a8a;
color: #1e3a8a;
}
.page-btn.active {
background: #1e3a8a;
border-color: #1e3a8a;
color: #fff;
}
.page-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
border-color: #e5e7eb;
}
.page-btn:disabled:hover {
border-color: #e5e7eb;
color: #4b5563;
}
.page-info {
font-size: 13px;
color: #6b7280;
margin-left: 12px;
}
/* ========== 底部 ========== */
.footer {
background: #16265a;
color: rgba(255, 255, 255, 0.65);
padding: 48px 0 0;
}
.footer-main {
display: grid;
grid-template-columns: 1.4fr 1fr 1fr 1.2fr auto;
gap: 48px;
padding-bottom: 36px;
}
.footer-brand .brand-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.footer-logo-icon {
width: 36px;
height: 36px;
background: #fff;
color: #1e3a8a;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 600;
flex-shrink: 0;
}
.footer-brand-name {
font-size: 16px;
font-weight: 600;
color: #fff;
letter-spacing: 1px;
}
.footer-brand-en {
font-size: 10px;
color: rgba(255, 255, 255, 0.4);
letter-spacing: 0.5px;
margin-top: 2px;
}
.footer-desc {
font-size: 13px;
line-height: 1.9;
color: rgba(255, 255, 255, 0.55);
}
.footer-col h4 {
font-size: 14px;
font-weight: 600;
color: #fff;
letter-spacing: 1px;
margin-bottom: 16px;
padding-bottom: 10px;
position: relative;
}
.footer-col h4::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 24px;
height: 2px;
background: #93c5fd;
}
.footer-col a,
.footer-col p {
display: block;
font-size: 13px;
color: rgba(255, 255, 255, 0.6);
line-height: 2.1;
transition: color 0.2s;
}
.footer-col a { cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-qr {
text-align: center;
}
.qr-image {
width: 100px;
height: 100px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
color: #1f2937;
}
.qr-label {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
margin-top: 10px;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.12);
padding: 18px 0;
display: flex;
justify-content: space-between;
font-size: 12px;
color: rgba(255, 255, 255, 0.4);
}
</style>
</head>
<body>
<!-- ===== 顶部导航 ===== -->
<header class="top-nav">
<a href="首页.html" class="logo" title="返回首页">
<div class="logo-icon"></div>
<div class="logo-text">
<span class="logo-title">北京整合医学学会</span>
<span class="logo-subtitle">Beijing Association of Holistic Integrative Medicine</span>
</div>
</a>
<ul class="nav-list">
<li class="nav-item">
<a class="nav-link" href="index2.html">年度项目规划</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="项目公示.html">项目公示</a>
</li>
</ul>
<div class="top-tools">
<span class="login-btn" id="loginBtn">登录</span>
</div>
</header>
<!-- ===== 主体 ===== -->
<main class="container">
<!-- 页面标题 -->
<div class="page-header">
<h1 class="section-title">项目公示</h1>
</div>
<!-- 筛选条 -->
<div class="filter-bar">
<span class="filter-label">类型:</span>
<select class="filter-select" id="typeFilter">
<option value="">请选择</option>
<option value="邀请函">邀请函</option>
<option value="支持函">支持函</option>
<option value="通知">通知</option>
<option value="日程">日程</option>
</select>
<input type="text" class="filter-input" id="searchInput" placeholder="">
<button class="filter-btn" id="queryBtn">查询</button>
<button class="filter-btn" id="resetBtn" style="background: #fff; color: #1e3a8a; border: 1px solid #1e3a8a;">重置</button>
</div>
<!-- 公示列表 -->
<div class="notice-list" id="noticeList">
<!-- 由 JS 渲染 -->
</div>
<!-- 分页 -->
<div class="pagination" id="pagination"></div>
</main>
<!-- ===== 底部 ===== -->
<footer class="footer">
<div class="container">
<div class="footer-main">
<div class="footer-brand">
<div class="brand-row">
<div class="footer-logo-icon"></div>
<div>
<div class="footer-brand-name">北京整合医学学会</div>
<div class="footer-brand-en">Beijing Association of Holistic Integrative Medicine</div>
</div>
</div>
<p class="footer-desc">依托"健康中国2030"战略,整合医学资源,推动健康科普与公益事业,助力全民健康素养提升,共建共享健康中国。</p>
</div>
<div class="footer-col">
<h4>快速导航</h4>
<a href="首页.html">首页</a>
<a href="index2.html">年度项目规划</a>
<a href="项目公示.html">项目公示</a>
</div>
<div class="footer-col">
<h4>学会项目</h4>
<a>百姓巡常行</a>
<a>专病联盟暨全国专家智库</a>
<a>乡村幸福安康</a>
<a>临床科研资助计划</a>
</div>
<div class="footer-col">
<h4>联系方式</h4>
<p>电话: 010-82089470</p>
<p>邮箱: contactus@bahim.org.cn</p>
<p>地址: 北京市海淀区知春路1号学院国际大厦908-2室</p>
<p>邮编: 100083</p>
</div>
<div class="footer-qr">
<div class="qr-image">
<svg width="52" height="52" viewBox="0 0 24 24" fill="currentColor">
<path d="M3 11h8V3H3v8zm2-6h4v4H5V5zm8-2v8h8V3h-8zm6 6h-4V5h4v4zM3 21h8v-8H3v8zm2-6h4v4H5v-4zm13-2h-2v2h2v-2zm-2 2h-2v2h2v-2zm2 2h-2v2h2v-2zm2-2h-2v2h2v-2zm-2-2h-2v2h2v-2zm-2-2h-2v2h2v-2zm-2-2h-2v2h2v-2zm-2-2h-2v2h2v-2zm0 0h-2v2h2v-2z"/>
</svg>
</div>
<div class="qr-label">公众号二维码</div>
</div>
</div>
<div class="footer-bottom">
<span>© 北京整合医学学会 BAHIM</span>
<span>京ICP备2020035479号-1 &nbsp;&nbsp; 京公网安备11010802034820</span>
</div>
</div>
</footer>
<script>
/* ========== 模拟数据 ========== */
const ALL_NOTICES = [
{ date: '2026-05-06', title: '【邀请函】2026第2323号 "恺启新生 — 胃癌 CAR-T 细胞治疗系列会"项目 邀请函' },
{ date: '2026-05-06', title: '【会议通知】2026第2277号 北京同仁医院建院140周年系列学术活动之2026年第三届北京整合医学学会急诊医学分会学术会议' },
{ date: '2026-05-06', title: '【邀请函】2025第7276号 "整合之光"慢病防治与管理多学科融合新计划 — 慢病合并真菌感染多学科交流会' },
{ date: '2026-05-06', title: '【支持函】2026第2127号 骨领新生 — 骨质疏松规范诊疗临床病例实战精析会' },
{ date: '2026-05-06', title: '【通知】2026第2577号 深圳市医学会2026年感染病学分会学术年会资助项目通知' },
{ date: '2026-05-06', title: '【日程】2026第2620号 2026年度第二季度学术研讨会议程安排' },
{ date: '2026-05-06', title: '【邀请函】2026第2456号 "心脑同治"整合医学高峰论坛 邀请函' },
{ date: '2026-05-06', title: '【会议通知】2026第2398号 北京整合医学学会中西医结合分会 2026 年学术年会通知' },
{ date: '2026-05-06', title: '【支持函】2026第2311号 "肺常健康"肺癌早筛与精准诊疗专家共识会' },
{ date: '2026-05-06', title: '【通知】2026第2245号 关于发布 2026 年整合医学临床研究项目立项指南的通知' },
{ date: '2026-04-28', title: '【邀请函】2026第2188号 "肝胆相照"整合医学肝病论坛 邀请函' },
{ date: '2026-04-22', title: '【会议通知】2026第2156号 2026年整合医学麻醉学分会学术年会通知' },
{ date: '2026-04-15', title: '【支持函】2026第2098号 "骨动未来"关节外科规范化诊疗学术会议' },
{ date: '2026-04-08', title: '【通知】2026第2031号 关于公布 2026 年第一批整合医学专项项目立项名单的通知' },
{ date: '2026-03-29', title: '【邀请函】2026第1987号 "脑科学前沿"整合医学神经科学论坛 邀请函' },
{ date: '2026-03-22', title: '【日程】2026第1952号 北京整合医学学会第三届理事会第三次会议日程' },
{ date: '2026-03-15', title: '【会议通知】2026第1923号 2026年整合医学心血管病学分会学术年会通知' },
{ date: '2026-03-08', title: '【支持函】2026第1881号 "母婴安康"围产医学规范化培训项目' },
{ date: '2026-02-28', title: '【通知】2026第1835号 关于开展 2026 年度整合医学临床研究项目申报工作的通知' },
{ date: '2026-02-22', title: '【邀请函】2026第1798号 "消化整合"胃肠病学术研讨会 邀请函' },
{ date: '2026-02-15', title: '【会议通知】2026第1762号 北京整合医学学会 2026 年第一次学术会议通知' },
{ date: '2026-02-08', title: '【日程】2026第1728号 2026年第一季度学术活动日程总览' },
{ date: '2026-01-29', title: '【支持函】2026第1689号 "儿童健康"儿科整合医学论坛支持函' },
{ date: '2026-01-22', title: '【通知】2026第1645号 关于加强整合医学科普作品质量管理的通知' },
{ date: '2026-01-15', title: '【邀请函】2026第1603号 "中医传承"整合医学中医药论坛 邀请函' },
{ date: '2026-01-08', title: '【会议通知】2026第1567号 2026年北京整合医学学会年会通知' },
{ date: '2025-12-29', title: '【支持函】2025第7892号 2025年度整合医学专项项目年度总结会支持函' },
{ date: '2025-12-22', title: '【通知】2025第7856号 关于报送 2025 年整合医学项目执行情况总结的通知' },
{ date: '2025-12-15', title: '【邀请函】2025第7821号 "年终盛典"整合医学年度学术会议 邀请函' },
{ date: '2025-12-08', title: '【日程】2025第7789号 2025年度整合医学学术活动日程汇总' },
{ date: '2025-11-29', title: '【会议通知】2025第7742号 2025年度整合医学临床研究项目结题评审会通知' },
{ date: '2025-11-22', title: '【支持函】2025第7698号 "康复医学"整合医学康复论坛支持函' },
{ date: '2025-11-15', title: '【通知】2025第7654号 关于整合医学科普作品年度评审结果公示' },
{ date: '2025-11-08', title: '【邀请函】2025第7612号 "影像整合"放射学术研讨会 邀请函' },
{ date: '2025-10-29', title: '【会议通知】2025第7568号 2025年整合医学分会学术年会通知' },
{ date: '2025-10-22', title: '【日程】2025第7523号 2025年第四季度学术活动日程' },
{ date: '2025-10-15', title: '【支持函】2025第7481号 "护理整合"护理学学术研讨会支持函' },
{ date: '2025-10-08', title: '【通知】2025第7438号 关于申报 2026 年度整合医学专项项目立项指南的通知' },
{ date: '2025-09-29', title: '【邀请函】2025第7392号 "整合之光"全国整合医学论坛 邀请函' },
{ date: '2025-09-22', title: '【会议通知】2025第7345号 整合医学高峰论坛会议通知' },
{ date: '2025-09-15', title: '【日程】2025第7298号 2025年第三季度学术活动日程' },
{ date: '2025-09-08', title: '【支持函】2025第7246号 整合医学公益项目支持函' },
{ date: '2025-08-29', title: '【通知】2025第7198号 关于发布整合医学科研项目管理办法的通知' },
{ date: '2025-08-22', title: '【邀请函】2025第7145号 "智慧医疗"整合医学数字化论坛 邀请函' },
{ date: '2025-08-15', title: '【会议通知】2025第7098号 2025年整合医学青年学者论坛通知' },
{ date: '2025-08-08', title: '【日程】2025第7052号 2025年8月学术活动日程' }
];
/* ========== 状态 ========== */
const PAGE_SIZE = 10;
let currentPage = 1;
let currentType = '';
let currentKeyword = '';
/* ========== 筛选类型 ========== */
function detectType(title) {
if (title.includes('【邀请函】')) return '邀请函';
if (title.includes('【支持函】')) return '支持函';
if (title.includes('【通知】')) return '通知';
if (title.includes('【日程】')) return '日程';
if (title.includes('【会议通知】')) return '通知';
return '其他';
}
/* ========== 筛选 + 排序 ========== */
function getFilteredList() {
let list = ALL_NOTICES.map(n => ({ ...n, type: detectType(n.title) }));
if (currentType) {
list = list.filter(n => n.type === currentType);
}
if (currentKeyword) {
const kw = currentKeyword.toLowerCase();
list = list.filter(n => n.title.toLowerCase().includes(kw));
}
return list;
}
/* ========== 渲染列表 ========== */
function renderList() {
const list = getFilteredList();
const total = list.length;
const totalPages = Math.max(1, Math.ceil(total / PAGE_SIZE));
if (currentPage > totalPages) currentPage = totalPages;
const start = (currentPage - 1) * PAGE_SIZE;
const pageItems = list.slice(start, start + PAGE_SIZE);
const listEl = document.getElementById('noticeList');
if (pageItems.length === 0) {
listEl.innerHTML = '<div style="padding: 40px 0; text-align: center; color: #9ca3af; font-size: 13px;">暂无数据</div>';
} else {
listEl.innerHTML = pageItems.map((n, i) => `
<div class="notice-item">
<span class="notice-item-no">${String(start + i + 1).padStart(3, '0')}</span>
<span class="notice-date">${n.date}</span>
<span class="notice-title">${n.title}</span>
</div>
`).join('');
}
// 绑定点击 → 跳转详情页
listEl.querySelectorAll('.notice-item').forEach(item => {
item.addEventListener('click', function() {
window.location.href = '公示详情.html';
});
});
renderPagination(total, totalPages);
}
/* ========== 渲染分页 ========== */
function renderPagination(total, totalPages) {
const el = document.getElementById('pagination');
if (total === 0) {
el.innerHTML = '';
return;
}
const buttons = [];
buttons.push(`<button class="page-btn" ${currentPage === 1 ? 'disabled' : ''} data-page="prev">上一页</button>`);
for (let i = 1; i <= totalPages; i++) {
if (i === 1 || i === totalPages || (i >= currentPage - 1 && i <= currentPage + 1)) {
buttons.push(`<button class="page-btn ${i === currentPage ? 'active' : ''}" data-page="${i}">${i}</button>`);
} else if (i === currentPage - 2 || i === currentPage + 2) {
buttons.push(`<span style="color: #9ca3af; padding: 0 4px;">···</span>`);
}
}
buttons.push(`<button class="page-btn" ${currentPage === totalPages ? 'disabled' : ''} data-page="next">下一页</button>`);
el.innerHTML = buttons.join('') + `<span class="page-info">共 ${total} 条 / ${totalPages} 页</span>`;
el.querySelectorAll('.page-btn').forEach(btn => {
btn.addEventListener('click', function() {
const p = this.dataset.page;
if (p === 'prev') {
if (currentPage > 1) currentPage--;
} else if (p === 'next') {
if (currentPage < totalPages) currentPage++;
} else {
currentPage = parseInt(p, 10);
}
renderList();
window.scrollTo({ top: 0, behavior: 'smooth' });
});
});
}
/* ========== 事件绑定 ========== */
document.getElementById('loginBtn').addEventListener('click', function() {
window.location.href = '登录.html';
});
const typeFilter = document.getElementById('typeFilter');
const searchInput = document.getElementById('searchInput');
function applyFilter() {
currentType = typeFilter.value;
currentKeyword = searchInput.value.trim();
currentPage = 1;
renderList();
}
typeFilter.addEventListener('change', applyFilter);
document.getElementById('queryBtn').addEventListener('click', applyFilter);
searchInput.addEventListener('keydown', function(e) {
if (e.key === 'Enter') applyFilter();
});
document.getElementById('resetBtn').addEventListener('click', function() {
typeFilter.value = '';
searchInput.value = '';
currentType = '';
currentKeyword = '';
currentPage = 1;
renderList();
});
// 滚动时加深导航栏阴影
const nav = document.querySelector('.top-nav');
window.addEventListener('scroll', function() {
if (window.scrollY > 10) {
nav.classList.add('is-scrolled');
} else {
nav.classList.remove('is-scrolled');
}
});
/* ========== 初始化 ========== */
renderList();
</script>
</body>
</html>