Back to discovery
放學後堤防日誌
Comic · 繁體中文

放學後堤防日誌

她和剩下3位社員們的互動能改善她對海中生物的恐懼嗎? 海野高中一年級的鶴木陽渚是害怕生物的室內派。 在堤防散步時,與黑岩學姐的相遇作為契機, 竟然被強迫加入謎一般的「堤防社」開始釣起了魚! 被個性豐富的社員們所圍繞,陽渚的高中生活會怎麼樣呢!? 📚 作品資訊:作者 小坂泰之 · 評分 10 · 共收錄 13 卷 / 80 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:https://media.huangguodrama.ai/motion/comics/bilimanga-975/index.html

Comic

Continue With Interactive Roleplay & Novel Adaptation

Keep exploring the world of 放學後堤防日誌: chat with AI characters in interactive roleplay, read full web novel adaptations, or binge multi-episode vertical dramas across the Huangguo network.

Watch and read details

Available now
10 available images
Reading language
简体中文

Content record updated .

Availability describes the media currently listed here. A preview is not a complete series; more episodes or a release schedule are not promised.

Read & Watch 放學後堤防日誌 Online — FAQ

Explore 放學後堤防日誌 online in your browser on Reelshorts. 10 available images.

Where can I read or watch 放學後堤防日誌 online?
You can explore 放學後堤防日誌 directly in your browser on Reelshorts (https://reelshorts.app/title/1015412). Current availability: 10 available images.
What other collections are available on Reelshorts?
Browse Readable Novels, Short Dramas to Watch Online, Alpha King & Fated Mate Wolf Pack Dramas, Revenge Heiress & Betrayed Wife Comeback, Secret Billionaire Baby & Hidden Identity, Best Free DramaBox & ShortMax Alternatives, Top Chinese Short Dramas with English Subtitles, and Visual Stories in the Huangguo catalog.
简体中文

漫画简介与全卷章节目录

【放学后堤防日志(放學後堤防日誌)· 漫画导览与全卷目录】

作者:小坂泰之

评分:10

标签:日常 / 校园 / 旅行 / 治愈 / 女性视角 / 校园青春 / 日本漫画 / 漫画

在线漫画阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-975/index.html

■ 剧情简介:

她和剩下3位社员们的互动能改善她对海中生物的恐惧吗?

海野高中一年级的鹤木阳渚是害怕生物的室内派。

在堤防散步时,与黑岩学姐的相遇作为契机,

竟然被强迫加入谜一般的「堤防社」开始钓起了鱼!

被个性丰富的社员们所围绕,阳渚的高中生活会怎么样呢!?

📚 作品信息:作者 小坂泰之 · 评分 10 · 共收录 13 卷 / 80 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 13 卷):

• 放学后堤防日志 1

• 放学后堤防日志 2

• 放学后堤防日志 3

• 放学后堤防日志 4

• 放学后堤防日志 5

• 放学后堤防日志 6

• 放学后堤防日志 7

• 放学后堤防日志 8

• 放学后堤防日志 9

• 放学后堤防日志 10

• 放学后堤防日志 11

• 放学后堤防日志 12

• 放学后堤防日志 13

■ 章节目录(前 80 话 / 共 80 话):

• 报告01. 搬家

• 报告02. 提防社

• 报告03. 小鲹

• 报告04. 卷线器

• 报告05. 甩竿

• 报告06. 海王丸

• 报告07. 牛尾鱼

• 报告08. 购物

• 报告09. 拾潮

• 报告10. 顾问

• 报告11. 准备工作

• 报告12. 假日

• 报告13. 穴钓

• 报告特别篇. 饵木钓法

• 报告14. 梅雨

• 报告15. 沼虾

• 报告16. 梅雨间歇

• 报告17. 筹备

• 报告18. 苍鹭

• 报告19. 真乌贼

• 报告21. 外道鱼与鯵

• 报告22. YY干

• 报告23. 危险的鱼们

• 报告24. 沙鲛

• 报告25. 沙鲛其2

• 报告26. 沙鲛其3

• 报告27. 羊毛毡布偶

• 报告28. 横渡浅滩

• 报告29. 无人岛其1

• 报告30. 无人岛其2

