Back to discovery
TOUCH 鄰家美眉 完全版
Comic · 繁體中文

TOUCH 鄰家美眉 完全版

攣生兄弟與青梅竹馬之間細膩複雜的情愫,加上熱血棒球的青春物語, 經動畫、遊戲、電影、連續劇多次改編,最值得收藏的經典之作。 與努力一詞無緣的達也,以及非常努力的和也, 即便是差異如此大的兩人卻是雙胞胎兄弟, 所以老是讓人分不清楚誰是誰, 再加上住在隔壁的小南是個非常可愛的女孩, 這三個人的生活已經使人移不開視線了。 📚 作品資訊:作者 安達充 · 評分 10 · 共收錄 12 卷 / 247 話章節目錄與高清彩頁/條漫預覽。 📖 線上漫畫閱讀器:

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 TOUCH 鄰家美眉 完全版.

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 TOUCH 鄰家美眉 完全版

10 available images.

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

漫画简介与全卷章节目录

【TOUCH 邻家美眉 完全版(TOUCH 鄰家美眉 完全版)· 漫画导览与全卷目录】

作者:安达充

评分:10

标签:校园 / 日常 / 竞技 / 恋爱 / 励志 / 青梅竹马 / 温馨 / 校园青春

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

■ 剧情简介:

挛生兄弟与青梅竹马之间细腻复杂的情愫,加上热血棒球的青春物语,

经动画、游戏、电影、连续剧多次改编,最值得收藏的经典之作。

与努力一词无缘的达也,以及非常努力的和也,

即便是差异如此大的两人却是双胞胎兄弟,

所以老是让人分不清楚谁是谁,

再加上住在隔壁的小南是个非常可爱的女孩,

这三个人的生活已经使人移不开视线了。

📚 作品信息:作者 安达充 · 评分 10 · 共收录 12 卷 / 247 话章节目录与高清彩页/条漫预览。

■ 收录分卷(共 12 卷):

• TOUCH 邻家美眉 完全版 1

• TOUCH 邻家美眉 完全版 2

• TOUCH 邻家美眉 完全版 3

• TOUCH 邻家美眉 完全版 4

• TOUCH 邻家美眉 完全版 5

• TOUCH 邻家美眉 完全版 6

• TOUCH 邻家美眉 完全版 7

• TOUCH 邻家美眉 完全版 8

• TOUCH 邻家美眉 完全版 9

• TOUCH 邻家美眉 完全版 10

• TOUCH 邻家美眉 完全版 11

• TOUCH 邻家美眉 完全版 12

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

• 1 阿达与小和

• 2 不过是儿时玩伴

• 3 自作自受

• 4 才华洋溢

• 5 王牌果然是和也

• 6 N悻的直觉

• 7 咦! 骗人的吧?

• 8 不是不报,时候未到。

• 9 达也?和也?

• 10 小南的推荐

• 11 看了吗?还是没有看?

• 12 交棒接棒

• 13 小南的特别服务

• 14 名犬胖击

• 15 谣言,不过是谣言。

• 16 只有父母不知道

• 17 指定代打,达也。

• 18 无谓的努力

• 19 不管是谁都可以

• 20 哇!不得了啦!

• 21 达也燃烧了

• 1 既然谁都可以的话

• 3 谁是坏孩子

• 4 什么跟什么啊

• 5 达也!千钧一发

• 6 孝太郎加油!

• 7 原田是个大帅哥

• 8 今年没问题

• 9 虽然上了高中

• 10 也该做决定了

• 11 为了小南

• 12 小南的日记里

• 13 急救箱是必要的

• 14 擅自的想像

• 15 如果这样的话

• 16 更好的一对

• 17 达也变了

• 18 所谓的真相

• 19 和也的想法

• 20 心意相通的两个人

• 21 体贴的谎言

• 22 打勾勾

• 1 因为是小南的加油

• 2 因为是温柔的N孩子

• 3 咦!

• 5 眼中只有甲子园

• 6 努力与期待

• 7 一生的回忆

• 8 小和的手套

• 9 是认真的

• 10 比赛开始

• 11 精采绝伦的投手战

• 12 寺岛的执著

