Back to discovery
灌篮高手 新装再编版
Comic · 简体中文

灌篮高手 新装再编版

陪伴无数人成长的热血神作《灌篮高手》,如今以全新电子书形式回归!风靡亚洲的篮球漫画经典,全套数位化正式登场,让读者可随时随地重温樱木花道、流川枫、三井寿等角色的青春岁月。 电子版另特别收录新装再编版封面完整彩图,让读者能一并珍藏。 青春的热血,即将再次沸腾! 📚 作品信息:作者 井上雄彦 · 评分 10 · 共收录 20 卷 / 265 话章节目录与高清彩页/条漫预览。 📖 在线漫画阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-1276/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/1015722). 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-1276/index.html

■ 剧情简介:

陪伴无数人成长的热血神作《灌篮高手》,如今以全新电子书形式回归!风靡亚洲的篮球漫画经典,全套数位化正式登场,让读者可随时随地重温樱木花道、流川枫、三井寿等角色的青春岁月。

电子版另特别收录新装再编版封面完整彩图,让读者能一并珍藏。

青春的热血,即将再次沸腾!

📚 作品信息:作者 井上雄彦 · 评分 10 · 共收录 20 卷 / 265 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 20 卷):

• 灌篮高手 新装再编版 1

• 灌篮高手 新装再编版 2

• 灌篮高手 新装再编版 3

• 灌篮高手 新装再编版 4

• 灌篮高手 新装再编版 5

• 灌篮高手 新装再编版 6

• 灌篮高手 新装再编版 7

• 灌篮高手 新装再编版 8

• 灌篮高手 新装再编版 9

• 灌篮高手 新装再编版 10

• 灌篮高手 新装再编版 11

• 灌篮高手 新装再编版 12

• 灌篮高手 新装再编版 13

• 灌篮高手 新装再编版 14

• 灌篮高手 新装再编版 15

• 灌篮高手 新装再编版 16

• 灌篮高手 新装再编版 17

• 灌篮高手 新装再编版 18

• 灌篮高手 新装再编版 19

• 灌篮高手 新装再编版 20

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

• #1 樱木花道

• #2 流川枫

• #3 blood

• #4 大猩猩

• #5 爱Q的力量

• #6 JAM!

• #7 I'm 篮球人!

• #8 花道入社

• #9 基础胜于切

• #10 没出息的午后

• #11 白发佛

• #12 强手对决

• #13 SKYWALKER

• #14 NEW POWER GENERATION

• #15 下雨的日子

• #16 天赋异禀

• #17 柔道男

• #18 What I Am

• #19 好心Q的大猩猩

• #20 困难重重的小人物上篮

• #21 这种感觉

• #22「要注意」

• #24 比赛前日

• #25 死对头

• #26 请叫我秘密武器

• #27 主将对决

• #28 势如破竹

• #28 超越高中级的水准

• #30 COUNTER ATTACK

• #31 坐立难安

• #32 危险人物

• #33 紧张

• #34 主角上场

• #35 这家伙搞什么?

• #36 田冈的错估

• #37 大猩猩不在的时候

• #38 REBOUND

• #39 篮板王的烦恼

• #40 乱七八糟!

• #41 天才

• #42 我就是不服输

• #43 最后两分钟

• #44 一定是仙道

• #45 UNBELIEVABLE

• #47 致胜的关键人物

• #48 NOTHING TO LOSE

• #49 篮球鞋

• #50 迟来的队员

• #51 问题人物

• #52 大麻烦

• #53 不祥的预感

• #54 白目的家伙

• #55 不良少年

• #56 请T鞋

• #57 SO STICKY

• #58 篮球队的末日

• #59 BURST

• #60 那又怎样?

• #61 正义的一方

• #62 樱木军团

• #63「这里不欢迎你」

• #64 三井

• #65 T鞋

• #66 MVP

• #67 称霸全国

• #68 15岁的三井寿

• #70 一点都不痛

• #71 BASKET BALL

• #72 START

• #73 5月19日

