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>OVERLORD 不死者之Oh! - 在线漫画阅读器</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-1223", "mangaid": "1223", "zh_title": "OVERLORD 不死者之Oh!", "hant_title": "OVERLORD 不死者之Oh!", "en_title": "OVERLORD 不死者之Oh! (Bilimanga #1223)", "author": "じゅうあみ / 丸山くがね / so-bin", "tags": ["异世界", "欢乐", "日常", "人外", "奇幻冒险", "日本漫画", "漫画", "日漫"], "zh_desc": "官方衍生四格喜剧诞生!还收录了丸山くがね特别全新撰写的小说!\n\r\n\n\r\n重视各种小梗,反复咀嚼、津津有味享用的官方衍生作品诞生!并收录丸山くがね特别撰写的全新小说!\n\r\n可尽情欣赏奇才・じゅうあみ带来的顶级搞笑作品,如《不能笑的纳萨力克地下大坟墓24小时》等。\n\n📚 作品信息:作者 じゅうあみ / 丸山くがね / so-bin · 评分 10 · 共收录 13 卷 / 85 话章节目录与高清彩页/条漫预览。", "hant_desc": "官方衍生四格喜劇誕生!還收錄了丸山くがね特別全新撰寫的小說!\n\r\n\n\r\n重視各種小梗,反復咀嚼、津津有味享用的官方衍生作品誕生!並收錄丸山くがね特別撰寫的全新小說!\n\r\n可盡情欣賞奇才・じゅうあみ帶來的頂級搞笑作品,如《不能笑的納薩力克地下大墳墓24小時》等。\n\n📚 作品資訊:作者 じゅうあみ / 丸山くがね / so-bin · 評分 10 · 共收錄 13 卷 / 85 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga 'OVERLORD 不死者之Oh!' (OVERLORD 不死者之Oh!) by じゅうあみ / 丸山くがね / so-bin. Includes 13 volumes and 85 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1223/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1223/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1223/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1223/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1223/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1223/page_06.jpg"], "volumes": [{"title_hant": "OVERLORD 不死者之Oh! 1", "title_zh": "OVERLORD 不死者之Oh! 1", "cover_id": 2203795, "first_chap_id": 102071, "cover_url": "https://i.motiezw.com/cover/1223/2203795.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 2", "title_zh": "OVERLORD 不死者之Oh! 2", "cover_id": 2203942, "first_chap_id": 102079, "cover_url": "https://i.motiezw.com/cover/1223/2203942.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 3", "title_zh": "OVERLORD 不死者之Oh! 3", "cover_id": 2204073, "first_chap_id": 102087, "cover_url": "https://i.motiezw.com/cover/1223/2204073.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 4", "title_zh": "OVERLORD 不死者之Oh! 4", "cover_id": 2204204, "first_chap_id": 102095, "cover_url": "https://i.motiezw.com/cover/1223/2204204.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 5", "title_zh": "OVERLORD 不死者之Oh! 5", "cover_id": 2204335, "first_chap_id": 102103, "cover_url": "https://i.motiezw.com/cover/1223/2204335.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 6", "title_zh": "OVERLORD 不死者之Oh! 6", "cover_id": 2204466, "first_chap_id": 102111, "cover_url": "https://i.motiezw.com/cover/1223/2204466.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 7", "title_zh": "OVERLORD 不死者之Oh! 7", "cover_id": 2204601, "first_chap_id": 102120, "cover_url": "https://i.motiezw.com/cover/1223/2204601.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 8", "title_zh": "OVERLORD 不死者之Oh! 8", "cover_id": 2204736, "first_chap_id": 102128, "cover_url": "https://i.motiezw.com/cover/1223/2204736.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 9", "title_zh": "OVERLORD 不死者之Oh! 9", "cover_id": 2204871, "first_chap_id": 102135, "cover_url": "https://i.motiezw.com/cover/1223/2204871.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 10", "title_zh": "OVERLORD 不死者之Oh! 10", "cover_id": 2205034, "first_chap_id": 102144, "cover_url": "https://i.motiezw.com/cover/1223/2205034.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 11", "title_zh": "OVERLORD 不死者之Oh! 11", "cover_id": 2205141, "first_chap_id": 102150, "cover_url": "https://i.motiezw.com/cover/1223/2205141.jpg"}, {"title_hant": "OVERLORD 不死者之Oh! 12", "title_zh": "OVERLORD 不死者之Oh! 12", "cover_id": 2205276, "first_chap_id": 102157, "cover_url": "https://i.motiezw.com/cover/1223/2205276.jpg"}], "chapters": [{"cid": "102071", "title": "第1話 納薩力克大運動會", "title_zh": "第1话 纳萨力克大运动会"}, {"cid": "102072", "title": "第2話 不准笑的納薩力克地下大墳墓24小時", "title_zh": "第2话 不准笑的纳萨力克地下大坟墓24小时"}, {"cid": "102073", "title": "第3話 納薩力克劇團~白雪公主~", "title_zh": "第3话 纳萨力克剧团~白雪公主~"}, {"cid": "102074", "title": "第4話 由莉老師的青空鐵拳教室", "title_zh": "第4话 由莉老师的青空铁拳教室"}, {"cid": "102075", "title": "第5話 納薩力克狼人", "title_zh": "第5话 纳萨力克狼人"}, {"cid": "102076", "title": "第6話 來思考外傳四格漫畫要用什麼標題吧", "title_zh": "第6话 来思考外传四格漫画要用什么标题吧"}, {"cid": "102077", "title": "特別執筆短篇故事 安茲的野心", "title_zh": "特别执笔短篇故事 安兹的野心"}, {"cid": "102079", "title": "第7話 大量殺戮兵器 殺死〇〇服", "title_zh": "第7话 大量杀戮兵器 杀死〇〇服"}, {"cid": "102080", "title": "第8話 合同誌《心愛的♥︎安茲大人》", "title_zh": "第8话 合同志《心爱的♥︎安兹大人》"}, {"cid": "102081", "title": "第9話 安茲大人,教教我吧!看漫畫學諺語", "title_zh": "第9话 安兹大人,教教我吧!看漫画学谚语"}, {"cid": "102082", "title": "第10話 倉助的配對", "title_zh": "第10话 仓助的配对"}, {"cid": "102083", "title": "第11-1話 昂宿星團的主推S", "title_zh": "第11-1话 昂宿星团的主推S"}, {"cid": "102084", "title": "第11-2話 角S扮演~無上至尊的遊戲~", "title_zh": "第11-2话 角S扮演~无上至尊的游戏~"}, {"cid": "102085", "title": "第12話 來思考電視動畫的第二季片尾曲吧", "title_zh": "第12话 来思考电视动画的第二季片尾曲吧"}, {"cid": "102087", "title": "第13話 來設計帥氣的制服吧", "title_zh": "第13话 来设计帅气的制服吧"}, {"cid": "102088", "title": "第14話 頂上決戰@第九階層和室", "title_zh": "第14话 顶上决战@第九阶层和室"}, {"cid": "102089", "title": "第15-1話 N兒駑造物主", "title_zh": "第15-1话 N儿驽造物主"}, {"cid": "102090", "title": "第15-2話 想學好支配者的語氣真正不簡單", "title_zh": "第15-2话 想学好支配者的语气真正不简单"}, {"cid": "102091", "title": "第16話 昴宿星團N僕咖啡廳", "title_zh": "第16话 昴宿星团N仆咖啡厅"}, {"cid": "102092", "title": "第17話 食記道場", "title_zh": "第17话 食记道场"}, {"cid": "102093", "title": "第18話 有棒球的動畫就是名作", "title_zh": "第18话 有棒球的动画就是名作"}, {"cid": "102095", "title": "第19話 來製作精靈馬吧", "title_zh": "第19话 来制作精灵马吧"}, {"cid": "102096", "title": "第20-1話 來製作佩〇〇奇諾吧", "title_zh": "第20-1话 来制作佩〇〇奇诺吧"}, {"cid": "102097", "title": "第20-2話 要是進到了遊戲裡頭的話", "title_zh": "第20-2话 要是进到了游戏里头的话"}, {"cid": "102098", "title": "第21話 STEP MOTHER", "title_zh": "第21话 STEP MOTHER"}, {"cid": "102099", "title": "第22話 6位聰明的昴宿星團", "title_zh": "第22话 6位聪明的昴宿星团"}, {"cid": "102100", "title": "第23話 新手作家馬雷弟弟", "title_zh": "第23话 新手作家马雷弟弟"}, {"cid": "102101", "title": "第24話 愉快的 OVERMASS 預測", "title_zh": "第24话 愉快的 OVERMASS 预测"}, {"cid": "102103", "title": "第25話 安茲大人,教教我吧!看漫畫學成語", "title_zh": "第25话 安兹大人,教教我吧!看漫画学成语"}, {"cid": "102104", "title": "第26話 納薩力克百物語", "title_zh": "第26话 纳萨力克百物语"}, {"cid": "102105", "title": "第27-1話 在寶物殿將死對手", "title_zh": "第27-1话 在宝物殿将死对手"}, {"cid": "102106", "title": "第27-2話 說來聽聽吧!膠內配音陣容", "title_zh": "第27-2话 说来听听吧!胶内配音阵容"}, {"cid": "102107", "title": "第28話 希絲的一日N僕長體驗記", "title_zh": "第28话 希丝的一日N仆长体验记"}, {"cid": "102108", "title": "第29話 納薩力克劇團~拉怪物語~", "title_zh": "第29话 纳萨力克剧团~拉怪物语~"}, {"cid": "102109", "title": "第30話 妄想!真人版 OVERLORD", "title_zh": "第30话 妄想!真人版 OVERLORD"}, {"cid": "102111", "title": "第31話 夏提雅與生前葬禮", "title_zh": "第31话 夏提雅与生前葬礼"}, {"cid": "102112", "title": "第32-1話 嚴正審查大面具競選", "title_zh": "第32-1话 严正审查大面具竞选"}, {"cid": "102113", "title": "第32-2話 至高的猜謎時間", "title_zh": "第32-2话 至高的猜谜时间"}, {"cid": "102114", "title": "第33話 尼羅媽媽桑的煩惱商量", "title_zh": "第33话 尼罗妈妈桑的烦恼商量"}, {"cid": "102115", "title": "第34話 尋找吧!活用兌幣箱的技巧", "title_zh": "第34话 寻找吧!活用兑币箱的技巧"}, {"cid": "102116", "title": "第35話 試吃會 of Sushi", "title_zh": "第35话 试吃会 of Sushi"}, {"cid": "102117", "title": "第36話 衍生作品與距離感", "title_zh": "第36话 衍生作品与距离感"}, {"cid": "102118", "title": "番外篇 猜猜箱子裡的東西是什麼遊戲", "title_zh": "番外篇 猜猜箱子里的东西是什么游戏"}, {"cid": "102120", "title": "第37話 徵底扮演!評萬聖節!", "title_zh": "第37话 征底扮演!评万圣节!"}, {"cid": "102121", "title": "第38話 誰才是姊姊戰鬥", "title_zh": "第38话 谁才是姊姊战斗"}, {"cid": "102122", "title": "第39話 不思議之國的馬雷", "title_zh": "第39话 不思议之国的马雷"}, {"cid": "102123", "title": "第40話 關於雙角獸的認真思考", "title_zh": "第40话 关于双角兽的认真思考"}, {"cid": "102124", "title": "第41-1話 至高的時尚秀", "title_zh": "第41-1话 至高的时尚秀"}, {"cid": "102125", "title": "第41-2話 死靈大人與倉助", "title_zh": "第41-2话 死灵大人与仓助"}, {"cid": "102126", "title": "第42話 目標!科塞特斯主角篇!", "title_zh": "第42话 目标!科塞特斯主角篇!"}, {"cid": "102128", "title": "第43話 靈光一閃大機智解謎大吸血鬼", "title_zh": "第43话 灵光一闪大机智解谜大吸血鬼"}, {"cid": "102129", "title": "第44話 Ainz Ooal Gown Time", "title_zh": "第44话 Ainz Ooal Gown Time"}, {"cid": "102130", "title": "第45話 Quiz S納薩力克", "title_zh": "第45话 Quiz S纳萨力克"}, {"cid": "102131", "title": "第46話 至尊的修學旅行", "title_zh": "第46话 至尊的修学旅行"}, {"cid": "102132", "title": "第47話 來當異形種吧", "title_zh": "第47话 来当异形种吧"}, {"cid": "102133", "title": "第48話 場外亂鬥!OVERMASS 聯名活動", "title_zh": "第48话 场外乱斗!OVERMASS 联名活动"}, {"cid": "102135", "title": "第49話 最強支配者穿搭術", "title_zh": "第49话 最强支配者穿搭术"}, {"cid": "102136", "title": "第50話 納薩力匹克競技選定", "title_zh": "第50话 纳萨力匹克竞技选定"}, {"cid": "102137", "title": "第51-1話 至尊大小雄", "title_zh": "第51-1话 至尊大小雄"}, {"cid": "102138", "title": "第51-2話 没有去買衣服時能穿的衣服", "title_zh": "第51-2话 没有去买衣服时能穿的衣服"}]};
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>