漫画简介与全卷章节目录
【政宗君的复仇(政宗君的復仇)· 漫画导览与全卷目录】 作者:Tiv / 竹冈叶月 评分:10 标签:欢乐 / 校园 / 日常 / 群像 / 复仇 / 校园青春 / 日本漫画 / 漫画 在线漫画阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-839/index.html
■ 剧情简介: 政宗小时候,是个被大家欺负的懦弱小胖猪。外公为了让他改头换面,把他接回老家去魔鬼训练了整整8年!
摇身一变成为大帅哥的政宗,为了对给他取上「猪脚」这个丢脸绰号的美少女千金安达垣爱姬复仇,改了原本的姓氏,准备回来展开爱情复仇-
在一连串计划外的发展后,加上小姐跟班的灰姑娘搅局,两人第一次的约会,到底是谁会先驰得点?
📚 作品信息:作者 Tiv / 竹冈叶月 · 评分 10 · 共收录 15 卷 / 81 话章节目录与高清彩页/条漫预览。
■ 收录分卷(共 15 卷): • 政宗君的复仇 1 • 政宗君的复仇 2 • 政宗君的复仇 3 • 政宗君的复仇 4 • 政宗君的复仇 5 • 政宗君的复仇 6 • 政宗君的复仇 7 • 政宗君的复仇 8 • 政宗君的复仇 番外篇0 • 政宗君的复仇 9 • 政宗君的复仇 10 • 政宗君的复仇 11 after school • 政宗君的复仇 12 -engagement- • 政宗君的复仇 13 -engagement- • 政宗君的复仇 插画集
■ 章节目录(前 80 话 / 共 81 话): • 第1话 被回做猪脚的男人 • 第2话 灰姑娘不苟言笑 • 第3话 只要交换手机MAIL就好的简单工作 • 第4话 吉乃的魔术秀 • 第5话 学生的本分是念书 • 第6话 爱Q故事处方笺 • 第7话 在那里的危机 • 第8话 谜样的小猫咪 • 第9话 贞洁炸弹 • 第9.5话 对安达垣爱姬的调查报告 • 第10话 压力与泳池 • 第11话 各自的Q&A • 第12话 突袭!家庭访问战争 • 第12.5话 悠久家仆家谱 • 第13话 纲手岛事件 其1 • 第14话 纲手岛事件 其2 • 第14.5话 网手岛事件 其3 • 第15话 网手岛事件 其4 • 第16话 那个人不是你 • 第17话 迷途、迷惘…… • 第19话 困惑的新学期 • 第20话 另一位政宗 • 第20.5话 小十郎想要有男人味 • 第21话 文化祭各怀鬼胎 • 第22话 作战名称『F』 • 第23话 八阪祭的白雪公主 其1 • 第24话 八阪祭的白雪公主 其2 • 第25话 八阪祭的白雪公主 其3 • 第26话 八阪祭的白雪公主 其4 • 第27话 八阪祭的白雪公主 其5 • 第28话 盛宴终结,后夜祭 • 第29话 死也不放开麦克风 • 第30话 巴黎与有宅字那个词的小姐 • 第31话 恋爱(喜剧)到底是什么东西? • 第32话 自由时间就是自由奔放 • 第33话 魔N与小胖子与男N • 第34话 公主的告白 • 第35话 [前篇] 猪脚的回忆 • 第35话 [后篇] 猪脚的回忆 • 第36话 遗忘时再次出现 • 第38话 我才不会喜欢上你呢,猪脚 • 第39话 追寻失落的时光 • 第真壁政宗篇[男人有时须冒险犯难] • 第安达垣爱姬篇[不死鸟从𝝅中复活] • 第小岩井吉乃篇[安达垣小姐的深夜挑战] • 第藤之宫宁子篇[如果她换上泳装] • 第朱里小十郎篇[今天碰上的好事] • 第双叶炒篇[揭穿幽灵的真面目?妙与政宗] • 第早濑绢江、千夏篇[政宗君的酸葡萄] • 第40话 成为男N朋友 • 第41话 第二次约会(不穿纯洁M姬) • 第42话 我到底是什么人 • 第43话 说出口也无济于事的告白 • 第44话 总有些事不该被察觉 • 第45话 Q人节近在咫尺 • 第46话 Whiteout • 第47话 骗子vs.骗子 • 第48话 听说幸福就在山的另一头 • 第49话 Dead or love? • 第50话 安达垣爱姬 • 第52话 朱里小十郎 • 第53话 藤之宫宁子 • 第54话 小岩井吉乃 • 第55话 幕莉儿·贝森 • 第56话 真壁政宗 • 第57话 政宗学长与危险的新生 • 第58话 京极家的凶残公主 • 第59话 [前篇] 怀疑多半就是真相 • 第59话 [后篇] 怀疑多半就是真相 • 特别篇 出租男友 政宗 • 第60话 糟糕了/搞砸了(上篇) • 第60话 糟糕了/搞砸了(中篇) • 第60话 糟糕了/搞砸了(下篇) • 第61话 残虐公主复活(上篇) • 第61话 残虐公主复活(下篇) • 第62话 虽然现在还只是约定 • chapter 1 Animation • chapter 2 Comics & Magazine • chapter 3 Store Giveaway • chapter 4 Other
首章高清条漫/翻页画页预览
政宗君的复仇 · 首章高清画页连载预览
> 在线完整下拉/翻页阅读器:https://media.huangguodrama.ai/motion/comics/bilimanga-839/index.html
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-839", "mangaid": "839", "zh_title": "政宗君的复仇", "hant_title": "政宗君的復仇", "en_title": "政宗君的复仇 (Bilimanga #839)", "author": "Tiv / 竹冈叶月", "tags": ["欢乐", "校园", "日常", "群像", "复仇", "校园青春", "日本漫画", "漫画"], "zh_desc": "政宗小时候,是个被大家欺负的懦弱小胖猪。外公为了让他改头换面,把他接回老家去魔鬼训练了整整8年!\n\r\n摇身一变成为大帅哥的政宗,为了对给他取上「猪脚」这个丢脸绰号的美少女千金安达垣爱姬复仇,改了原本的姓氏,准备回来展开爱情复仇-\n\r\n在一连串计划外的发展后,加上小姐跟班的灰姑娘搅局,两人第一次的约会,到底是谁会先驰得点?\n\n📚 作品信息:作者 Tiv / 竹冈叶月 · 评分 10 · 共收录 15 卷 / 81 话章节目录与高清彩页/条漫预览。", "hant_desc": "政宗小時候,是個被大家欺負的懦弱小胖豬。外公為了讓他改頭換面,把他接回老家去魔鬼訓練了整整8年!\n\r\n搖身一變成為大帥哥的政宗,為了對給他取上「豬腳」這個丟臉綽號的美少女千金安達垣愛姬復仇,改了原本的姓氏,準備回來展開愛情復仇-\n\r\n在一連串計畫外的發展後,加上小姐跟班的灰姑娘攪局,兩人第一次的約會,到底是誰會先馳得點?\n\n📚 作品資訊:作者 Tiv / 竹岡葉月 · 評分 10 · 共收錄 15 卷 / 81 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '政宗君的复仇' (政宗君的復仇) by Tiv / 竹冈叶月. Includes 15 volumes and 81 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-839/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-839/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-839/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-839/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-839/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-839/page_06.jpg"], "volumes": [{"title_hant": "政宗君的復仇 1", "title_zh": "政宗君的复仇 1", "cover_id": 1428862, "first_chap_id": 65265, "cover_url": "https://i.motiezw.com/cover/839/1428862.jpg"}, {"title_hant": "政宗君的復仇 2", "title_zh": "政宗君的复仇 2", "cover_id": 1429024, "first_chap_id": 65270, "cover_url": "https://i.motiezw.com/cover/839/1429024.jpg"}, {"title_hant": "政宗君的復仇 3", "title_zh": "政宗君的复仇 3", "cover_id": 1429200, "first_chap_id": 65276, "cover_url": "https://i.motiezw.com/cover/839/1429200.jpg"}, {"title_hant": "政宗君的復仇 4", "title_zh": "政宗君的复仇 4", "cover_id": 1429373, "first_chap_id": 65283, "cover_url": "https://i.motiezw.com/cover/839/1429373.jpg"}, {"title_hant": "政宗君的復仇 5", "title_zh": "政宗君的复仇 5", "cover_id": 1429560, "first_chap_id": 65290, "cover_url": "https://i.motiezw.com/cover/839/1429560.jpg"}, {"title_hant": "政宗君的復仇 6", "title_zh": "政宗君的复仇 6", "cover_id": 1429733, "first_chap_id": 65297, "cover_url": "https://i.motiezw.com/cover/839/1429733.jpg"}, {"title_hant": "政宗君的復仇 7", "title_zh": "政宗君的复仇 7", "cover_id": 1429906, "first_chap_id": 65304, "cover_url": "https://i.motiezw.com/cover/839/1429906.jpg"}, {"title_hant": "政宗君的復仇 8", "title_zh": "政宗君的复仇 8", "cover_id": 1430072, "first_chap_id": 65310, "cover_url": "https://i.motiezw.com/cover/839/1430072.jpg"}, {"title_hant": "政宗君的復仇 番外篇0", "title_zh": "政宗君的复仇 番外篇0", "cover_id": 1431036, "first_chap_id": 65349, "cover_url": "https://i.motiezw.com/cover/839/1431036.jpg"}, {"title_hant": "政宗君的復仇 9", "title_zh": "政宗君的复仇 9", "cover_id": 1430236, "first_chap_id": 65317, "cover_url": "https://i.motiezw.com/cover/839/1430236.jpg"}, {"title_hant": "政宗君的復仇 10", "title_zh": "政宗君的复仇 10", "cover_id": 1430407, "first_chap_id": 65323, "cover_url": "https://i.motiezw.com/cover/839/1430407.jpg"}, {"title_hant": "政宗君的復仇 11 after school", "title_zh": "政宗君的复仇 11 after school", "cover_id": 1430617, "first_chap_id": 65329, "cover_url": "https://i.motiezw.com/cover/839/1430617.jpg"}], "chapters": [{"cid": "65265", "title": "第1話 被回做豬腳的男人", "title_zh": "第1话 被回做猪脚的男人"}, {"cid": "65266", "title": "第2話 灰姑娘不苟言笑", "title_zh": "第2话 灰姑娘不苟言笑"}, {"cid": "65267", "title": "第3話 只要交換手機MAIL就好的簡單工作", "title_zh": "第3话 只要交换手机MAIL就好的简单工作"}, {"cid": "65268", "title": "第4話 吉乃的魔術秀", "title_zh": "第4话 吉乃的魔术秀"}, {"cid": "65270", "title": "第5話 學生的本分是唸書", "title_zh": "第5话 学生的本分是念书"}, {"cid": "65271", "title": "第6話 愛Q故事處方箋", "title_zh": "第6话 爱Q故事处方笺"}, {"cid": "65272", "title": "第7話 在那裡的危機", "title_zh": "第7话 在那里的危机"}, {"cid": "65273", "title": "第8話 謎樣的小貓咪", "title_zh": "第8话 谜样的小猫咪"}, {"cid": "65274", "title": "第9話 貞潔炸彈", "title_zh": "第9话 贞洁炸弹"}, {"cid": "65276", "title": "第9.5話 對安達垣愛姬的調查報告", "title_zh": "第9.5话 对安达垣爱姬的调查报告"}, {"cid": "65277", "title": "第10話 壓力與泳池", "title_zh": "第10话 压力与泳池"}, {"cid": "65278", "title": "第11話 各自的Q&A", "title_zh": "第11话 各自的Q&A"}, {"cid": "65279", "title": "第12話 突襲!家庭訪問戰爭", "title_zh": "第12话 突袭!家庭访问战争"}, {"cid": "65280", "title": "第12.5話 悠久家僕家譜", "title_zh": "第12.5话 悠久家仆家谱"}, {"cid": "65281", "title": "第13話 綱手島事件 其1", "title_zh": "第13话 纲手岛事件 其1"}, {"cid": "65283", "title": "第14話 綱手島事件 其2", "title_zh": "第14话 纲手岛事件 其2"}, {"cid": "65284", "title": "第14.5話 網手島事件 其3", "title_zh": "第14.5话 网手岛事件 其3"}, {"cid": "65285", "title": "第15話 網手島事件 其4", "title_zh": "第15话 网手岛事件 其4"}, {"cid": "65286", "title": "第16話 那個人不是你", "title_zh": "第16话 那个人不是你"}, {"cid": "65287", "title": "第17話 迷途、迷惘……", "title_zh": "第17话 迷途、迷惘……"}, {"cid": "65290", "title": "第19話 困惑的新學期", "title_zh": "第19话 困惑的新学期"}, {"cid": "65291", "title": "第20話 另一位政宗", "title_zh": "第20话 另一位政宗"}, {"cid": "65292", "title": "第20.5話 小十郎想要有男人味", "title_zh": "第20.5话 小十郎想要有男人味"}, {"cid": "65293", "title": "第21話 文化祭各懷鬼胎", "title_zh": "第21话 文化祭各怀鬼胎"}, {"cid": "65294", "title": "第22話 作戰名稱『F』", "title_zh": "第22话 作战名称『F』"}, {"cid": "65295", "title": "第23話 八阪祭的白雪公主 其1", "title_zh": "第23话 八阪祭的白雪公主 其1"}, {"cid": "65297", "title": "第24話 八阪祭的白雪公主 其2", "title_zh": "第24话 八阪祭的白雪公主 其2"}, {"cid": "65298", "title": "第25話 八阪祭的白雪公主 其3", "title_zh": "第25话 八阪祭的白雪公主 其3"}, {"cid": "65299", "title": "第26話 八阪祭的白雪公主 其4", "title_zh": "第26话 八阪祭的白雪公主 其4"}, {"cid": "65300", "title": "第27話 八阪祭的白雪公主 其5", "title_zh": "第27话 八阪祭的白雪公主 其5"}, {"cid": "65301", "title": "第28話 盛宴終結,後夜祭", "title_zh": "第28话 盛宴终结,后夜祭"}, {"cid": "65302", "title": "第29話 死也不放開麥克風", "title_zh": "第29话 死也不放开麦克风"}, {"cid": "65304", "title": "第30話 巴黎與有宅字那個詞的小姐", "title_zh": "第30话 巴黎与有宅字那个词的小姐"}, {"cid": "65305", "title": "第31話 戀愛(喜劇)到底是什麼東西?", "title_zh": "第31话 恋爱(喜剧)到底是什么东西?"}, {"cid": "65306", "title": "第32話 自由時間就是自由奔放", "title_zh": "第32话 自由时间就是自由奔放"}, {"cid": "65307", "title": "第33話 魔N與小胖子與男N", "title_zh": "第33话 魔N与小胖子与男N"}, {"cid": "65308", "title": "第34話 公主的告白", "title_zh": "第34话 公主的告白"}, {"cid": "65310", "title": "第35話 [前篇] 豬腳的回憶", "title_zh": "第35话 [前篇] 猪脚的回忆"}, {"cid": "65311", "title": "第35話 [後篇] 豬腳的回憶", "title_zh": "第35话 [后篇] 猪脚的回忆"}, {"cid": "65312", "title": "第36話 遺忘時再次出現", "title_zh": "第36话 遗忘时再次出现"}, {"cid": "65314", "title": "第38話 我才不會喜歡上你呢,豬腳", "title_zh": "第38话 我才不会喜欢上你呢,猪脚"}, {"cid": "65315", "title": "第39話 追尋失落的時光", "title_zh": "第39话 追寻失落的时光"}, {"cid": "65349", "title": "第真壁政宗篇[男人有時須冒險犯難]", "title_zh": "第真壁政宗篇[男人有时须冒险犯难]"}, {"cid": "65350", "title": "第安達垣愛姬篇[不死鳥從𝝅中復活]", "title_zh": "第安达垣爱姬篇[不死鸟从𝝅中复活]"}, {"cid": "65351", "title": "第小岩井吉乃篇[安達垣小姐的深夜挑戰]", "title_zh": "第小岩井吉乃篇[安达垣小姐的深夜挑战]"}, {"cid": "65352", "title": "第藤之宮寧子篇[如果她換上泳裝]", "title_zh": "第藤之宫宁子篇[如果她换上泳装]"}, {"cid": "65353", "title": "第朱里小十郎篇[今天碰上的好事]", "title_zh": "第朱里小十郎篇[今天碰上的好事]"}, {"cid": "65354", "title": "第雙葉炒篇[揭穿幽靈的真面目?妙與政宗]", "title_zh": "第双叶炒篇[揭穿幽灵的真面目?妙与政宗]"}, {"cid": "65355", "title": "第早瀨絹江、千夏篇[政宗君的酸葡萄]", "title_zh": "第早濑绢江、千夏篇[政宗君的酸葡萄]"}, {"cid": "65317", "title": "第40話 成為男N朋友", "title_zh": "第40话 成为男N朋友"}, {"cid": "65318", "title": "第41話 第二次約會(不穿純潔M姬)", "title_zh": "第41话 第二次约会(不穿纯洁M姬)"}, {"cid": "65319", "title": "第42話 我到底是什麼人", "title_zh": "第42话 我到底是什么人"}, {"cid": "65320", "title": "第43話 說出口也無濟於事的告白", "title_zh": "第43话 说出口也无济于事的告白"}, {"cid": "65321", "title": "第44話 總有些事不該被察覺", "title_zh": "第44话 总有些事不该被察觉"}, {"cid": "65323", "title": "第45話 Q人節近在咫尺", "title_zh": "第45话 Q人节近在咫尺"}, {"cid": "65324", "title": "第46話 Whiteout", "title_zh": "第46话 Whiteout"}, {"cid": "65325", "title": "第47話 騙子vs.騙子", "title_zh": "第47话 骗子vs.骗子"}, {"cid": "65326", "title": "第48話 聽說幸福就在山的另一頭", "title_zh": "第48话 听说幸福就在山的另一头"}, {"cid": "65327", "title": "第49話 Dead or love?", "title_zh": "第49话 Dead or love?"}, {"cid": "65329", "title": "第50話 安達垣愛姬", "title_zh": "第50话 安达垣爱姬"}]}; 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>