• #74 问题人物军团

• #75 Who Are Those Guys

• #76 FREETHROW

• #77 ROOKIE SENSATION

• #78 天才的证据

• #79 天才的烦恼

• #80 天才的烦恼2

• #81 劲旅

• #82 TIP OFF

• #83 第一中锋

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

# 灌篮高手 新装再编版 · 首章高清画页连载预览

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

![灌篮高手 新装再编版 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_01.jpg)

![灌篮高手 新装再编版 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_02.jpg)

![灌篮高手 新装再编版 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_03.jpg)

![灌篮高手 新装再编版 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_04.jpg)

![灌篮高手 新装再编版 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_05.jpg)

![灌篮高手 新装再编版 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1276/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-1276", "mangaid": "1276", "zh_title": "灌篮高手 新装再编版", "hant_title": "灌籃高手 新裝再編版", "en_title": "灌篮高手 新装再编版 (Bilimanga #1276)", "author": "井上雄彦", "tags": ["校园", "竞技", "热血", "励志", "欢乐", "校园青春", "日本漫画", "漫画"], "zh_desc": "陪伴无数人成长的热血神作《灌篮高手》,如今以全新电子书形式回归!风靡亚洲的篮球漫画经典,全套数位化正式登场,让读者可随时随地重温樱木花道、流川枫、三井寿等角色的青春岁月。\n\r\n\n\r\n电子版另特别收录新装再编版封面完整彩图,让读者能一并珍藏。\n\r\n青春的热血,即将再次沸腾!\n\n📚 作品信息:作者 井上雄彦 · 评分 10 · 共收录 20 卷 / 265 话章节目录与高清彩页/条漫预览。", "hant_desc": "陪伴無數人成長的熱血神作《灌籃高手》,如今以全新電子書形式回歸!風靡亞洲的籃球漫畫經典,全套數位化正式登場,讓讀者可隨時隨地重溫櫻木花道、流川楓、三井壽等角色的青春歲月。\n\r\n\n\r\n電子版另特別收錄新裝再編版封面完整彩圖,讓讀者能一並珍藏。\n\r\n青春的熱血,即將再次沸騰!\n\n📚 作品資訊:作者 井上雄彥 · 評分 10 · 共收錄 20 卷 / 265 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '灌篮高手 新装再编版' (灌籃高手 新裝再編版) by 井上雄彦. Includes 20 volumes and 265 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1276/page_06.jpg"], "volumes": [{"title_hant": "灌籃高手 新裝再編版 1", "title_zh": "灌篮高手 新装再编版 1", "cover_id": 2292516, "first_chap_id": 106049, "cover_url": "https://i.motiezw.com/cover/1276/2292516.jpg"}, {"title_hant": "灌籃高手 新裝再編版 2", "title_zh": "灌篮高手 新装再编版 2", "cover_id": 2292817, "first_chap_id": 106064, "cover_url": "https://i.motiezw.com/cover/1276/2292817.jpg"}, {"title_hant": "灌籃高手 新裝再編版 3", "title_zh": "灌篮高手 新装再编版 3", "cover_id": 2293038, "first_chap_id": 106075, "cover_url": "https://i.motiezw.com/cover/1276/2293038.jpg"}, {"title_hant": "灌籃高手 新裝再編版 4", "title_zh": "灌篮高手 新装再编版 4", "cover_id": 2293298, "first_chap_id": 106088, "cover_url": "https://i.motiezw.com/cover/1276/2293298.jpg"}, {"title_hant": "灌籃高手 新裝再編版 5", "title_zh": "灌篮高手 新装再编版 5", "cover_id": 2293563, "first_chap_id": 106102, "cover_url": "https://i.motiezw.com/cover/1276/2293563.jpg"}, {"title_hant": "灌籃高手 新裝再編版 6", "title_zh": "灌篮高手 新装再编版 6", "cover_id": 2293887, "first_chap_id": 106119, "cover_url": "https://i.motiezw.com/cover/1276/2293887.jpg"}, {"title_hant": "灌籃高手 新裝再編版 7", "title_zh": "灌篮高手 新装再编版 7", "cover_id": 2294197, "first_chap_id": 106135, "cover_url": "https://i.motiezw.com/cover/1276/2294197.jpg"}, {"title_hant": "灌籃高手 新裝再編版 8", "title_zh": "灌篮高手 新装再编版 8", "cover_id": 2294560, "first_chap_id": 106154, "cover_url": "https://i.motiezw.com/cover/1276/2294560.jpg"}, {"title_hant": "灌籃高手 新裝再編版 9", "title_zh": "灌篮高手 新装再编版 9", "cover_id": 2294905, "first_chap_id": 106173, "cover_url": "https://i.motiezw.com/cover/1276/2294905.jpg"}, {"title_hant": "灌籃高手 新裝再編版 10", "title_zh": "灌篮高手 新装再编版 10", "cover_id": 2295264, "first_chap_id": 106191, "cover_url": "https://i.motiezw.com/cover/1276/2295264.jpg"}, {"title_hant": "灌籃高手 新裝再編版 11", "title_zh": "灌篮高手 新装再编版 11", "cover_id": 2297195, "first_chap_id": 106256, "cover_url": "https://i.motiezw.com/cover/1276/2297195.jpg"}, {"title_hant": "灌籃高手 新裝再編版 12", "title_zh": "灌篮高手 新装再编版 12", "cover_id": 2297453, "first_chap_id": 106270, "cover_url": "https://i.motiezw.com/cover/1276/2297453.jpg"}], "chapters": [{"cid": "106049", "title": "#1 櫻木花道", "title_zh": "#1 樱木花道"}, {"cid": "106050", "title": "#2 流川楓", "title_zh": "#2 流川枫"}, {"cid": "106051", "title": "#3 blood", "title_zh": "#3 blood"}, {"cid": "106052", "title": "#4 大猩猩", "title_zh": "#4 大猩猩"}, {"cid": "106053", "title": "#5 愛Q的力量", "title_zh": "#5 爱Q的力量"}, {"cid": "106054", "title": "#6 JAM!", "title_zh": "#6 JAM!"}, {"cid": "106055", "title": "#7 I'm 籃球人!", "title_zh": "#7 I'm 篮球人!"}, {"cid": "106056", "title": "#8 花道入社", "title_zh": "#8 花道入社"}, {"cid": "106057", "title": "#9 基礎勝於切", "title_zh": "#9 基础胜于切"}, {"cid": "106058", "title": "#10 沒出息的午後", "title_zh": "#10 没出息的午后"}, {"cid": "106059", "title": "#11 白髮佛", "title_zh": "#11 白发佛"}, {"cid": "106060", "title": "#12 強手對決", "title_zh": "#12 强手对决"}, {"cid": "106061", "title": "#13 SKYWALKER", "title_zh": "#13 SKYWALKER"}, {"cid": "106062", "title": "#14 NEW POWER GENERATION", "title_zh": "#14 NEW POWER GENERATION"}, {"cid": "106064", "title": "#15 下雨的日子", "title_zh": "#15 下雨的日子"}, {"cid": "106065", "title": "#16 天賦異稟", "title_zh": "#16 天赋异禀"}, {"cid": "106066", "title": "#17 柔道男", "title_zh": "#17 柔道男"}, {"cid": "106067", "title": "#18 What I Am", "title_zh": "#18 What I Am"}, {"cid": "106068", "title": "#19 好心Q的大猩猩", "title_zh": "#19 好心Q的大猩猩"}, {"cid": "106069", "title": "#20 困難重重的小人物上籃", "title_zh": "#20 困难重重的小人物上篮"}, {"cid": "106070", "title": "#21 這種感覺", "title_zh": "#21 这种感觉"}, {"cid": "106071", "title": "#22「要注意」", "title_zh": "#22「要注意」"}, {"cid": "106073", "title": "#24 比賽前日", "title_zh": "#24 比赛前日"}, {"cid": "106075", "title": "#25 死對頭", "title_zh": "#25 死对头"}, {"cid": "106076", "title": "#26 請叫我祕密武器", "title_zh": "#26 请叫我秘密武器"}, {"cid": "106077", "title": "#27 主將對決", "title_zh": "#27 主将对决"}, {"cid": "106078", "title": "#28 勢如破竹", "title_zh": "#28 势如破竹"}, {"cid": "106079", "title": "#28 超越高中級的水準", "title_zh": "#28 超越高中级的水准"}, {"cid": "106080", "title": "#30 COUNTER ATTACK", "title_zh": "#30 COUNTER ATTACK"}, {"cid": "106081", "title": "#31 坐立難安", "title_zh": "#31 坐立难安"}, {"cid": "106082", "title": "#32 危險人物", "title_zh": "#32 危险人物"}, {"cid": "106083", "title": "#33 緊張", "title_zh": "#33 紧张"}, {"cid": "106084", "title": "#34 主角上場", "title_zh": "#34 主角上场"}, {"cid": "106085", "title": "#35 這傢伙搞什麼?", "title_zh": "#35 这家伙搞什么?"}, {"cid": "106086", "title": "#36 田岡的錯估", "title_zh": "#36 田冈的错估"}, {"cid": "106088", "title": "#37 大猩猩不在的時候", "title_zh": "#37 大猩猩不在的时候"}, {"cid": "106089", "title": "#38 REBOUND", "title_zh": "#38 REBOUND"}, {"cid": "106090", "title": "#39 籃板王的煩惱", "title_zh": "#39 篮板王的烦恼"}, {"cid": "106091", "title": "#40 亂七八糟!", "title_zh": "#40 乱七八糟!"}, {"cid": "106092", "title": "#41 天才", "title_zh": "#41 天才"}, {"cid": "106093", "title": "#42 我就是不服輸", "title_zh": "#42 我就是不服输"}, {"cid": "106094", "title": "#43 最後兩分鐘", "title_zh": "#43 最后两分钟"}, {"cid": "106095", "title": "#44 一定是仙道", "title_zh": "#44 一定是仙道"}, {"cid": "106096", "title": "#45 UNBELIEVABLE", "title_zh": "#45 UNBELIEVABLE"}, {"cid": "106098", "title": "#47 致勝的關鍵人物", "title_zh": "#47 致胜的关键人物"}, {"cid": "106099", "title": "#48 NOTHING TO LOSE", "title_zh": "#48 NOTHING TO LOSE"}, {"cid": "106100", "title": "#49 籃球鞋", "title_zh": "#49 篮球鞋"}, {"cid": "106102", "title": "#50 遲來的隊員", "title_zh": "#50 迟来的队员"}, {"cid": "106103", "title": "#51 問題人物", "title_zh": "#51 问题人物"}, {"cid": "106104", "title": "#52 大麻煩", "title_zh": "#52 大麻烦"}, {"cid": "106105", "title": "#53 不祥的預感", "title_zh": "#53 不祥的预感"}, {"cid": "106106", "title": "#54 白目的傢伙", "title_zh": "#54 白目的家伙"}, {"cid": "106107", "title": "#55 不良少年", "title_zh": "#55 不良少年"}, {"cid": "106108", "title": "#56 請T鞋", "title_zh": "#56 请T鞋"}, {"cid": "106109", "title": "#57 SO STICKY", "title_zh": "#57 SO STICKY"}, {"cid": "106110", "title": "#58 籃球隊的末日", "title_zh": "#58 篮球队的末日"}, {"cid": "106111", "title": "#59 BURST", "title_zh": "#59 BURST"}, {"cid": "106112", "title": "#60 那又怎樣?", "title_zh": "#60 那又怎样?"}, {"cid": "106113", "title": "#61 正義的一方", "title_zh": "#61 正义的一方"}, {"cid": "106114", "title": "#62 櫻木軍團", "title_zh": "#62 樱木军团"}]};

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>