Back to discovery
西行紀 第二部
Comic · 繁體中文

西行紀 第二部

奇經風波暫告一段落,然而龍神八部世界並未迎來真正的和平。天界內部暗流湧動,阿修羅、龍族等各方勢力紛紛捲入新的紛爭。面對逐漸浮現的遠古秘密與更加強大的敵人,西行小隊再次踏上征途。在信念與宿命的碰撞中,一場決定諸界未來的大戰即將爆發。 📚 作品資訊:作者 鄧志輝 / 鄭健和 · 評分 10 · 共收錄 14 卷 / 69 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:https://media.huangguodrama.ai/motion/comics/bilimanga-1475/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/1015492). 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-1475/index.html

■ 剧情简介:

奇经风波暂告一段落,然而龙神八部世界并未迎来真正的和平。天界内部暗流涌动,阿修罗、龙族等各方势力纷纷卷入新的纷争。面对逐渐浮现的远古秘密与更加强大的敌人,西行小队再次踏上征途。在信念与宿命的碰撞中,一场决定诸界未来的大战即将爆发。

📚 作品信息:作者 邓志辉 / 郑健和 · 评分 10 · 共收录 14 卷 / 69 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 14 卷):

• 西行纪 第二部 1

• 西行纪 第二部 2

• 西行纪 第二部 3

• 西行纪 第二部 4

• 西行纪 第二部 5

• 西行纪 第二部 6

• 西行纪 第二部 7

• 西行纪 第二部 8

• 西行纪 第二部 9

• 西行纪 第二部 10

• 西行纪 第二部 11

• 西行纪 第二部 12

• 西行纪 第二部 13

• 西行纪 第二部 14

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

• 第113话 阿修罗再起

• 第114话 阿修罗对千手战阵

• 第115话 狂王无双

• 第116话 龙族之变

• 第117话 黄泉底下白骨成灾

• 第118话 白骨皇帝

• 第119话 大妖皇帝的挑战

• 第120话 牺牲

• 第121话 暴君魔剑

• 第122话 梦碎

• 第123话 最后的巨鸟

• 第124话 屠龙

• 第125话 穷奇地洞

• 第126话 白蛇

• 第127话 暗魂启蒙者

• 第128话 穿越

• 第129话 狂虎现身

• 第130话 天龙界

• 第131话 忘忧国

• 第132话 梦蝶

• 第134话 归航

• 第135话 东海天龙界

• 第136话 龙族逆子的奋战

• 第137话 九天之雷

• 第138话 暗影侵略战

• 第139话 死战

• 第140话 罪业深重之神

• 第141话 兄弟

• 第142话 敖娇之死

• 第143话 金龙

• 第144话 金龙之秘

• 第145话 潜伏的南天王

• 第146话 狂牛对大猿

• 第147话 死别

• 第148话 打不死的敌人

• 第149话 神怒

• 第150话 猿王低首

• 第151话 悟空之死

• 第152话 穷途末路

• 第153话 人鱼之国

• 第154话 登天

• 第155话 最强的挑战

• 第156话 奇变

• 第157话 对决三王

• 第158话 夺命狂刀

• 第159话 狂极斗魂

• 第160话 最强父子

• 第161话 人鱼之秘

• 第162话 最终挑战

• 第163话 进入彼岸!!!

• 第164话 奇点

• 第165话 群魔乱舞

• 第166话 焚身以火

• 第167话 魔剑魔身

• 第168话 善·恶与中庸

• 第169话 雷电之龙

• 第170话 毒蜘蛛

• 第171话 破坏灭亡之神降临

• 第172话 有可能!!

• 第173话 死神

• 第175话 猿王现身

• 第176话 永远的大师兄

• 第177话 彼岸之秘

• 第178话 再战元始天尊!

• 第179话 坚持直到胜利

• 第180话 天尊之恨

• 第181话 异世界之神祗

• 第182话 永不说再见

• 第183话 行者不息

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

# 西行纪 第二部 · 首章高清画页连载预览

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

![西行纪 第二部 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_01.jpg)

![西行纪 第二部 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_02.jpg)

![西行纪 第二部 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_03.jpg)

![西行纪 第二部 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_04.jpg)

![西行纪 第二部 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_05.jpg)