• 报告31. 无人岛其3

• 报告32. 大潮

• 报告33. 修复

• 报告34. 前导线

• 报告35. 狗母鱼

• 报告36. 雨与雷

• 报告特别篇2. 狩猎

• 报告37. 准备

• 报告38. 乘船

• 报告39. 富久江岛

• 报告40. 前社长

• 第TV动画配音报告(池)

• 第TV动画主题曲报告(津之悠)

• 附录

• 报告42. 钓竹䇲鱼

• 报告43. 炸竹䇲鱼

• 报告44. 落入钓法

• 报告45. 落入钓法其二

• 报告46. 海水浴

• 报告47. 再次尝试

• 报告48. 神经缔

• 报告49. 游动式钓法

• 报告50. 泳钓

• 报告51. 水滴假饵

• 报告52. 钓泥斑鱼

• 报告53. 露营

• 报告54. 溪鱼

• 报告55. 垂钓

• 报告56. 野餐露营

• 报告57. 阴影制造机

• 报告58. 最后一天

• 报告59. 到家

• 报告60. 管池鳟钓

• 报告61. 管池鳟钓之一

• 报告62. 管池鳟钓之二

• 报告63. 管池鳟钓之四

• 报告64. 8月31日

• 报告65. 黑岩社长

• 报告66. 钓虾虎其一

• 报告67. 钓虾虎其二

• 报告68. 初遇

• 报告69. 单车行

• 报告70. 生物社 其一

• 报告71. 生物社 其二

• 报告72. 迟来的暑休

• 报告73. 海钓乐园

• 报告74. 饵鱼

• 报告75. 剥皮鱼 其一

• 报告76. 剥皮鱼 其二

• 报告77. 日落时

首章高清条漫/翻页画页预览

# 放学后堤防日志 · 首章高清画页连载预览

> 在线完整下拉/翻页阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-975/index.html

![放学后堤防日志 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_01.jpg)

![放学后堤防日志 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_02.jpg)

![放学后堤防日志 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_03.jpg)

![放学后堤防日志 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_04.jpg)

![放学后堤防日志 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_05.jpg)

![放学后堤防日志 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_06.jpg)

HTML5 在线漫画阅读器 (index.html)

<!DOCTYPE html>

<html lang="zh-CN">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=3,user-scalable=yes">

<title>放学后堤防日志 - 在线漫画阅读器</title>

<style>

*{box-sizing:border-box;margin:0;padding:0}

