Back to discovery
貓之眼
Comic · 繁體中文

貓之眼

名為「貓眼(CAT’S EYE)」的竊盜集團專偷價格不菲的藝術作品,每次作案前都會公開盜取預告,卻依舊成功得手,把負責抓捕他們的犬鳴署刑警‧內海俊夫耍得團團轉。內海俊夫從高中時期起交往的女友‧來生瞳,平日與姊姊來生淚、妹妹來生愛一同經營著咖啡廳,看似普通的她們其實就是「貓眼」… 📚 作品資訊:作者 北条司 · 評分 10 · 共收錄 15 卷 / 153 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:

Comic

More series to watch

Explore other available series below. The reading and AI chat links lead to separate experiences; they are not additional episodes of 貓之眼.

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.

About 貓之眼

10 available images.

《貓之眼》目前收錄了哪些內容?
目前目錄收錄狀態:劇情簡介。實際可播放劇集、預告影片或正文章節均以本頁顯示列表為準。
線上觀看或閱讀《貓之眼》需要下載 App 嗎?
無需下載安裝 App,已收錄的影片劇集與閱讀章節可直接在手機或電腦瀏覽器開啟。
《貓之眼》是否已收錄完整全集?
作品頁僅顯示目前已上線的內容,部分作品僅收錄預告片或劇情簡介,請以頁面分集與章節列表為準。
简体中文

漫画简介与全卷章节目录

【猫之眼(貓之眼)· 漫画导览与全卷目录】

作者:北条司

评分:10

标签:悬疑 / 犯罪 / 战斗 / 欢乐 / 恋爱 / 悬疑惊悚 / 日本漫画 / 漫画

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

■ 剧情简介:

名为「猫眼(CAT’S EYE)」的窃盗集团专偷价格不菲的艺术作品,每次作案前都会公开盗取预告,却依旧成功得手,把负责抓捕他们的犬鸣署刑警‧内海俊夫耍得团团转。内海俊夫从高中时期起交往的女友‧来生瞳,平日与姊姊来生泪、妹妹来生爱一同经营著咖啡厅,看似普通的她们其实就是「猫眼」…

📚 作品信息:作者 北条司 · 评分 10 · 共收录 15 卷 / 153 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 15 卷):

• 猫之眼 1

• 猫之眼 2

• 猫之眼 3

• 猫之眼 4

• 猫之眼 5

• 猫之眼 6

• 猫之眼 7

• 猫之眼 8

• 猫之眼 9

• 猫之眼 10

• 猫之眼 11

• 猫之眼 12

• 猫之眼 13

• 猫之眼 14

• 猫之眼 15

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

• 第1话 悻感的火爆N郎

• 第2话 摩天大厦走钢线

• 第3话 麻烦的恋Q

• 第4话 你喜欢金发吗?

• 第5话 夜间飞行是危险的香味

• 第6话 小猫送给你

• 第7话 绅士大盗登场

• 第8话 难缠的老鼠

• 第9话 对爸爸的回忆

• 第10话 猫显神通!

• 第11话 我爱小瞳

• 第12话 猫灵现身

• 第13话 父亲的画像

• 第14话 目标战斗N神

• 第15话 天降神鹰!

• 第16话 恶犬危机!!

• 第17话 武装犬VS.小爱

• 第18话 猫之眼是N人⋯

• 第19话 希望时间就此停顿

• 第20话 只要10分钟

• 第21话 N人心海底针

• 第23话 浅谷小姐闹双胞

• 第24话 雪地里的访客

• 第25话 LITTLE HURRICANE

• 第26话 也来当小偷

• 第27话 背对背的两个人

• 第28话 丧失记忆

• 第29话 小偷学入门

• 第30话 人无完M

• 第31话 追击指纹!

• 第32话 刑警咬到了小猫!

• 第33话 反向射击乌龙刑警

• 第34话 鬼猫

• 第35话 功夫警探

• 第36话 魔术手

• 第37话 三重冲击!

• 第38话 猫之眼是Q敌!

• 第39话 难为了警察!

• 第40话 倒数计时的恋Q

• 第41话 雨中追缉令

• 第42话 我的贴身保镳

• 第43话 多愁善感的小爱

• 第44话 红SQ书

• 第46话 危险的目击者

• 第47话 追击独家新闻!

• 第48话 烦人小恶魔