![西行纪 第二部 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1475/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-1475", "mangaid": "1475", "zh_title": "西行纪 第二部", "hant_title": "西行紀 第二部", "en_title": "西行纪 第二部 (Bilimanga #1475)", "author": "邓志辉 / 郑健和", "tags": ["东方", "神鬼", "战争", "战斗", "奇幻", "奇幻冒险", "港台漫画", "漫画"], "zh_desc": "奇经风波暂告一段落,然而龙神八部世界并未迎来真正的和平。天界内部暗流涌动,阿修罗、龙族等各方势力纷纷卷入新的纷争。面对逐渐浮现的远古秘密与更加强大的敌人,西行小队再次踏上征途。在信念与宿命的碰撞中,一场决定诸界未来的大战即将爆发。\n\n📚 作品信息:作者 邓志辉 / 郑健和 · 评分 10 · 共收录 14 卷 / 69 话章节目录与高清彩页/条漫预览。", "hant_desc": "奇經風波暫告一段落,然而龍神八部世界並未迎來真正的和平。天界內部暗流湧動,阿修羅、龍族等各方勢力紛紛捲入新的紛爭。面對逐漸浮現的遠古秘密與更加強大的敵人,西行小隊再次踏上征途。在信念與宿命的碰撞中,一場決定諸界未來的大戰即將爆發。\n\n📚 作品資訊:作者 鄧志輝 / 鄭健和 · 評分 10 · 共收錄 14 卷 / 69 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '西行纪 第二部' (西行紀 第二部) by 邓志辉 / 郑健和. Includes 14 volumes and 69 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1475/page_06.jpg"], "volumes": [{"title_hant": "西行紀 第二部 1", "title_zh": "西行纪 第二部 1", "cover_id": 2678634, "first_chap_id": 122857, "cover_url": "https://i.motiezw.com/cover/1475/2678634.jpg"}, {"title_hant": "西行紀 第二部 2", "title_zh": "西行纪 第二部 2", "cover_id": 2678826, "first_chap_id": 122864, "cover_url": "https://i.motiezw.com/cover/1475/2678826.jpg"}, {"title_hant": "西行紀 第二部 3", "title_zh": "西行纪 第二部 3", "cover_id": 2678987, "first_chap_id": 122870, "cover_url": "https://i.motiezw.com/cover/1475/2678987.jpg"}, {"title_hant": "西行紀 第二部 4", "title_zh": "西行纪 第二部 4", "cover_id": 2679148, "first_chap_id": 122876, "cover_url": "https://i.motiezw.com/cover/1475/2679148.jpg"}, {"title_hant": "西行紀 第二部 5", "title_zh": "西行纪 第二部 5", "cover_id": 2679304, "first_chap_id": 122882, "cover_url": "https://i.motiezw.com/cover/1475/2679304.jpg"}, {"title_hant": "西行紀 第二部 6", "title_zh": "西行纪 第二部 6", "cover_id": 2679463, "first_chap_id": 122888, "cover_url": "https://i.motiezw.com/cover/1475/2679463.jpg"}, {"title_hant": "西行紀 第二部 7", "title_zh": "西行纪 第二部 7", "cover_id": 2679623, "first_chap_id": 122894, "cover_url": "https://i.motiezw.com/cover/1475/2679623.jpg"}, {"title_hant": "西行紀 第二部 8", "title_zh": "西行纪 第二部 8", "cover_id": 2679782, "first_chap_id": 122900, "cover_url": "https://i.motiezw.com/cover/1475/2679782.jpg"}, {"title_hant": "西行紀 第二部 9", "title_zh": "西行纪 第二部 9", "cover_id": 2679940, "first_chap_id": 122906, "cover_url": "https://i.motiezw.com/cover/1475/2679940.jpg"}, {"title_hant": "西行紀 第二部 10", "title_zh": "西行纪 第二部 10", "cover_id": 2680059, "first_chap_id": 122911, "cover_url": "https://i.motiezw.com/cover/1475/2680059.jpg"}, {"title_hant": "西行紀 第二部 11", "title_zh": "西行纪 第二部 11", "cover_id": 2680183, "first_chap_id": 122916, "cover_url": "https://i.motiezw.com/cover/1475/2680183.jpg"}, {"title_hant": "西行紀 第二部 12", "title_zh": "西行纪 第二部 12", "cover_id": 2680336, "first_chap_id": 122922, "cover_url": "https://i.motiezw.com/cover/1475/2680336.jpg"}], "chapters": [{"cid": "122857", "title": "第113話 阿修羅再起", "title_zh": "第113话 阿修罗再起"}, {"cid": "122858", "title": "第114話 阿修羅對千手戰陣", "title_zh": "第114话 阿修罗对千手战阵"}, {"cid": "122859", "title": "第115話 狂王無雙", "title_zh": "第115话 狂王无双"}, {"cid": "122860", "title": "第116話 龍族之變", "title_zh": "第116话 龙族之变"}, {"cid": "122861", "title": "第117話 黃泉底下白骨成災", "title_zh": "第117话 黄泉底下白骨成灾"}, {"cid": "122862", "title": "第118話 白骨皇帝", "title_zh": "第118话 白骨皇帝"}, {"cid": "122864", "title": "第119話 大妖皇帝的挑戰", "title_zh": "第119话 大妖皇帝的挑战"}, {"cid": "122865", "title": "第120話 犧牲", "title_zh": "第120话 牺牲"}, {"cid": "122866", "title": "第121話 暴君魔劍", "title_zh": "第121话 暴君魔剑"}, {"cid": "122867", "title": "第122話 夢碎", "title_zh": "第122话 梦碎"}, {"cid": "122868", "title": "第123話 最後的巨鳥", "title_zh": "第123话 最后的巨鸟"}, {"cid": "122870", "title": "第124話 屠龍", "title_zh": "第124话 屠龙"}, {"cid": "122871", "title": "第125話 窮奇地洞", "title_zh": "第125话 穷奇地洞"}, {"cid": "122872", "title": "第126話 白蛇", "title_zh": "第126话 白蛇"}, {"cid": "122873", "title": "第127話 暗魂啓蒙者", "title_zh": "第127话 暗魂启蒙者"}, {"cid": "122874", "title": "第128話 穿越", "title_zh": "第128话 穿越"}, {"cid": "122876", "title": "第129話 狂虎現身", "title_zh": "第129话 狂虎现身"}, {"cid": "122877", "title": "第130話 天龍界", "title_zh": "第130话 天龙界"}, {"cid": "122878", "title": "第131話 忘憂國", "title_zh": "第131话 忘忧国"}, {"cid": "122879", "title": "第132話 夢蝶", "title_zh": "第132话 梦蝶"}, {"cid": "122882", "title": "第134話 歸航", "title_zh": "第134话 归航"}, {"cid": "122883", "title": "第135話 東海天龍界", "title_zh": "第135话 东海天龙界"}, {"cid": "122884", "title": "第136話 龍族逆子的奮戰", "title_zh": "第136话 龙族逆子的奋战"}, {"cid": "122885", "title": "第137話 九天之雷", "title_zh": "第137话 九天之雷"}, {"cid": "122886", "title": "第138話 暗影侵略戰", "title_zh": "第138话 暗影侵略战"}, {"cid": "122888", "title": "第139話 死戰", "title_zh": "第139话 死战"}, {"cid": "122889", "title": "第140話 罪業深重之神", "title_zh": "第140话 罪业深重之神"}, {"cid": "122890", "title": "第141話 兄弟", "title_zh": "第141话 兄弟"}, {"cid": "122891", "title": "第142話 敖嬌之死", "title_zh": "第142话 敖娇之死"}, {"cid": "122892", "title": "第143話 金龍", "title_zh": "第143话 金龙"}, {"cid": "122894", "title": "第144話 金龍之秘", "title_zh": "第144话 金龙之秘"}, {"cid": "122895", "title": "第145話 潛伏的南天王", "title_zh": "第145话 潜伏的南天王"}, {"cid": "122896", "title": "第146話 狂牛對大猿", "title_zh": "第146话 狂牛对大猿"}, {"cid": "122897", "title": "第147話 死別", "title_zh": "第147话 死别"}, {"cid": "122898", "title": "第148話 打不死的敵人", "title_zh": "第148话 打不死的敌人"}, {"cid": "122900", "title": "第149話 神怒", "title_zh": "第149话 神怒"}, {"cid": "122901", "title": "第150話 猿王低首", "title_zh": "第150话 猿王低首"}, {"cid": "122902", "title": "第151話 悟空之死", "title_zh": "第151话 悟空之死"}, {"cid": "122903", "title": "第152話 窮途末路", "title_zh": "第152话 穷途末路"}, {"cid": "122904", "title": "第153話 人魚之國", "title_zh": "第153话 人鱼之国"}, {"cid": "122906", "title": "第154話 登天", "title_zh": "第154话 登天"}, {"cid": "122907", "title": "第155話 最強的挑戰", "title_zh": "第155话 最强的挑战"}, {"cid": "122908", "title": "第156話 奇變", "title_zh": "第156话 奇变"}, {"cid": "122909", "title": "第157話 對決三王", "title_zh": "第157话 对决三王"}, {"cid": "122911", "title": "第158話 奪命狂刀", "title_zh": "第158话 夺命狂刀"}, {"cid": "122912", "title": "第159話 狂極鬥魂", "title_zh": "第159话 狂极斗魂"}, {"cid": "122913", "title": "第160話 最強父子", "title_zh": "第160话 最强父子"}, {"cid": "122914", "title": "第161話 人魚之秘", "title_zh": "第161话 人鱼之秘"}, {"cid": "122916", "title": "第162話 最終挑戰", "title_zh": "第162话 最终挑战"}, {"cid": "122917", "title": "第163話 進入彼岸!!!", "title_zh": "第163话 进入彼岸!!!"}, {"cid": "122918", "title": "第164話 奇點", "title_zh": "第164话 奇点"}, {"cid": "122919", "title": "第165話 群魔亂舞", "title_zh": "第165话 群魔乱舞"}, {"cid": "122920", "title": "第166話 焚身以火", "title_zh": "第166话 焚身以火"}, {"cid": "122922", "title": "第167話 魔劍魔身", "title_zh": "第167话 魔剑魔身"}, {"cid": "122923", "title": "第168話 善·惡與中庸", "title_zh": "第168话 善·恶与中庸"}, {"cid": "122924", "title": "第169話 雷電之龍", "title_zh": "第169话 雷电之龙"}, {"cid": "122925", "title": "第170話 毒蜘蛛", "title_zh": "第170话 毒蜘蛛"}, {"cid": "122926", "title": "第171話 破壞滅亡之神降臨", "title_zh": "第171话 破坏灭亡之神降临"}, {"cid": "122928", "title": "第172話 有可能!!", "title_zh": "第172话 有可能!!"}, {"cid": "122929", "title": "第173話 死神", "title_zh": "第173话 死神"}]};

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>