Files
materials/interview/assets/interviews.js
huanghaosheng 3a762378a9 feat(interview): 面经站上线,得物 Golang 一面 15 题
- 首页即汇总:左侧面经导航、中间正文、右侧本页题目目录;进 #/interview 默认打开第一篇
- 正文 15 题按原文整理、题号从 1 重排,答案用 details 折叠并留占位
- 主题与资料库共用 localStorage;窄屏左栏收成抽屉,打印时答案全展开
- 索引单源:assets/interviews.js 驱动左侧导航;portal.data.js 登记,README 与 interview/README.md 同步
2026-11-08 15:30:09 +08:00

26 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ============================================================================
* 面经站 · 目录数据
* ----------------------------------------------------------------------------
* 左侧「面经导航」由本文件渲染(assets/doc.js 里的 buildNav())。
* 新增一场面经:把页面文件放在本目录,再往这里加一项,侧栏和计数自动更新。
*
* id 与页面 <body data-interview="…"> 一致,用来高亮当前这篇
* file 相对 interview/ 的文件名(首页 index.html 也算一篇)
* date 面试日期,YYYY-MM-DD;侧栏按日期倒序排
* round 一面 / 二面 / 三面 / HR 面
* questions 题目数量;status 显示在侧栏的副标题里
* ==========================================================================*/
window.INTERVIEWS = [
{
id: 'dewu-2026-golang-1',
file: 'index.html',
date: '2026-10-17',
company: '得物',
role: 'Golang 开发',
round: '一面',
title: '得物 · Golang 开发 · 一面',
questions: 15,
status: '答案待补'
}
];