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-1180", "mangaid": "1180", "zh_title": "请问您今天要来点兔子吗?", "hant_title": "請問您今天要來點兔子嗎?", "en_title": "请问您今天要来点兔子吗? (Bilimanga #1180)", "author": "Koi", "tags": ["日常", "治愈", "萌系", "欢乐", "美食", "治愈温馨", "日本漫画", "漫画"], "zh_desc": "「兔子~兔子~」天真地边这么唱著歌,\n\r\n边为了高中入学寻找著寄宿地点而迷路的心爱,\n\r\n意外发现了一间名叫「Rabbit House」的咖啡店。\n\r\n\n\r\n当心爱一边喝著咖啡,一边询问地点时,\n\r\n才发现原来这里就是自己正在寻找的寄宿之家。\n\r\n由于心爱就读的高中规定,必须帮忙寄宿的家庭工作以当作借住的报答。\n\r\n于是心爱便自称是智乃的姊姊,成为了「Rabbit House」的店员,展开一段新生活。\n\r\n\n\r\n心爱在店里所遇到的女孩子们,除了又酷又小只的智乃,\n\r\n还有军人气质的理世、沉稳中带有日式气息的千夜,以及庶民派纱路。\n\r\n毛茸茸软绵绵的兔子与女孩子们,为您献上从各个角度看来都百分百可爱的有趣故事!\n\n📚 作品信息:作者 Koi · 评分 10 · 共收录 13 卷 / 158 话章节目录与高清彩页/条漫预览。", "hant_desc": "「兔子~兔子~」天真地邊這麼唱著歌,\n\r\n邊為了高中入學尋找著寄宿地點而迷路的心愛,\n\r\n意外發現了一間名叫「Rabbit House」的咖啡店。\n\r\n\n\r\n當心愛一邊喝著咖啡,一邊詢問地點時,\n\r\n才發現原來這裡就是自己正在尋找的寄宿之家。\n\r\n由於心愛就讀的高中規定,必須幫忙寄宿的家庭工作以當作借住的報答。\n\r\n於是心愛便自稱是智乃的姊姊,成為了「Rabbit House」的店員,展開一段新生活。\n\r\n\n\r\n心愛在店裡所遇到的女孩子們,除了又酷又小隻的智乃,\n\r\n還有軍人氣質的理世、沉穩中帶有日式氣息的千夜,以及庶民派紗路。\n\r\n毛茸茸軟綿綿的兔子與女孩子們,為您獻上從各個角度看來都百分百可愛的有趣故事!\n\n📚 作品資訊:作者 Koi · 評分 10 · 共收錄 13 卷 / 158 話章節目錄與高清彩頁/條漫預覽。", "en_desc": "Popular serialized manga '请问您今天要来点兔子吗?' (請問您今天要來點兔子嗎?) by Koi. Includes 13 volumes and 158 chapters with full online vertical/page-flip web reader.", "pages": ["https://media.huangguodrama.ai/motion/comics/bilimanga-1180/page_01.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1180/page_02.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1180/page_03.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1180/page_04.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1180/page_05.jpg", "https://media.huangguodrama.ai/motion/comics/bilimanga-1180/page_06.jpg"], "volumes": [{"title_hant": "請問您今天要來點兔子嗎? 1", "title_zh": "请问您今天要来点兔子吗? 1", "cover_id": 2129463, "first_chap_id": 98873, "cover_url": "https://i.motiezw.com/cover/1180/2129463.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 2", "title_zh": "请问您今天要来点兔子吗? 2", "cover_id": 2129587, "first_chap_id": 98887, "cover_url": "https://i.motiezw.com/cover/1180/2129587.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 3", "title_zh": "请问您今天要来点兔子吗? 3", "cover_id": 2129710, "first_chap_id": 98901, "cover_url": "https://i.motiezw.com/cover/1180/2129710.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 4", "title_zh": "请问您今天要来点兔子吗? 4", "cover_id": 2129833, "first_chap_id": 98915, "cover_url": "https://i.motiezw.com/cover/1180/2129833.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 5", "title_zh": "请问您今天要来点兔子吗? 5", "cover_id": 2129958, "first_chap_id": 98930, "cover_url": "https://i.motiezw.com/cover/1180/2129958.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 6", "title_zh": "请问您今天要来点兔子吗? 6", "cover_id": 2130082, "first_chap_id": 98944, "cover_url": "https://i.motiezw.com/cover/1180/2130082.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 7", "title_zh": "请问您今天要来点兔子吗? 7", "cover_id": 2130208, "first_chap_id": 98958, "cover_url": "https://i.motiezw.com/cover/1180/2130208.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 8", "title_zh": "请问您今天要来点兔子吗? 8", "cover_id": 2130333, "first_chap_id": 98972, "cover_url": "https://i.motiezw.com/cover/1180/2130333.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 9", "title_zh": "请问您今天要来点兔子吗? 9", "cover_id": 2130460, "first_chap_id": 98986, "cover_url": "https://i.motiezw.com/cover/1180/2130460.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 10", "title_zh": "请问您今天要来点兔子吗? 10", "cover_id": 2130590, "first_chap_id": 99000, "cover_url": "https://i.motiezw.com/cover/1180/2130590.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 11", "title_zh": "请问您今天要来点兔子吗? 11", "cover_id": 2130713, "first_chap_id": 99014, "cover_url": "https://i.motiezw.com/cover/1180/2130713.jpg"}, {"title_hant": "請問您今天要來點兔子嗎? 12", "title_zh": "请问您今天要来点兔子吗? 12", "cover_id": 2654527, "first_chap_id": 121729, "cover_url": "https://i.motiezw.com/cover/1180/2654527.jpg"}], "chapters": [{"cid": "98873", "title": "第1話 心愛來襲", "title_zh": "第1话 心爱来袭"}, {"cid": "98874", "title": "第2話 願意出價一億圓買我畫作的老爺爺來了,由於覺得很困擾,就把他趕走了。", "title_zh": "第2话 愿意出价一亿圆买我画作的老爷爷来了,由于觉得很困扰,就把他赶走了。"}, {"cid": "98875", "title": "第3話 迷宮街道", "title_zh": "第3话 迷宫街道"}, {"cid": "98876", "title": "第4話 提比不能用火烤", "title_zh": "第4话 提比不能用火烤"}, {"cid": "98877", "title": "第5話 千夜的地盤", "title_zh": "第5话 千夜的地盘"}, {"cid": "98878", "title": "第6話 結果買了什麼樣的杯子呢?", "title_zh": "第6话 结果买了什么样的杯子呢?"}, {"cid": "98879", "title": "第7話 我第一次單獨潛入是在阿拉斯加,那個時候才7歲⋯", "title_zh": "第7话 我第一次单独潜入是在阿拉斯加,那个时候才7岁⋯"}, {"cid": "98880", "title": "第8話 要住在我家就必須遵守我的規定", "title_zh": "第8话 要住在我家就必须遵守我的规定"}, {"cid": "98881", "title": "第9話 我也是有著自己的煩惱", "title_zh": "第9话 我也是有著自己的烦恼"}, {"cid": "98882", "title": "第10話 明治維新是什麼?要問相對論的話,我能說明給妳聽。", "title_zh": "第10话 明治维新是什么?要问相对论的话,我能说明给妳听。"}, {"cid": "98883", "title": "第11話 心愛Counter", "title_zh": "第11话 心爱Counter"}, {"cid": "98884", "title": "第12話 我曾經揹著武器渡河,不過是效法父親的部下。", "title_zh": "第12话 我曾经揹著武器渡河,不过是效法父亲的部下。"}, {"cid": "98885", "title": "第13話 回到出發點", "title_zh": "第13话 回到出发点"}, {"cid": "98887", "title": "第1話 老夫也常常被笑呀,就像是妳這種瞧不起人般的嘲笑", "title_zh": "第1话 老夫也常常被笑呀,就像是妳这种瞧不起人般的嘲笑"}, {"cid": "98888", "title": "第2話 心愛與無惡意殺意", "title_zh": "第2话 心爱与无恶意杀意"}, {"cid": "98889", "title": "第3話 一瞬間產生了將牙膏混進麵包裡的想法,但察覺到這是褻瀆麵包而放棄的自稱姊姊之人", "title_zh": "第3话 一瞬间产生了将牙膏混进面包里的想法,但察觉到这是亵渎面包而放弃的自称姊姊之人"}, {"cid": "98890", "title": "第4話 槍與葡萄酒", "title_zh": "第4话 枪与葡萄酒"}, {"cid": "98891", "title": "第5話 和菓子之道還見不到高山之頂", "title_zh": "第5话 和菓子之道还见不到高山之顶"}, {"cid": "98892", "title": "第6話 話中有話", "title_zh": "第6话 话中有话"}, {"cid": "98893", "title": "第7話 今天是妹妹增加紀念日", "title_zh": "第7话 今天是妹妹增加纪念日"}, {"cid": "98894", "title": "第8話 給驢先生:歡迎光臨!", "title_zh": "第8话 给驴先生:欢迎光临!"}, {"cid": "98895", "title": "第9話 目標為日日皆是紀念日", "title_zh": "第9话 目标为日日皆是纪念日"}, {"cid": "98897", "title": "第11話 心愛,妳該不會有當電影N演員也不錯的想法吧", "title_zh": "第11话 心爱,妳该不会有当电影N演员也不错的想法吧"}, {"cid": "98898", "title": "第12話 青山低潮之山", "title_zh": "第12话 青山低潮之山"}, {"cid": "98899", "title": "第13話 我中了想被喊姊姊之毒", "title_zh": "第13话 我中了想被喊姊姊之毒"}, {"cid": "98901", "title": "第1話 木造小鎮飆速少N傳說·心愛", "title_zh": "第1话 木造小镇飙速少N传说·心爱"}, {"cid": "98902", "title": "第2話 Pattun Horizon", "title_zh": "第2话 Pattun Horizon"}, {"cid": "98903", "title": "第3話 妹妹咖啡廳(現在還能夠用加購價讓她幫忙寫功課)", "title_zh": "第3话 妹妹咖啡厅(现在还能够用加购价让她帮忙写功课)"}, {"cid": "98904", "title": "第4話 看到那件制服的我腦袋,有如剛洗好的襯衫般一片空白", "title_zh": "第4话 看到那件制服的我脑袋,有如刚洗好的衬衫般一片空白"}, {"cid": "98905", "title": "第5話 紗路與靈異現場", "title_zh": "第5话 纱路与灵异现场"}, {"cid": "98906", "title": "第6話 智麻惠展——好評(主要是自稱姊姊)舉辦中", "title_zh": "第6话 智麻惠展——好评(主要是自称姊姊)举办中"}, {"cid": "98907", "title": "第7話 就憑一隻兔子是攻陷不了我的店,變成人類之後再重新登場吧!", "title_zh": "第7话 就凭一只兔子是攻陷不了我的店,变成人类之后再重新登场吧!"}, {"cid": "98908", "title": "第8話 Sneaking, Stalking, Stalker Story", "title_zh": "第8话 Sneaking, Stalking, Stalker Story"}, {"cid": "98909", "title": "第9話 但是最棒的還是手握突擊步槍與刀的N僕理世呀", "title_zh": "第9话 但是最棒的还是手握突击步枪与刀的N仆理世呀"}, {"cid": "98910", "title": "第10話 被嫉妒沖昏頭的毛球", "title_zh": "第10话 被嫉妒冲昏头的毛球"}, {"cid": "98911", "title": "第11話 今天是妹妹第一次喝醉紀念日(故事進行到一半就幻滅了)", "title_zh": "第11话 今天是妹妹第一次喝醉纪念日(故事进行到一半就幻灭了)"}, {"cid": "98912", "title": "第12話 少N身穿紅S外套,驅使著兔子奔向聖誕夜的天空", "title_zh": "第12话 少N身穿红S外套,驱使著兔子奔向圣诞夜的天空"}, {"cid": "98913", "title": "第13話 發燒的白S夜晚", "title_zh": "第13话 发烧的白S夜晚"}, {"cid": "98915", "title": "第1話 召告友Q萌芽的咖啡師傅的咆哮", "title_zh": "第1话 召告友Q萌芽的咖啡师傅的咆哮"}, {"cid": "98916", "title": "第2話 英式下午茶是高中的縮影", "title_zh": "第2话 英式下午茶是高中的缩影"}, {"cid": "98917", "title": "第3話 我左旁分的話,就會變得更優秀。各位應該知道吧。", "title_zh": "第3话 我左旁分的话,就会变得更优秀。各位应该知道吧。"}, {"cid": "98918", "title": "第4話 崩壞的姊姊認證", "title_zh": "第4话 崩坏的姊姊认证"}, {"cid": "98919", "title": "第5話 第一次看到在酒吧寄放牛乃的N人", "title_zh": "第5话 第一次看到在酒吧寄放牛乃的N人"}, {"cid": "98920", "title": "第6話 因為全員攻略完畢,所以要打道回府了", "title_zh": "第6话 因为全员攻略完毕,所以要打道回府了"}, {"cid": "98922", "title": "第8話 只差一步就能練好合體技智麻惠龍捲風了⋯", "title_zh": "第8话 只差一步就能练好合体技智麻惠龙卷风了⋯"}, {"cid": "98923", "title": "第9話 搜尋E的日常生活", "title_zh": "第9话 搜寻E的日常生活"}, {"cid": "98924", "title": "第10話 鬼與佛與毫不留Q的鈕扣", "title_zh": "第10话 鬼与佛与毫不留Q的钮扣"}, {"cid": "98925", "title": "第11話 老爸的屬下來電說要把破壞門的任务交給我", "title_zh": "第11话 老爸的属下来电说要把破坏门的任务交给我"}, {"cid": "98926", "title": "第12話 暖和到令人感到悶熱的故事", "title_zh": "第12话 暖和到令人感到闷热的故事"}, {"cid": "98927", "title": "第13話 星空的青S明太子", "title_zh": "第13话 星空的青S明太子"}, {"cid": "98928", "title": "第14話 智乃,我也要!把我也拍成猛男吧!", "title_zh": "第14话 智乃,我也要!把我也拍成猛男吧!"}, {"cid": "98930", "title": "第1話 只有羈絆是火熱的就夠了", "title_zh": "第1话 只有羁绊是火热的就够了"}, {"cid": "98931", "title": "第2話 智乃,妳之前回來的時候無視我對吧!⋯咦?妳沒回來?咦?", "title_zh": "第2话 智乃,妳之前回来的时候无视我对吧!⋯咦?妳没回来?咦?"}, {"cid": "98932", "title": "第3話 再見了心愛!甦醒的地獄記憶!", "title_zh": "第3话 再见了心爱!苏醒的地狱记忆!"}, {"cid": "98933", "title": "第4話 心愛回來了!然後我們變得毛茸茸!", "title_zh": "第4话 心爱回来了!然后我们变得毛茸茸!"}, {"cid": "98934", "title": "第5話 Rabbit House 的夏日地獄祭典", "title_zh": "第5话 Rabbit House 的夏日地狱祭典"}, {"cid": "98935", "title": "第6話 怪盜兔兔看通宵", "title_zh": "第6话 怪盗兔兔看通宵"}, {"cid": "98936", "title": "第7話 化為吹過千夜之風", "title_zh": "第7话 化为吹过千夜之风"}, {"cid": "98937", "title": "第8話 Cup of Chino", "title_zh": "第8话 Cup of Chino"}, {"cid": "98938", "title": "第9話 搖頭兔的交易價格在收藏家之中好像飆得很高⋯", "title_zh": "第9话 摇头兔的交易价格在收藏家之中好像飙得很高⋯"}]};
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>