• 第49话 不入虎穴焉得虎子

• 第50话 最后一击!

• 第51话 给风抱拥

• 第52话 感受一下恋爱

• 第53话 这也算失恋?

• 第54话 漂亮的逃脱

• 第55话 梦幻信差

• 第56话 渐灭的灵魂

• 第57话 完M的约会

• 第58话 超级赌徒

• 第59话 N神的目光

• 第60话 俄罗斯轮盘

• 第61话 为了快乐日子

• 第62话 爱Q呀!求你不要走

• 第63话 暴力高尔夫球手

• 第64话 别缠上差劲N子

• 第65话 确实病了

• 第66话 油轮上的小伙子

• 第67话 小爱的快乐圣诞

• 第69话 婚礼中扔馅饼

• 第70话 抱著她!

• 第71话 雪N传说

• 第72话 12点的钟声响起时

• 第73话 感谢死亡游戏

• 第74话 穿雪橇的铜像

• 第75话 公路N王

• 第76话 炮弹飞车!!

• 第77话 我是100%

• 第78话 危险的晚餐

• 第79话 炎热的逃亡

• 第80话 猫之膝枕

• 第81话 恋爱中的小休

• 第82话 M好的生活

• 第83话 特制猫之眼式犯人烹调法

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

# 猫之眼 · 首章高清画页连载预览

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

![猫之眼 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_01.jpg)

![猫之眼 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_02.jpg)

![猫之眼 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_03.jpg)

![猫之眼 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_04.jpg)

![猫之眼 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_05.jpg)

