fix 六六歌模式規劃

This commit is contained in:
2026-05-15 02:47:26 +08:00
parent 0e64e5d571
commit 2d1497c045
20 changed files with 263 additions and 179 deletions
+2 -2
View File
@@ -68,14 +68,14 @@
1. `<article class="story-node">` 追加 modifier`story-node--ebook-ssg2`
2. 在該篇 `<p>…</p>` 之後新增:
- `<a href="extra/totoga2.html#ebook" class="timeline-ebook-cta">`
- `<a href="fallen/totoga2.html#ebook" class="timeline-ebook-cta">`
- Font Awesome`fa-solid fa-hand-pointer``aria-hidden="true"`
- 文案:「點這裡翻開《六六歌2》紀實電子書」
### 相依性(請檢查)
- 頁面須已載入 Font Awesome(與現有 `<link>` 一致),否則圖示不顯示。
- `extra/totoga2.html` 須存在;`assets/js/totoga2.js` 會辨識網址列 `#ebook` 並切換至電子書模式。
- `fallen/totoga2.html` 須存在;`assets/js/totoga2.js` 會辨識網址列 `#ebook` 並切換至電子書模式。
---
+29
View File
@@ -0,0 +1,29 @@
# 站內資料夾與頂欄選單對照
`assets/js/portal-nav.js``buildPortalNavInnerHTML` 一致;路徑變更時請同步改導覽與 `extra/site-guide.html`
| 頂欄主項/子項 | 路徑(站根相對) |
|----------------|------------------|
| 淪陷瞬間 · 初心與軌跡 | `index.html` |
| 傳奇的轉折 | `fallen/totoga2.html` |
| 全員發瘋 · 隊長帶弟弟 | `variety/variety.html`(錨點 `#variety` |
| 全員發瘋 · 各自暴走 · 新西遊記 | `variety/NJTW/NJTW5.html` |
| 完整的六顆 | `member/member.html` |
| 現場的震撼 | `concert/concert.html` |
| 黃色留聲機 | `albums/albums.html` |
| Yellow Note · 視覺進化論 | `yellow-note/minister.html` |
| Yellow Note · 聖地巡禮 | `yellow-note/map.html` |
## 根目錄樹(精簡)
- `index.html` — 首頁(淪陷瞬間)
- `fallen/` — 淪陷子線:六六歌2 整合長頁
- `member/` — 成員介紹(六顆水晶)
- `concert/``albums/` — 與選單同名主題
- `yellow-note/` — Yellow Noteminister + map
- `variety/` — 綜藝與 NJTW 子頁
- `extra/` — 未掛主欄之草稿、複本、全站索引 `site-guide.html`
- `assets/` — 共用靜態資源
- `docs/sql/` — SQL 練習、計畫(`sql_plan.md`)與 `.sql` 腳本/匯出
`COMING_SOON_PAGES` 仍以**檔名**(如 `totoga2.html``map.html`)判斷,與上層資料夾名無關。
File diff suppressed because one or more lines are too long
+38
View File
@@ -0,0 +1,38 @@
-- 水晶男孩資料庫備份
-- 1. 建立專輯表
CREATE TABLE `albums` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`title` VARCHAR(50) NOT NULL,
`release_date` DATE
);
-- 2. 建立歌曲表
CREATE TABLE `songs` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`album_id` INT NOT NULL,
`title` VARCHAR(100) NOT NULL
);
-- 3. 匯入專輯資料
INSERT INTO `albums` (`id`, `title`, `release_date`) VALUES
(1, '學園別曲', '1997-05-14'),
(2, 'Welcome To The Sechskies Land', '1997-11-01'),
(3, 'Road Fighter', '1998-07-15');
-- 4. 匯入第一張專輯曲目
INSERT INTO `songs` (`album_id`, `title`)
VALUES (1, '學園別曲'),
(1, '戀情'),
(1, '男兒之路(品生品死)'),
(1, '確認'),
(1, '背叛感'),
(1, '請記得好嗎'),
(1, 'Walking In The Rain'),
(1, 'Dream Comes True'),
(1, '愛的宣言'),
(1, '一起來吧'),
(1, '戀情(Remix'),
(1, '男兒之路(品生品死)(Remix');
+8
View File
@@ -0,0 +1,8 @@
# 筆記:`extra/totoga2-copy-video.html`(站主/編輯用,不對讀者顯示)
對應檔案:`extra/totoga2-copy-video.html`
- 以下為 Bilibili 嵌入播放器(16:9)。請用上集/中集/下集分頁切換;若無法播放請至站內搜尋同一 BV 號。中集、下集可將 iframe 的 `bvid` 換成分集連結。
- 中集、下集 iframe 使用 `data-src`,第一次切到該分頁時由頁內 script 寫入 `src`;改連結時請改 `data-src`(或已寫入後的 `src`)。
- 目前中/下集預設與上集同一 BV,僅作占位;正式替換時改各分頁 iframe 的 `data-src` 即可。
- 此頁 `body.totoga2-video-copy-page` 會覆寫 `.map-archive-header` 的整屏高度(`100vh``100dvh`),避免與導覽、影片疊加後出現整頁直向捲軸;其他全屏 banner 頁不受影響。