• 13 背水一战

• 14 还有一个人

• 15 双胞胎的王子

• 16 普通的梦想

• 17 如果明天获胜的话

• 18 所以

• 19 恋爱传接球

• 20 加油,和也。

• 21 投手黑木

• 22 和也到哪去了

• 1 比赛结束之后

• 2 很像假的吧

• 3 哭了唷

• 4 走啰,胖击。

• 5 没用的

• 7 备受期待

• 8 交给我吧

• 9 哼

• 10 达也就是达也

• 11 小南一定没问题

• 12 阿达,再见!

• 13 小南深信著

• 14 刚那球不会错的

• 15 眼上有伤痕的男子

• 16 那是五百日圆耶

• 17 总之先尽力而为

• 18 小南是天才

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

# TOUCH 邻家美眉 完全版 · 首章高清画页连载预览

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

![TOUCH 邻家美眉 完全版 - 第 1 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_01.jpg)

![TOUCH 邻家美眉 完全版 - 第 2 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_02.jpg)

![TOUCH 邻家美眉 完全版 - 第 3 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_03.jpg)

![TOUCH 邻家美眉 完全版 - 第 4 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_04.jpg)

![TOUCH 邻家美眉 完全版 - 第 5 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_05.jpg)

![TOUCH 邻家美眉 完全版 - 第 6 页](https://media.huangguodrama.ai/motion/comics/bilimanga-1008/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>TOUCH 邻家美眉 完全版 - 在线漫画阅读器</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-1008", "mangaid": "1008", "zh_title": "TOUCH 邻家美眉 完全版", "hant_title": "TOUCH 鄰家美眉 完全版", "en_title": "TOUCH 邻家美眉 完全版 (Bilimanga #1008)", "author": "安达充", "tags": ["校园", "日常", "竞技", "恋爱", "励志", "青梅竹马", "温馨", "校园青春"], "zh_desc": "挛生兄弟与青梅竹马之间细腻复杂的情愫,加上热血棒球的青春物语,\n\r\n经动画、游戏、电影、连续剧多次改编,最值得收藏的经典之作。\n\r\n\n\r\n与努力一词无缘的达也,以及非常努力的和也,\n\r\n即便是差异如此大的两人却是双胞胎兄弟,\n\r\n所以老是让人分不清楚谁是谁,\n\r\n再加上住在隔壁的小南是个非常可爱的女孩,\n\r\n这三个人的生活已经使人移不开视线了。\n\n📚 作品信息:作者 安达充 · 评分 10 · 共收录 12 卷 / 247 话章节目录与高清彩页/条漫预览。", "hant_desc": "攣生兄弟與青梅竹馬之間細膩複雜的情愫,加上熱血棒球的青春物語,\n\r\n經動畫、遊戲、電影、連續劇多次改編,最值得收藏的經典之作。\n\r\n\n\r\n與努力一詞無緣的達也,以及非常努力的和也,\n\r\n即便是差異如此大的兩人卻是雙胞胎兄弟,\n\r\n所以老是讓人分不清楚誰是誰,\n\r\n再加上住在隔壁的小南是個非常可愛的女孩,\n\r\n這三個人的生活已經使人移不開視線了。\n\n📚 作品資訊:作者 安達充 · 評分 10 · 共收錄 12 卷 / 247 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga 'TOUCH 邻家美眉 完全版' (TOUCH 鄰家美眉 完全版) by 安达充. Includes 12 volumes and 247 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1008/page_06.jpg"], "volumes": [{"title_hant": "TOUCH 鄰家美眉 完全版 1", "title_zh": "TOUCH 邻家美眉 完全版 1", "cover_id": 1787753, "first_chap_id": 82805, "cover_url": "https://i.motiezw.com/cover/1008/1787753.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 2", "title_zh": "TOUCH 邻家美眉 完全版 2", "cover_id": 1788347, "first_chap_id": 82833, "cover_url": "https://i.motiezw.com/cover/1008/1788347.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 3", "title_zh": "TOUCH 邻家美眉 完全版 3", "cover_id": 1789137, "first_chap_id": 82868, "cover_url": "https://i.motiezw.com/cover/1008/1789137.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 4", "title_zh": "TOUCH 邻家美眉 完全版 4", "cover_id": 1789541, "first_chap_id": 82891, "cover_url": "https://i.motiezw.com/cover/1008/1789541.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 5", "title_zh": "TOUCH 邻家美眉 完全版 5", "cover_id": 1790132, "first_chap_id": 82920, "cover_url": "https://i.motiezw.com/cover/1008/1790132.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 6", "title_zh": "TOUCH 邻家美眉 完全版 6", "cover_id": 1790539, "first_chap_id": 82943, "cover_url": "https://i.motiezw.com/cover/1008/1790539.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 7", "title_zh": "TOUCH 邻家美眉 完全版 7", "cover_id": 1790943, "first_chap_id": 82966, "cover_url": "https://i.motiezw.com/cover/1008/1790943.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 8", "title_zh": "TOUCH 邻家美眉 完全版 8", "cover_id": 1791331, "first_chap_id": 82988, "cover_url": "https://i.motiezw.com/cover/1008/1791331.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 9", "title_zh": "TOUCH 邻家美眉 完全版 9", "cover_id": 1791722, "first_chap_id": 83009, "cover_url": "https://i.motiezw.com/cover/1008/1791722.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 10", "title_zh": "TOUCH 邻家美眉 完全版 10", "cover_id": 1792125, "first_chap_id": 83032, "cover_url": "https://i.motiezw.com/cover/1008/1792125.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 11", "title_zh": "TOUCH 邻家美眉 完全版 11", "cover_id": 1792522, "first_chap_id": 83054, "cover_url": "https://i.motiezw.com/cover/1008/1792522.jpg"}, {"title_hant": "TOUCH 鄰家美眉 完全版 12", "title_zh": "TOUCH 邻家美眉 完全版 12", "cover_id": 1792906, "first_chap_id": 83076, "cover_url": "https://i.motiezw.com/cover/1008/1792906.jpg"}], "chapters": [{"cid": "82805", "title": "1 阿達與小和", "title_zh": "1 阿达与小和"}, {"cid": "82806", "title": "2 不過是兒時玩伴", "title_zh": "2 不过是儿时玩伴"}, {"cid": "82807", "title": "3 自作自受", "title_zh": "3 自作自受"}, {"cid": "82808", "title": "4 才華洋溢", "title_zh": "4 才华洋溢"}, {"cid": "82809", "title": "5 王牌果然是和也", "title_zh": "5 王牌果然是和也"}, {"cid": "82810", "title": "6 N悻的直覺", "title_zh": "6 N悻的直觉"}, {"cid": "82811", "title": "7 咦! 騙人的吧?", "title_zh": "7 咦! 骗人的吧?"}, {"cid": "82812", "title": "8 不是不報,時候未到。", "title_zh": "8 不是不报,时候未到。"}, {"cid": "82813", "title": "9 達也?和也?", "title_zh": "9 达也?和也?"}, {"cid": "82814", "title": "10 小南的推薦", "title_zh": "10 小南的推荐"}, {"cid": "82815", "title": "11 看了嗎?還是没有看?", "title_zh": "11 看了吗?还是没有看?"}, {"cid": "82816", "title": "12 交棒接棒", "title_zh": "12 交棒接棒"}, {"cid": "82817", "title": "13 小南的特別服務", "title_zh": "13 小南的特别服务"}, {"cid": "82818", "title": "14 名犬胖擊", "title_zh": "14 名犬胖击"}, {"cid": "82819", "title": "15 謠言,不過是謠言。", "title_zh": "15 谣言,不过是谣言。"}, {"cid": "82820", "title": "16 只有父母不知道", "title_zh": "16 只有父母不知道"}, {"cid": "82821", "title": "17 指定代打,達也。", "title_zh": "17 指定代打,达也。"}, {"cid": "82822", "title": "18 無謂的努力", "title_zh": "18 无谓的努力"}, {"cid": "82823", "title": "19 不管是誰都可以", "title_zh": "19 不管是谁都可以"}, {"cid": "82824", "title": "20 哇!不得了啦!", "title_zh": "20 哇!不得了啦!"}, {"cid": "82825", "title": "21 達也燃燒了", "title_zh": "21 达也燃烧了"}, {"cid": "82833", "title": "1 既然誰都可以的話", "title_zh": "1 既然谁都可以的话"}, {"cid": "82835", "title": "3 誰是壞孩子", "title_zh": "3 谁是坏孩子"}, {"cid": "82836", "title": "4 什麽跟什麽啊", "title_zh": "4 什么跟什么啊"}, {"cid": "82837", "title": "5 達也!千鈞一髮", "title_zh": "5 达也!千钧一发"}, {"cid": "82838", "title": "6 孝太郎加油!", "title_zh": "6 孝太郎加油!"}, {"cid": "82839", "title": "7 原田是個大帥哥", "title_zh": "7 原田是个大帅哥"}, {"cid": "82840", "title": "8 今年沒問題", "title_zh": "8 今年没问题"}, {"cid": "82842", "title": "9 雖然上了高中", "title_zh": "9 虽然上了高中"}, {"cid": "82843", "title": "10 也該做決定了", "title_zh": "10 也该做决定了"}, {"cid": "82844", "title": "11 為了小南", "title_zh": "11 为了小南"}, {"cid": "82845", "title": "12 小南的日記裡", "title_zh": "12 小南的日记里"}, {"cid": "82846", "title": "13 急救箱是必要的", "title_zh": "13 急救箱是必要的"}, {"cid": "82847", "title": "14 擅自的想像", "title_zh": "14 擅自的想像"}, {"cid": "82848", "title": "15 如果這樣的話", "title_zh": "15 如果这样的话"}, {"cid": "82849", "title": "16 更好的一對", "title_zh": "16 更好的一对"}, {"cid": "82850", "title": "17 達也變了", "title_zh": "17 达也变了"}, {"cid": "82852", "title": "18 所謂的真相", "title_zh": "18 所谓的真相"}, {"cid": "82854", "title": "19 和也的想法", "title_zh": "19 和也的想法"}, {"cid": "82856", "title": "20 心意相通的兩個人", "title_zh": "20 心意相通的两个人"}, {"cid": "82858", "title": "21 體貼的謊言", "title_zh": "21 体贴的谎言"}, {"cid": "82860", "title": "22 打勾勾", "title_zh": "22 打勾勾"}, {"cid": "82868", "title": "1 因為是小南的加油", "title_zh": "1 因为是小南的加油"}, {"cid": "82869", "title": "2 因為是溫柔的N孩子", "title_zh": "2 因为是温柔的N孩子"}, {"cid": "82870", "title": "3 咦!", "title_zh": "3 咦!"}, {"cid": "82872", "title": "5 眼中只有甲子園", "title_zh": "5 眼中只有甲子园"}, {"cid": "82873", "title": "6 努力與期待", "title_zh": "6 努力与期待"}, {"cid": "82874", "title": "7 一生的回憶", "title_zh": "7 一生的回忆"}, {"cid": "82875", "title": "8 小和的手套", "title_zh": "8 小和的手套"}, {"cid": "82876", "title": "9 是認真的", "title_zh": "9 是认真的"}, {"cid": "82877", "title": "10 比賽開始", "title_zh": "10 比赛开始"}, {"cid": "82878", "title": "11 精采絕倫的投手戰", "title_zh": "11 精采绝伦的投手战"}, {"cid": "82879", "title": "12 寺島的執著", "title_zh": "12 寺岛的执著"}, {"cid": "82880", "title": "13 背水一戰", "title_zh": "13 背水一战"}, {"cid": "82881", "title": "14 還有一個人", "title_zh": "14 还有一个人"}, {"cid": "82882", "title": "15 雙胞胎的王子", "title_zh": "15 双胞胎的王子"}, {"cid": "82883", "title": "16 普通的夢想", "title_zh": "16 普通的梦想"}, {"cid": "82884", "title": "17 如果明天獲勝的話", "title_zh": "17 如果明天获胜的话"}, {"cid": "82885", "title": "18 所以", "title_zh": "18 所以"}, {"cid": "82886", "title": "19 戀愛傳接球", "title_zh": "19 恋爱传接球"}]};

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>