body{background:#0d0f17;color:#f1f5f9;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;min-height:100vh;display:flex;flex-direction:column}

header{position:sticky;top:0;z-index:50;background:rgba(13,15,23,0.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,0.09);padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}

.brand{display:flex;align-items:center;gap:10px}

.badge{background:linear-gradient(135deg,#ec4899,#8b5cf6);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:99px}

.title{font-size:16px;font-weight:700;color:#fff}

.controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

button{background:rgba(255,255,255,0.08);color:#e2e8f0;border:1px solid rgba(255,255,255,0.14);padding:6px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:.18s}

button:hover,button.active{background:#ec4899;color:#fff;border-color:#ec4899}

.hero{max-width:920px;margin:16px auto;padding:18px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:14px;display:flex;gap:18px;align-items:flex-start}

.hero img{width:120px;height:160px;object-fit:cover;border-radius:10px;flex-shrink:0;box-shadow:0 8px 24px rgba(0,0,0,0.45)}

.hero-meta h1{font-size:20px;margin-bottom:6px}

.hero-meta .sub{font-size:13px;color:#94a3b8;margin-bottom:8px}

.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}

.tag{background:rgba(236,72,153,0.16);color:#f472b6;padding:2px 8px;border-radius:6px;font-size:11px}

.desc{font-size:13px;line-height:1.6;color:#cbd5e1}

.reader-wrap{max-width:860px;width:100%;margin:0 auto 40px;padding:0 8px;flex:1}

.scroll-mode .page-card{margin-bottom:10px;background:#161925;border-radius:8px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,0.4)}

.scroll-mode .page-card img{width:100%;height:auto;display:block}

.page-footer{text-align:center;font-size:11px;color:#64748b;padding:4px 0}

.flip-controls{display:none;justify-content:center;align-items:center;gap:14px;margin:14px 0}

.flip-mode .flip-controls{display:flex}

.drawer{display:none;max-width:920px;margin:0 auto 20px;padding:16px;background:rgba(255,255,255,0.04);border-radius:12px;border:1px solid rgba(255,255,255,0.1)}

.drawer.open{display:block}

.chap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin-top:10px}

.chap-item{padding:8px 10px;background:rgba(255,255,255,0.06);border-radius:8px;font-size:12px;color:#e2e8f0;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.chap-item:hover{background:rgba(236,72,153,0.28)}

@media(max-width:600px){.hero{flex-direction:column;align-items:center;text-align:center}.tags{justify-content:center}}

</style>

</head>

<body>

<header>

<div class="brand">

<span class="badge">BILIMANGA · 统一媒体库</span>

<span class="title" id="hdrTitle"></span>

</div>

<div class="controls">

<button id="btnScroll" class="active" onclick="setMode('scroll')">条漫下拉模式</button>

<button id="btnFlip" onclick="setMode('flip')">单页翻页模式</button>

<button onclick="toggleCatalog()">章节目录 (<span id="chapCount">0</span>)</button>

<button onclick="cycleLang()" id="btnLang">繁/簡/EN</button>

</div>

</header>

<section class="hero">

<img id="heroCover" src="" alt="cover">

<div class="hero-meta">

<h1 id="heroTitle"></h1>

<div class="sub" id="heroSub"></div>

<div class="tags" id="heroTags"></div>

<p class="desc" id="heroDesc"></p>

</div>

</section>

<section class="drawer" id="catDrawer">

<h3 style="font-size:14px;margin-bottom:6px">全卷章节目录 (点击切换预览章节)</h3>

<div class="chap-grid" id="chapGrid"></div>

</section>

<div class="reader-wrap scroll-mode" id="readerWrap">

<div class="flip-controls">

<button onclick="stepPage(-1)">◀ 上一页</button>

<span id="pageIndicator" style="font-size:13px;color:#cbd5e1">1 / 1</span>

<button onclick="stepPage(1)">下一页 ▶</button>

</div>

<div id="pagesContainer"></div>

</div>

<script>

const COMIC = {"slug": "bilimanga-975", "mangaid": "975", "zh_title": "放学后堤防日志", "hant_title": "放學後堤防日誌", "en_title": "放学后堤防日志 (Bilimanga #975)", "author": "小坂泰之", "tags": ["日常", "校园", "旅行", "治愈", "女性视角", "校园青春", "日本漫画", "漫画"], "zh_desc": "她和剩下3位社员们的互动能改善她对海中生物的恐惧吗?\n\r\n海野高中一年级的鹤木阳渚是害怕生物的室内派。\n\r\n在堤防散步时,与黑岩学姐的相遇作为契机,\n\r\n竟然被强迫加入谜一般的「堤防社」开始钓起了鱼!\n\r\n被个性丰富的社员们所围绕,阳渚的高中生活会怎么样呢!?\n\n📚 作品信息:作者 小坂泰之 · 评分 10 · 共收录 13 卷 / 80 话章节目录与高清彩页/条漫预览。", "hant_desc": "她和剩下3位社員們的互動能改善她對海中生物的恐懼嗎?\n\r\n海野高中一年級的鶴木陽渚是害怕生物的室內派。\n\r\n在堤防散步時,與黑岩學姐的相遇作為契機,\n\r\n竟然被強迫加入謎一般的「堤防社」開始釣起了魚!\n\r\n被個性豐富的社員們所圍繞,陽渚的高中生活會怎麼樣呢!?\n\n📚 作品資訊:作者 小坂泰之 · 評分 10 · 共收錄 13 卷 / 80 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '放学后堤防日志' (放學後堤防日誌) by 小坂泰之. Includes 13 volumes and 80 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-975/page_06.jpg"], "volumes": [{"title_hant": "放學後堤防日誌 1", "title_zh": "放学后堤防日志 1", "cover_id": 1710594, "first_chap_id": 79146, "cover_url": "https://i.motiezw.com/cover/975/1710594.jpg"}, {"title_hant": "放學後堤防日誌 2", "title_zh": "放学后堤防日志 2", "cover_id": 1710757, "first_chap_id": 79154, "cover_url": "https://i.motiezw.com/cover/975/1710757.jpg"}, {"title_hant": "放學後堤防日誌 3", "title_zh": "放学后堤防日志 3", "cover_id": 1710918, "first_chap_id": 79162, "cover_url": "https://i.motiezw.com/cover/975/1710918.jpg"}, {"title_hant": "放學後堤防日誌 4", "title_zh": "放学后堤防日志 4", "cover_id": 1711082, "first_chap_id": 79170, "cover_url": "https://i.motiezw.com/cover/975/1711082.jpg"}, {"title_hant": "放學後堤防日誌 5", "title_zh": "放学后堤防日志 5", "cover_id": 1711247, "first_chap_id": 79176, "cover_url": "https://i.motiezw.com/cover/975/1711247.jpg"}, {"title_hant": "放學後堤防日誌 6", "title_zh": "放学后堤防日志 6", "cover_id": 1711427, "first_chap_id": 79184, "cover_url": "https://i.motiezw.com/cover/975/1711427.jpg"}, {"title_hant": "放學後堤防日誌 7", "title_zh": "放学后堤防日志 7", "cover_id": 1711565, "first_chap_id": 79190, "cover_url": "https://i.motiezw.com/cover/975/1711565.jpg"}, {"title_hant": "放學後堤防日誌 8", "title_zh": "放学后堤防日志 8", "cover_id": 1711719, "first_chap_id": 79199, "cover_url": "https://i.motiezw.com/cover/975/1711719.jpg"}, {"title_hant": "放學後堤防日誌 9", "title_zh": "放学后堤防日志 9", "cover_id": 1711884, "first_chap_id": 79206, "cover_url": "https://i.motiezw.com/cover/975/1711884.jpg"}, {"title_hant": "放學後堤防日誌 10", "title_zh": "放学后堤防日志 10", "cover_id": 1712049, "first_chap_id": 79213, "cover_url": "https://i.motiezw.com/cover/975/1712049.jpg"}, {"title_hant": "放學後堤防日誌 11", "title_zh": "放学后堤防日志 11", "cover_id": 1712213, "first_chap_id": 79220, "cover_url": "https://i.motiezw.com/cover/975/1712213.jpg"}, {"title_hant": "放學後堤防日誌 12", "title_zh": "放学后堤防日志 12", "cover_id": 2766490, "first_chap_id": 126611, "cover_url": "https://i.motiezw.com/cover/975/2766490.jpg"}], "chapters": [{"cid": "79146", "title": "報告01. 搬家", "title_zh": "报告01. 搬家"}, {"cid": "79147", "title": "報告02. 提防社", "title_zh": "报告02. 提防社"}, {"cid": "79148", "title": "報告03. 小鰺", "title_zh": "报告03. 小鲹"}, {"cid": "79149", "title": "報告04. 捲線器", "title_zh": "报告04. 卷线器"}, {"cid": "79150", "title": "報告05. 甩竿", "title_zh": "报告05. 甩竿"}, {"cid": "79151", "title": "報告06. 海王丸", "title_zh": "报告06. 海王丸"}, {"cid": "79152", "title": "報告07. 牛尾魚", "title_zh": "报告07. 牛尾鱼"}, {"cid": "79154", "title": "報告08. 購物", "title_zh": "报告08. 购物"}, {"cid": "79155", "title": "報告09. 拾潮", "title_zh": "报告09. 拾潮"}, {"cid": "79156", "title": "報告10. 顧問", "title_zh": "报告10. 顾问"}, {"cid": "79157", "title": "報告11. 準備工作", "title_zh": "报告11. 准备工作"}, {"cid": "79158", "title": "報告12. 假日", "title_zh": "报告12. 假日"}, {"cid": "79159", "title": "報告13. 穴釣", "title_zh": "报告13. 穴钓"}, {"cid": "79160", "title": "報告特別篇. 餌木釣法", "title_zh": "报告特别篇. 饵木钓法"}, {"cid": "79162", "title": "報告14. 梅雨", "title_zh": "报告14. 梅雨"}, {"cid": "79163", "title": "報告15. 沼蝦", "title_zh": "报告15. 沼虾"}, {"cid": "79164", "title": "報告16. 梅雨間歇", "title_zh": "报告16. 梅雨间歇"}, {"cid": "79165", "title": "報告17. 籌備", "title_zh": "报告17. 筹备"}, {"cid": "79166", "title": "報告18. 蒼鷺", "title_zh": "报告18. 苍鹭"}, {"cid": "79167", "title": "報告19. 真烏賊", "title_zh": "报告19. 真乌贼"}, {"cid": "79170", "title": "報告21. 外道魚與鯵", "title_zh": "报告21. 外道鱼与鯵"}, {"cid": "79171", "title": "報告22. YY干", "title_zh": "报告22. YY干"}, {"cid": "79172", "title": "報告23. 危險的魚們", "title_zh": "报告23. 危险的鱼们"}, {"cid": "79173", "title": "報告24. 沙鮫", "title_zh": "报告24. 沙鲛"}, {"cid": "79174", "title": "報告25. 沙鮫其2", "title_zh": "报告25. 沙鲛其2"}, {"cid": "79176", "title": "報告26. 沙鮫其3", "title_zh": "报告26. 沙鲛其3"}, {"cid": "79177", "title": "報告27. 羊毛氈布偶", "title_zh": "报告27. 羊毛毡布偶"}, {"cid": "79178", "title": "報告28. 橫渡淺灘", "title_zh": "报告28. 横渡浅滩"}, {"cid": "79179", "title": "報告29. 無人島其1", "title_zh": "报告29. 无人岛其1"}, {"cid": "79180", "title": "報告30. 無人島其2", "title_zh": "报告30. 无人岛其2"}, {"cid": "79181", "title": "報告31. 無人島其3", "title_zh": "报告31. 无人岛其3"}, {"cid": "79184", "title": "報告32. 大潮", "title_zh": "报告32. 大潮"}, {"cid": "79185", "title": "報告33. 修復", "title_zh": "报告33. 修复"}, {"cid": "79186", "title": "報告34. 前導線", "title_zh": "报告34. 前导线"}, {"cid": "79187", "title": "報告35. 狗母魚", "title_zh": "报告35. 狗母鱼"}, {"cid": "79188", "title": "報告36. 雨與雷", "title_zh": "报告36. 雨与雷"}, {"cid": "79183", "title": "報告特別篇2. 狩獵", "title_zh": "报告特别篇2. 狩猎"}, {"cid": "79190", "title": "報告37. 準備", "title_zh": "报告37. 准备"}, {"cid": "79191", "title": "報告38. 乘船", "title_zh": "报告38. 乘船"}, {"cid": "79192", "title": "報告39. 富久江島", "title_zh": "报告39. 富久江岛"}, {"cid": "79193", "title": "報告40. 前社長", "title_zh": "报告40. 前社长"}, {"cid": "79195", "title": "第TV動畫配音報告(池)", "title_zh": "第TV动画配音报告(池)"}, {"cid": "79196", "title": "第TV動畫主題曲報告(津之悠)", "title_zh": "第TV动画主题曲报告(津之悠)"}, {"cid": "79197", "title": "附錄", "title_zh": "附录"}, {"cid": "79199", "title": "報告42. 釣竹筴魚", "title_zh": "报告42. 钓竹䇲鱼"}, {"cid": "79200", "title": "報告43. 炸竹筴魚", "title_zh": "报告43. 炸竹䇲鱼"}, {"cid": "79201", "title": "報告44. 落入釣法", "title_zh": "报告44. 落入钓法"}, {"cid": "79202", "title": "報告45. 落入釣法其二", "title_zh": "报告45. 落入钓法其二"}, {"cid": "79203", "title": "報告46. 海水浴", "title_zh": "报告46. 海水浴"}, {"cid": "79204", "title": "報告47. 再次嘗試", "title_zh": "报告47. 再次尝试"}, {"cid": "79206", "title": "報告48. 神經締", "title_zh": "报告48. 神经缔"}, {"cid": "79207", "title": "報告49. 游動式釣法", "title_zh": "报告49. 游动式钓法"}, {"cid": "79208", "title": "報告50. 泳釣", "title_zh": "报告50. 泳钓"}, {"cid": "79209", "title": "報告51. 水滴假餌", "title_zh": "报告51. 水滴假饵"}, {"cid": "79210", "title": "報告52. 釣泥斑魚", "title_zh": "报告52. 钓泥斑鱼"}, {"cid": "79211", "title": "報告53. 露營", "title_zh": "报告53. 露营"}, {"cid": "79213", "title": "報告54. 溪魚", "title_zh": "报告54. 溪鱼"}, {"cid": "79214", "title": "報告55. 垂釣", "title_zh": "报告55. 垂钓"}, {"cid": "79215", "title": "報告56. 野餐露營", "title_zh": "报告56. 野餐露营"}, {"cid": "79216", "title": "報告57. 陰影製造機", "title_zh": "报告57. 阴影制造机"}]};

let lang = 'zh';

let mode = 'scroll';

let curPage = 0;

function renderMeta() {

const t = lang === 'zh' ? COMIC.zh_title : (lang === 'hant' ? COMIC.hant_title : COMIC.en_title);

const d = lang === 'zh' ? COMIC.zh_desc : (lang === 'hant' ? COMIC.hant_desc : COMIC.en_desc);

document.getElementById('hdrTitle').textContent = t;

document.getElementById('heroTitle').textContent = t;

document.getElementById('heroSub').textContent = `${COMIC.author} · 共 ${COMIC.volumes.length} 卷 / ${COMIC.chapters.length} 话`;

document.getElementById('heroDesc').textContent = d;

document.getElementById('heroCover').src = COMIC.pages[0] || '';

document.getElementById('chapCount').textContent = COMIC.chapters.length;

const tg = document.getElementById('heroTags');

tg.innerHTML = '';

(COMIC.tags || []).forEach(x => {

const s = document.createElement('span');

s.className = 'tag';

s.textContent = x;

tg.appendChild(s);

});

}

function renderCatalog() {

const g = document.getElementById('chapGrid');

g.innerHTML = '';

(COMIC.chapters || []).forEach((c, idx) => {

const d = document.createElement('div');

d.className = 'chap-item';

d.textContent = c.title_zh || c.title;

d.onclick = () => {

curPage = idx % COMIC.pages.length;

if (mode === 'flip') renderPages();

else document.querySelectorAll('.page-card')[curPage]?.scrollIntoView({behavior:'smooth'});

document.getElementById('catDrawer').classList.remove('open');

};

g.appendChild(d);

});

}

function renderPages() {

const wrap = document.getElementById('readerWrap');

wrap.className = 'reader-wrap ' + (mode === 'scroll' ? 'scroll-mode' : 'flip-mode');

const box = document.getElementById('pagesContainer');

box.innerHTML = '';

const list = mode === 'scroll' ? COMIC.pages : [COMIC.pages[curPage]];

list.forEach((url, i) => {

const idx = mode === 'scroll' ? i : curPage;

const card = document.createElement('div');

card.className = 'page-card';

card.innerHTML = `<img src="${url}" loading="lazy" alt="Page ${idx+1}"><div class="page-footer">第 ${idx+1} / ${COMIC.pages.length} 页 · ${COMIC.zh_title}</div>`;

if (mode === 'flip') card.onclick = () => stepPage(1);

box.appendChild(card);

});

document.getElementById('pageIndicator').textContent = `${curPage + 1} / ${COMIC.pages.length}`;

}

function setMode(m) {

mode = m;

document.getElementById('btnScroll').classList.toggle('active', m === 'scroll');

document.getElementById('btnFlip').classList.toggle('active', m === 'flip');

renderPages();

}

function stepPage(delta) {

curPage = (curPage + delta + COMIC.pages.length) % COMIC.pages.length;

renderPages();

}

function toggleCatalog() {

document.getElementById('catDrawer').classList.toggle('open');

}

function cycleLang() {

lang = lang === 'zh' ? 'hant' : (lang === 'hant' ? 'en' : 'zh');

renderMeta();

}

renderMeta();

renderCatalog();

renderPages();

</script>

</body>

</html>