![猫之眼 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-906/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-906", "mangaid": "906", "zh_title": "猫之眼", "hant_title": "貓之眼", "en_title": "猫之眼 (Bilimanga #906)", "author": "北条司", "tags": ["悬疑", "犯罪", "战斗", "欢乐", "恋爱", "悬疑惊悚", "日本漫画", "漫画"], "zh_desc": "名为「猫眼(CAT’S EYE)」的窃盗集团专偷价格不菲的艺术作品,每次作案前都会公开盗取预告,却依旧成功得手,把负责抓捕他们的犬鸣署刑警‧内海俊夫耍得团团转。内海俊夫从高中时期起交往的女友‧来生瞳,平日与姊姊来生泪、妹妹来生爱一同经营著咖啡厅,看似普通的她们其实就是「猫眼」…\n\n📚 作品信息:作者 北条司 · 评分 10 · 共收录 15 卷 / 153 话章节目录与高清彩页/条漫预览。", "hant_desc": "名為「貓眼(CAT’S EYE)」的竊盜集團專偷價格不菲的藝術作品,每次作案前都會公開盜取預告,卻依舊成功得手,把負責抓捕他們的犬鳴署刑警‧內海俊夫耍得團團轉。內海俊夫從高中時期起交往的女友‧來生瞳,平日與姊姊來生淚、妹妹來生愛一同經營著咖啡廳,看似普通的她們其實就是「貓眼」…\n\n📚 作品資訊:作者 北条司 · 評分 10 · 共收錄 15 卷 / 153 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '猫之眼' (貓之眼) by 北条司. Includes 15 volumes and 153 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-906/page_06.jpg"], "volumes": [{"title_hant": "貓之眼 1", "title_zh": "猫之眼 1", "cover_id": 1566682, "first_chap_id": 72191, "cover_url": "https://i.motiezw.com/cover/906/1566682.jpg"}, {"title_hant": "貓之眼 2", "title_zh": "猫之眼 2", "cover_id": 1566916, "first_chap_id": 72200, "cover_url": "https://i.motiezw.com/cover/906/1566916.jpg"}, {"title_hant": "貓之眼 3", "title_zh": "猫之眼 3", "cover_id": 1567142, "first_chap_id": 72211, "cover_url": "https://i.motiezw.com/cover/906/1567142.jpg"}, {"title_hant": "貓之眼 4", "title_zh": "猫之眼 4", "cover_id": 1567378, "first_chap_id": 72222, "cover_url": "https://i.motiezw.com/cover/906/1567378.jpg"}, {"title_hant": "貓之眼 5", "title_zh": "猫之眼 5", "cover_id": 1567594, "first_chap_id": 72233, "cover_url": "https://i.motiezw.com/cover/906/1567594.jpg"}, {"title_hant": "貓之眼 6", "title_zh": "猫之眼 6", "cover_id": 1567835, "first_chap_id": 72245, "cover_url": "https://i.motiezw.com/cover/906/1567835.jpg"}, {"title_hant": "貓之眼 7", "title_zh": "猫之眼 7", "cover_id": 1568057, "first_chap_id": 72256, "cover_url": "https://i.motiezw.com/cover/906/1568057.jpg"}, {"title_hant": "貓之眼 8", "title_zh": "猫之眼 8", "cover_id": 1568294, "first_chap_id": 72268, "cover_url": "https://i.motiezw.com/cover/906/1568294.jpg"}, {"title_hant": "貓之眼 9", "title_zh": "猫之眼 9", "cover_id": 1568539, "first_chap_id": 72280, "cover_url": "https://i.motiezw.com/cover/906/1568539.jpg"}, {"title_hant": "貓之眼 10", "title_zh": "猫之眼 10", "cover_id": 1568779, "first_chap_id": 72292, "cover_url": "https://i.motiezw.com/cover/906/1568779.jpg"}, {"title_hant": "貓之眼 11", "title_zh": "猫之眼 11", "cover_id": 1569017, "first_chap_id": 72304, "cover_url": "https://i.motiezw.com/cover/906/1569017.jpg"}, {"title_hant": "貓之眼 12", "title_zh": "猫之眼 12", "cover_id": 1569259, "first_chap_id": 72317, "cover_url": "https://i.motiezw.com/cover/906/1569259.jpg"}], "chapters": [{"cid": "72191", "title": "第1話 悻感的火爆N郎", "title_zh": "第1话 悻感的火爆N郎"}, {"cid": "72192", "title": "第2話 摩天大廈走鋼線", "title_zh": "第2话 摩天大厦走钢线"}, {"cid": "72193", "title": "第3話 麻煩的戀Q", "title_zh": "第3话 麻烦的恋Q"}, {"cid": "72194", "title": "第4話 你喜歡金髮嗎?", "title_zh": "第4话 你喜欢金发吗?"}, {"cid": "72195", "title": "第5話 夜間飛行是危險的香味", "title_zh": "第5话 夜间飞行是危险的香味"}, {"cid": "72196", "title": "第6話 小貓送給你", "title_zh": "第6话 小猫送给你"}, {"cid": "72197", "title": "第7話 紳士大盜登場", "title_zh": "第7话 绅士大盗登场"}, {"cid": "72198", "title": "第8話 難纏的老鼠", "title_zh": "第8话 难缠的老鼠"}, {"cid": "72200", "title": "第9話 對爸爸的回憶", "title_zh": "第9话 对爸爸的回忆"}, {"cid": "72201", "title": "第10話 貓顯神通!", "title_zh": "第10话 猫显神通!"}, {"cid": "72202", "title": "第11話 我愛小瞳", "title_zh": "第11话 我爱小瞳"}, {"cid": "72203", "title": "第12話 貓靈現身", "title_zh": "第12话 猫灵现身"}, {"cid": "72204", "title": "第13話 父親的畫像", "title_zh": "第13话 父亲的画像"}, {"cid": "72205", "title": "第14話 目標戰鬥N神", "title_zh": "第14话 目标战斗N神"}, {"cid": "72206", "title": "第15話 天降神鷹!", "title_zh": "第15话 天降神鹰!"}, {"cid": "72207", "title": "第16話 惡犬危機!!", "title_zh": "第16话 恶犬危机!!"}, {"cid": "72208", "title": "第17話 武裝犬VS.小愛", "title_zh": "第17话 武装犬VS.小爱"}, {"cid": "72209", "title": "第18話 貓之眼是N人⋯", "title_zh": "第18话 猫之眼是N人⋯"}, {"cid": "72211", "title": "第19話 希望時間就此停頓", "title_zh": "第19话 希望时间就此停顿"}, {"cid": "72212", "title": "第20話 只要10分鐘", "title_zh": "第20话 只要10分钟"}, {"cid": "72213", "title": "第21話 N人心海底針", "title_zh": "第21话 N人心海底针"}, {"cid": "72215", "title": "第23話 淺谷小姐鬧雙胞", "title_zh": "第23话 浅谷小姐闹双胞"}, {"cid": "72216", "title": "第24話 雪地裡的訪客", "title_zh": "第24话 雪地里的访客"}, {"cid": "72217", "title": "第25話 LITTLE HURRICANE", "title_zh": "第25话 LITTLE HURRICANE"}, {"cid": "72218", "title": "第26話 也來當小偷", "title_zh": "第26话 也来当小偷"}, {"cid": "72219", "title": "第27話 背對背的兩個人", "title_zh": "第27话 背对背的两个人"}, {"cid": "72220", "title": "第28話 喪失記憶", "title_zh": "第28话 丧失记忆"}, {"cid": "72222", "title": "第29話 小偷學入門", "title_zh": "第29话 小偷学入门"}, {"cid": "72223", "title": "第30話 人無完M", "title_zh": "第30话 人无完M"}, {"cid": "72224", "title": "第31話 追擊指紋!", "title_zh": "第31话 追击指纹!"}, {"cid": "72225", "title": "第32話 刑警咬到了小貓!", "title_zh": "第32话 刑警咬到了小猫!"}, {"cid": "72226", "title": "第33話 反向射擊烏龍刑警", "title_zh": "第33话 反向射击乌龙刑警"}, {"cid": "72227", "title": "第34話 鬼貓", "title_zh": "第34话 鬼猫"}, {"cid": "72228", "title": "第35話 功夫警探", "title_zh": "第35话 功夫警探"}, {"cid": "72229", "title": "第36話 魔術手", "title_zh": "第36话 魔术手"}, {"cid": "72230", "title": "第37話 三重衝擊!", "title_zh": "第37话 三重冲击!"}, {"cid": "72231", "title": "第38話 貓之眼是Q敵!", "title_zh": "第38话 猫之眼是Q敌!"}, {"cid": "72233", "title": "第39話 難為了警察!", "title_zh": "第39话 难为了警察!"}, {"cid": "72234", "title": "第40話 倒數計時的戀Q", "title_zh": "第40话 倒数计时的恋Q"}, {"cid": "72235", "title": "第41話 雨中追緝令", "title_zh": "第41话 雨中追缉令"}, {"cid": "72236", "title": "第42話 我的貼身保鑣", "title_zh": "第42话 我的贴身保镳"}, {"cid": "72237", "title": "第43話 多愁善感的小愛", "title_zh": "第43话 多愁善感的小爱"}, {"cid": "72238", "title": "第44話 紅SQ書", "title_zh": "第44话 红SQ书"}, {"cid": "72240", "title": "第46話 危險的目擊者", "title_zh": "第46话 危险的目击者"}, {"cid": "72241", "title": "第47話 追擊獨家新聞!", "title_zh": "第47话 追击独家新闻!"}, {"cid": "72242", "title": "第48話 煩人小惡魔", "title_zh": "第48话 烦人小恶魔"}, {"cid": "72243", "title": "第49話 不入虎穴焉得虎子", "title_zh": "第49话 不入虎穴焉得虎子"}, {"cid": "72245", "title": "第50話 最後一擊!", "title_zh": "第50话 最后一击!"}, {"cid": "72246", "title": "第51話 給風抱擁", "title_zh": "第51话 给风抱拥"}, {"cid": "72247", "title": "第52話 感受一下戀愛", "title_zh": "第52话 感受一下恋爱"}, {"cid": "72248", "title": "第53話 這也算失戀?", "title_zh": "第53话 这也算失恋?"}, {"cid": "72249", "title": "第54話 漂亮的逃脱", "title_zh": "第54话 漂亮的逃脱"}, {"cid": "72250", "title": "第55話 夢幻信差", "title_zh": "第55话 梦幻信差"}, {"cid": "72251", "title": "第56話 漸滅的靈魂", "title_zh": "第56话 渐灭的灵魂"}, {"cid": "72252", "title": "第57話 完M的約會", "title_zh": "第57话 完M的约会"}, {"cid": "72253", "title": "第58話 超級賭徒", "title_zh": "第58话 超级赌徒"}, {"cid": "72254", "title": "第59話 N神的目光", "title_zh": "第59话 N神的目光"}, {"cid": "72256", "title": "第60話 俄羅斯輪盤", "title_zh": "第60话 俄罗斯轮盘"}, {"cid": "72257", "title": "第61話 為了快樂日子", "title_zh": "第61话 为了快乐日子"}, {"cid": "72258", "title": "第62話 愛Q呀!求你不要走", "title_zh": "第62话 爱Q呀!求你不要走"}]};

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>