jianzhihuixiang/alacarte-novel-website/chapters/chapter-164.html

937 lines
39 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>日常的温馨 - 阿拉德:剑之回响</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-primary: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
--text-primary: #e0e0e0;
--text-secondary: #888;
--accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--border-color: rgba(255,255,255,0.1);
--btn-bg: rgba(255,255,255,0.1);
--btn-hover: rgba(255,255,255,0.2);
}
[data-theme="light"] {
--bg-primary: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
--text-primary: #333;
--text-secondary: #666;
--border-color: rgba(0,0,0,0.1);
--btn-bg: rgba(0,0,0,0.05);
--btn-hover: rgba(0,0,0,0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Noto Serif SC', serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.8;
min-height: 100vh;
transition: all 0.3s ease;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
padding-bottom: 120px;
}
/* 顶部导航 */
.top-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
z-index: 1000;
padding: 10px 20px;
}
.top-nav-content {
max-width: 800px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-link {
color: var(--text-primary);
text-decoration: none;
font-family: 'Noto Sans SC', sans-serif;
font-size: 14px;
padding: 8px 16px;
background: var(--btn-bg);
border: 1px solid var(--border-color);
border-radius: 8px;
transition: all 0.3s ease;
}
.nav-link:hover {
background: var(--btn-hover);
}
.chapter-header {
text-align: center;
padding: 80px 0 40px;
border-bottom: 1px solid var(--border-color);
margin-bottom: 40px;
}
.chapter-number {
font-size: 14px;
color: var(--text-secondary);
letter-spacing: 4px;
text-transform: uppercase;
margin-bottom: 10px;
}
.chapter-title {
font-size: 32px;
font-weight: 700;
background: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 20px;
}
.chapter-meta {
font-size: 14px;
color: var(--text-secondary);
}
.chapter-content {
font-size: 18px;
line-height: 2;
text-align: justify;
}
.chapter-content p {
margin-bottom: 1.5em;
text-indent: 2em;
}
.chapter-content p:first-of-type::first-letter {
font-size: 3em;
float: left;
line-height: 1;
margin-right: 8px;
margin-top: -5px;
background: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
}
/* 固定底部导航 */
.fixed-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
border-top: 1px solid var(--border-color);
z-index: 1000;
padding: 15px 20px;
}
.fixed-nav-content {
max-width: 800px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-btn {
padding: 12px 24px;
background: var(--btn-bg);
border: 1px solid var(--border-color);
border-radius: 8px;
color: var(--text-primary);
text-decoration: none;
transition: all 0.3s ease;
font-family: 'Noto Sans SC', sans-serif;
font-size: 14px;
cursor: pointer;
}
.nav-btn:hover {
background: var(--btn-hover);
transform: translateY(-2px);
}
.nav-btn.disabled {
opacity: 0.3;
cursor: not-allowed;
pointer-events: none;
}
/* 右侧滚动按钮 */
.scroll-buttons {
position: fixed;
right: 20px;
bottom: 90px;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 1001;
}
.scroll-btn {
width: 40px;
height: 40px;
border-radius: 8px;
background: var(--btn-bg);
border: 1px solid var(--border-color);
color: var(--text-primary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition: all 0.3s ease;
font-family: 'Noto Sans SC', sans-serif;
}
.scroll-btn:hover {
background: var(--btn-hover);
}
/* TTS控制面板 */
.tts-panel {
position: fixed;
left: 20px;
bottom: 90px;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 1001;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid var(--border-color);
padding: 15px;
min-width: 180px;
}
.tts-title {
font-size: 12px;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 5px;
}
.tts-controls {
display: flex;
gap: 8px;
margin-bottom: 10px;
}
.tts-btn {
width: 36px;
height: 36px;
border-radius: 8px;
background: var(--btn-bg);
border: 1px solid var(--border-color);
color: var(--text-primary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
transition: all 0.3s ease;
font-family: 'Noto Sans SC', sans-serif;
}
.tts-btn:hover {
background: var(--btn-hover);
}
.tts-btn.active {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: #667eea;
}
.tts-progress {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
}
.tts-progress-bar {
flex: 1;
height: 4px;
background: var(--btn-bg);
border-radius: 2px;
overflow: hidden;
}
.tts-progress-fill {
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
width: 0%;
transition: width 0.1s ease;
}
.tts-time {
font-size: 12px;
color: var(--text-secondary);
font-family: 'Noto Sans SC', sans-serif;
min-width: 80px;
}
.tts-speed {
display: flex;
align-items: center;
gap: 8px;
}
.tts-speed-label {
font-size: 12px;
color: var(--text-secondary);
font-family: 'Noto Sans SC', sans-serif;
}
.tts-speed-select {
padding: 4px 8px;
background: var(--btn-bg);
border: 1px solid var(--border-color);
border-radius: 4px;
color: var(--text-primary);
font-size: 12px;
cursor: pointer;
font-family: 'Noto Sans SC', sans-serif;
}
@media (max-width: 600px) {
.tts-panel {
left: 10px;
bottom: 80px;
min-width: 150px;
padding: 10px;
}
.tts-btn {
width: 32px;
height: 32px;
font-size: 12px;
}
}
/* 侧边栏 - 标题固定,内容滚动 */
.sidebar {
position: fixed;
right: 20px;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.5);
backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid var(--border-color);
width: 200px;
max-height: 70vh;
z-index: 999;
display: flex;
flex-direction: column;
}
.sidebar-title {
font-size: 14px;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 2px;
padding: 15px 20px;
border-bottom: 1px solid var(--border-color);
flex-shrink: 0;
}
.sidebar-content {
overflow-y: auto;
padding: 10px 20px 20px;
flex: 1;
scrollbar-width: thin;
scrollbar-color: transparent transparent;
transition: scrollbar-color 0.3s ease;
}
.sidebar-content:hover {
scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.sidebar-content::-webkit-scrollbar {
width: 6px;
}
.sidebar-content::-webkit-scrollbar-track {
background: transparent;
}
.sidebar-content::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 3px;
transition: background 0.3s ease;
}
.sidebar-content:hover::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.3);
}
.sidebar-content:hover::-webkit-scrollbar-thumb:hover {
background: rgba(255,255,255,0.5);
}
[data-theme="light"] .sidebar-content:hover {
scrollbar-color: rgba(0,0,0,0.3) transparent;
}
[data-theme="light"] .sidebar-content:hover::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.3);
}
[data-theme="light"] .sidebar-content:hover::-webkit-scrollbar-thumb:hover {
background: rgba(0,0,0,0.5);
}
.sidebar-chapter {
display: block;
padding: 8px 0;
color: #aaa;
text-decoration: none;
font-size: 13px;
border-bottom: 1px solid rgba(255,255,255,0.05);
transition: all 0.3s ease;
line-height: 1.5;
}
.sidebar-chapter:hover {
color: #667eea;
}
.sidebar-chapter.current {
color: #667eea;
font-weight: 600;
}
@media (max-width: 1200px) {
.sidebar {
display: none;
}
}
@media (max-width: 600px) {
.chapter-title {
font-size: 24px;
}
.chapter-content {
font-size: 16px;
}
.fixed-nav-content {
gap: 10px;
}
.nav-btn {
padding: 10px 15px;
font-size: 12px;
}
.scroll-buttons {
right: 10px;
bottom: 80px;
}
.scroll-btn {
width: 36px;
height: 36px;
}
}
/* 滚动条样式 */
.sidebar::-webkit-scrollbar {
width: 4px;
}
.sidebar::-webkit-scrollbar-track {
background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.2);
border-radius: 2px;
}
</style>
</head>
<body>
<!-- 顶部导航 -->
<nav class="top-nav">
<div class="top-nav-content">
<a href="../index.html" class="nav-link">返回首页</a>
<button class="nav-link" id="themeToggle">切换主题</button>
</div>
</nav>
<div class="container">
<header class="chapter-header">
<div class="chapter-number">Chapter 164</div>
<h1 class="chapter-title">{{CHAPTER_TITLE}}</h1>
</header>
<article class="chapter-content">
<p>清晨的阳光透过窗帘洒进房间,林克睁开眼睛,感受到一阵温暖的气息。</p>
<p>不是一个人,而是好几道。</p>
<p>赛丽亚躺在他左侧,银色的长发散落在枕头上,呼吸平稳。尼梅尔趴在他右侧,脸上带着满足的笑容。希尔薇则蜷缩在床尾,像一只安静的小猫。</p>
<p>十七位后宫,昨晚轮流来探望他,最后几个实在舍不得离开,就一起挤在了这张大床上。</p>
<p>"林克...嘻嘻..."</p>
<p>尼梅尔在梦中轻声呢喃,显然在做着什么美梦。</p>
<p>林克轻轻摸了摸她的头发,她满足地蹭了蹭,笑容更甜了。</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>"醒了吗?"</p>
<p>赛丽亚也睁开眼睛,看到林克正看着她,脸上露出温柔的笑容。</p>
<p>"嗯。"林克说,"睡得很好。"</p>
<p>"那就好。"赛丽亚靠过来,在他胸口蹭了蹭,"你这几天太累了,封印希洛克一定消耗了很多力量。"</p>
<p>林克握住她的手:"有你们在身边,一切都值得。"</p>
<p>希尔薇也醒了过来,揉了揉眼睛:"早安,林克大人。"</p>
<p>"叫我林克就好。"林克说。</p>
<p>希尔薇点头,但脸上还是有些害羞。作为精灵公主,她从小受到的教育让她对这种亲密关系有些不适应。但经过翡翠梦魇的事件,她已经完全接受了林克,也接受了自己作为他后宫一员的身份。</p>
<p>"早安,林克哥哥!"尼梅尔也醒了过来,直接扑到林克身上,"今天有什么安排?"</p>
<p>林克笑着接住她:"还没想好,可能先休息几天。"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>洗漱完毕后,林克走进餐厅。</p>
<p>长长的餐桌上已经摆满了各种美食——新鲜烤制的面包、煎蛋、培根、蔬菜沙拉、水果拼盘,还有赛丽亚特制的果酱和蜂蜜茶。</p>
<p>帕丽丝、敏泰、艾拉、艾丽丝、莫纳亨...后宫们陆陆续续出现,在餐桌旁坐下。</p>
<p>"早上好,林克哥哥!"敏泰挥了挥手。</p>
<p>"早。"林克笑着回应,在主位坐下。</p>
<p>赛丽亚为他端来一杯热茶,然后在他旁边坐下。</p>
<p>十七个人围坐在一张大桌旁,场面虽然热闹,却并不混乱。经过这段时间的相处,后宫们已经形成了某种默契,彼此之间也建立起了友谊。</p>
<p>"林克,你接下来有什么打算?"帕丽丝一边吃着煎蛋一边问。</p>
<p>"还没想好。"林克说,"可能先休息一段时间,巩固一下现在的实力。"</p>
<p>"休息?"艾拉好奇地歪着头,"你不打算继续变强了吗?"</p>
<p>"当然要变强。"林克说,"但欲速则不达。希洛克被封印了,暂时没有紧迫的威胁,我想先让体内的力量稳定下来。"</p>
<p>艾丽丝点头:"林克体内的创世之力碎片还不稳定。如果贸然追求更强的力量,可能会适得其反。"</p>
<p>"创世之力..."敏泰眨了眨眼睛,"那是什么?"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>艾丽丝看向林克,见他点头,便开始解释:</p>
<p>"林克在封印希洛克时,融合了三股力量——天空之泪、灵魂之源、时间之钥。这三股力量来自同一个源头,就是创世之力。"</p>
<p>"创世之力是这个世界最原始的力量。"赛丽亚补充道,"据说它创造了整个阿拉德世界,是所有力量的起源。"</p>
<p>众人都露出惊讶的表情。</p>
<p>"林克大人拥有创世之力?!"尼梅尔惊讶地问。</p>
<p>"只是碎片而已。"林克说,"而且我无法长时间维持它的稳定。"</p>
<p>"即使是碎片,也是非常惊人的力量。"艾拉说,她展开翅膀,感受着林克身上的气息,"天空族的历史记载中,从未有人成功融合过创世之力。你能做到这一点,说明你的灵魂非常强大。"</p>
<p>希尔薇也看着林克,眼中满是崇拜:"林克...真厉害。"</p>
<p>"好了,不说这些了。"林克笑了笑,"今天是难得的休息日,大家放松一点。"</p>
<p>"好!"敏泰举起双手,"今天去逛街吧!我想去看看西海岸的集市!"</p>
<p>"我也要去!"艾拉展开翅膀,"我想看看阿拉德大陆的城镇!"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>早餐后,林克独自来到旅馆后院的修炼场。</p>
<p>这里是他平时练习剑术的地方。虽然今天说是休息,但他还是想确认一下体内的力量变化。</p>
<p>他站在修炼场中央,闭上眼睛,感受体内三股力量的流动。</p>
<p>天空之泪的金色光芒,来自艾拉...</p>
<p>灵魂之源的紫色光芒,来自艾丽丝...</p>
<p>时间之钥的银色光芒,来自卢克...</p>
<p>它们在体内静静流动,互不干扰,却又隐隐相连。</p>
<p>"破极兵刃。"</p>
<p>光剑「细雪之舞」在手中亮起蓝白色的光芒。</p>
<p>林克开始挥剑练习,每一招每一式都带着他对剑道的理解。</p>
<p>里·鬼剑术、后跳斩、流心、拔刀斩...</p>
<p>剑光在空中交织,形成一道道美丽的弧线。</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>练了大约半个小时,林克停下来调整呼吸。</p>
<p>体内的三股力量似乎更加活跃了,仿佛在响应他的剑意。</p>
<p>"融合..."</p>
<p>林克尝试调动三股力量,让它们汇聚在一起。</p>
<p>但就在力量开始靠近时,一股剧痛从体内传来。</p>
<p>"呃..."</p>
<p>林克跪倒在地,冷汗直流。</p>
<p>力量迅速分离,痛苦也随之消失。</p>
<p>"果然...还不能强行融合。"</p>
<p>"林克!"</p>
<p>艾丽丝的声音从身后传来。</p>
<p>林克回头,看到她站在修炼场入口,脸上带着担心。</p>
<p>"我没事。"林克站起身,"只是在尝试调动力量。"</p>
<p>艾丽丝走过来,握住他的手:"不要勉强。你现在体内的力量还不稳定,强行融合会伤到你自己。"</p>
<p>"我知道。"林克说,"但我想尽快掌握这股力量。万一以后遇到更强的敌人..."</p>
<p>"有我们在。"艾丽丝打断他,"你不需要一个人承担一切。"</p>
<p>林克看着她认真的表情,心中涌起一股暖流。</p>
<p>"谢谢你,艾丽丝。"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>"我帮你稳定力量。"艾丽丝说,"灵魂之源在你体内,我可以通过共鸣来帮你。"</p>
<p>两人面对面坐下,艾丽丝闭上眼睛。</p>
<p>林克也闭上眼睛,感受着艾丽丝的存在。</p>
<p>灵魂之源的紫色光芒开始波动,与艾丽丝的灵魂产生共鸣。</p>
<p>温暖的感觉从体内传来,林克感到三股力量变得更加稳定了。</p>
<p>"谢谢你。"他在心中说。</p>
<p>"不用谢。"艾丽丝的声音在他脑海中响起,"我们是灵魂相连的。"</p>
<p>修炼持续了大约一个小时。</p>
<p>当林克再次睁开眼睛时,他感到体内的力量比之前更加平稳了。</p>
<p>"有进步。"艾丽丝也睁开眼睛,脸上带着笑容。</p>
<p>林克握住她的手:"有你真好。"</p>
<p>艾丽丝靠过来,将头靠在他肩上:"不管发生什么,我都会陪着你。"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>午饭时间,林克和后宫们一起用餐。</p>
<p>赛丽亚今天做了林克最喜欢的烤肉,配上新鲜的蔬菜和特制酱料。</p>
<p>"林克,尝尝这个!"敏泰夹了一块肉放到他碗里。</p>
<p>"谢谢。"林克笑着说。</p>
<p>帕丽丝一边吃一边问:"林克,你真的打算休息一段时间?"</p>
<p>"是的。"林克点头,"至少这几天先放松一下。"</p>
<p>"那我们去逛街吧!"艾拉提议。</p>
<p>"好主意!"敏泰立刻同意。</p>
<p>林克看着她们兴奋的样子,笑着点头:"好,下午一起去。"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>下午,林克带着赛丽亚、艾丽丝、敏泰、艾拉、尼梅尔、希尔薇等人前往西海岸的集市。</p>
<p>艾拉第一次看到这么热闹的城镇,眼睛都亮了起来。</p>
<p>"好多商店!好多东西!"她飞在半空中,俯瞰着整个集市。</p>
<p>"艾拉,别飞那么高,会吓到别人的。"林克提醒道。</p>
<p>"哦,好的。"艾拉落下来,但还是忍不住四处张望,"这里好热闹啊!"</p>
<p>敏泰拉着林克的手,带他去看各种有趣的摊位。</p>
<p>赛丽亚和艾丽丝走在后面,轻声交谈着什么。</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>逛了一个下午,众人都有些累了。</p>
<p>"我们去那家店休息一下吧。"敏泰指着一间茶馆。</p>
<p>林克点头,带着大家走进茶馆。</p>
<p>茶馆里人不多,他们找了一个角落坐下。</p>
<p>"今天的天气真好。"赛丽亚看着窗外的阳光。</p>
<p>"是啊。"林克点头,"能这样和大家在一起,真好。"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>就在这时,一个穿着灰色斗篷的身影出现在茶馆门口。</p>
<p>那人四处张望了一下,然后走向林克等人。</p>
<p>"请问,哪位是林克大人?"</p>
<p>林克抬起头:"我是。"</p>
<p>那人走上前,行了一礼:"林克大人,我是中央公园的情报员。这是莎莎大人让我转交给您的信。"</p>
<p>他从怀中拿出一封信,递给林克。</p>
<p>林克接过信,看到信封上印着中央公园的标记。</p>
<p>"谢谢。"他说。</p>
<p>那人点头,然后转身离开。</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>林克打开信,开始阅读。</p>
<p>信上是莎莎熟悉的字迹:</p>
<p>"林克:</p>
<p>恭喜你封印了希洛克。</p>
<p>但我要告诉你一个消息——在我研究赫尔德的遗物时,发现了一些奇怪的记录。</p>
<p>赫尔德的'创新世纪'计划,似乎还隐藏着更深的秘密。她为什么要重造世界?使徒们为什么互相残杀?</p>
<p>我在她的研究笔记中找到了一个名字——'黑色大地'。</p>
<p>那是奥兹玛被封印的地方。但奇怪的是,赫尔德似乎一直在关注着那个地方。</p>
<p>还有,最近有探险者在阿拉德大陆的西北方向观测到了异常的能量波动。那个方向...正是通往黑色大地的通道所在。</p>
<p>我不知道这意味着什么,但我觉得你应该知道。</p>
<p>等你准备好了,来中央公园找我。我有一些东西要给你看。</p>
<p>——莎莎"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p>林克放下信,眉头紧锁。</p>
<p>艾丽丝凑过来,看到了信的内容。</p>
<p>"黑色大地...奥兹玛..."她轻声说。</p>
<p>林克看向身后的后宫们:"抱歉,逛街可能要取消了。"</p>
<p>"怎么了?"敏泰问。</p>
<p>"莎莎发现了一些线索。"林克说,"关于赫尔德的遗物,还有...黑色大地。"</p>
<p>"黑色大地?"帕丽丝皱眉,"那是奥兹玛被封印的地方吧?"</p>
<p>"是的。"林克点头,"看来...新的冒险要开始了。"</p>
<p>赛丽亚走过来,轻轻握住他的手:"无论发生什么,我们都支持你。"</p>
<p>林克看着她,露出微笑:"谢谢。"</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0;">···</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0; margin-top: 2em;">(第一百六十四章完)</p>
<p style="text-align: center; color: var(--text-secondary); text-indent: 0; margin-top: 2em;">(奥兹玛篇·第一章)</p>
</article>
</div>
<!-- 固定底部导航 -->
<nav class="fixed-nav">
<div class="fixed-nav-content">
<a href="chapter-163.html" class="nav-btn ">上一章</a>
<a href="../chapters.html" class="nav-btn">目录</a>
<a href="chapter-165.html" class="nav-btn ">下一章</a>
</div>
</nav>
<!-- 右侧滚动按钮 -->
<div class="scroll-buttons">
<button class="scroll-btn" id="scrollTop" title="回到顶部"></button>
<button class="scroll-btn" id="scrollBottom" title="回到底部"></button>
</div>
<!-- TTS语音朗读面板 -->
<div class="tts-panel" id="ttsPanel">
<div class="tts-title">语音朗读</div>
<div class="tts-controls">
<button class="tts-btn" id="ttsPlay" title="播放"></button>
<button class="tts-btn" id="ttsPause" title="暂停"></button>
<button class="tts-btn" id="ttsStop" title="停止"></button>
</div>
<div class="tts-progress">
<div class="tts-progress-bar">
<div class="tts-progress-fill" id="ttsProgressFill"></div>
</div>
<div class="tts-time" id="ttsTime">0 / 0</div>
</div>
<div class="tts-speed">
<span class="tts-speed-label">速度:</span>
<select class="tts-speed-select" id="ttsSpeed">
<option value="0.5">慢速</option>
<option value="0.75">较慢</option>
<option value="1" selected>正常</option>
<option value="1.25">较快</option>
<option value="1.5">快速</option>
<option value="2">极速</option>
</select>
</div>
</div>
<!-- 侧边栏章节导航 -->
<aside class="sidebar">
<div class="sidebar-title">章节导航</div>
<div class="sidebar-content" id="sidebarContent">
<a href="chapter-134.html" class="sidebar-chapter ">第134章中央公园</a>
<a href="chapter-135.html" class="sidebar-chapter ">第135章剑圣的试炼</a>
<a href="chapter-136.html" class="sidebar-chapter ">第136章地轨中心</a>
<a href="chapter-137.html" class="sidebar-chapter ">第137章魔剑士阿斯兰</a>
<a href="chapter-138.html" class="sidebar-chapter ">第138章泪目之眼</a>
<a href="chapter-139.html" class="sidebar-chapter ">第139章使徒会晤</a>
<a href="chapter-140.html" class="sidebar-chapter ">第140章复仇之剑</a>
<a href="chapter-141.html" class="sidebar-chapter ">第141章寂静城再访</a>
<a href="chapter-142.html" class="sidebar-chapter ">第142章时间之钥</a>
<a href="chapter-143.html" class="sidebar-chapter ">第143章翡翠梦魇</a>
<a href="chapter-144.html" class="sidebar-chapter ">第144章诅咒的守护者</a>
<a href="chapter-145.html" class="sidebar-chapter ">第145章精灵的誓言</a>
<a href="chapter-146.html" class="sidebar-chapter ">第146章深渊之眼</a>
<a href="chapter-147.html" class="sidebar-chapter ">第147章赫尔德的仪式</a>
<a href="chapter-148.html" class="sidebar-chapter ">第148章战后余晖</a>
<a href="chapter-149.html" class="sidebar-chapter ">第149章泰波尔斯的召唤</a>
<a href="chapter-150.html" class="sidebar-chapter ">第150章天空之城</a>
<a href="chapter-151.html" class="sidebar-chapter ">第151章风暴试炼</a>
<a href="chapter-152.html" class="sidebar-chapter ">第152章光芒与暗影</a>
<a href="chapter-153.html" class="sidebar-chapter ">第153章天空之战</a>
<a href="chapter-154.html" class="sidebar-chapter ">第154章天空之战</a>
<a href="chapter-155.html" class="sidebar-chapter ">第155章天空之战</a>
<a href="chapter-156.html" class="sidebar-chapter ">第156章格兰之森异象</a>
<a href="chapter-157.html" class="sidebar-chapter ">第157章魔界深处</a>
<a href="chapter-158.html" class="sidebar-chapter ">第158章幻象迷宫</a>
<a href="chapter-159.html" class="sidebar-chapter ">第159章无形之战</a>
<a href="chapter-160.html" class="sidebar-chapter ">第160章无形者的秘密</a>
<a href="chapter-161.html" class="sidebar-chapter ">第161章光之试炼</a>
<a href="chapter-162.html" class="sidebar-chapter ">第162章希洛克的陷阱</a>
<a href="chapter-163.html" class="sidebar-chapter ">第163章无形之战</a>
<a href="chapter-164.html" class="sidebar-chapter current">第164章日常的温馨</a>
<a href="chapter-165.html" class="sidebar-chapter ">第165章莎莎的信</a>
<a href="chapter-166.html" class="sidebar-chapter ">第166章圣者之鸣号</a>
<a href="chapter-167.html" class="sidebar-chapter ">第167章黑色大地入口</a>
<a href="chapter-168.html" class="sidebar-chapter ">第168章焦黑之地深入</a>
<a href="chapter-169.html" class="sidebar-chapter ">第169章暗黑骑士团</a>
<a href="chapter-170.html" class="sidebar-chapter ">第170章黑暗中的记忆</a>
<a href="chapter-171.html" class="sidebar-chapter ">第171章混沌王座</a>
<a href="chapter-172.html" class="sidebar-chapter ">第172章混沌之神的力量</a>
<a href="chapter-173.html" class="sidebar-chapter ">第173章米歇尔的羁绊</a>
<a href="chapter-174.html" class="sidebar-chapter ">第174章创世之光的净化</a>
<a href="chapter-175.html" class="sidebar-chapter ">第175章混沌的终结</a>
<a href="chapter-176.html" class="sidebar-chapter ">第176章篇章落幕</a>
<a href="chapter-177.html" class="sidebar-chapter ">第177章番外·米歇尔的最后祝福</a>
<a href="chapter-178.html" class="sidebar-chapter ">第178章番外·奥兹玛的遗言</a>
</div>
</aside>
<script>
// 记录阅读进度
let readChapters = JSON.parse(localStorage.getItem('readChapters') || '[]');
if (!readChapters.includes(164)) {
readChapters.push({{CHAPTER_ID}});
localStorage.setItem('readChapters', JSON.stringify(readChapters));
}
// 主题切换
const themeToggle = document.getElementById('themeToggle');
const savedTheme = localStorage.getItem('theme') || 'dark';
document.documentElement.setAttribute('data-theme', savedTheme);
themeToggle.textContent = savedTheme === 'dark' ? '浅色' : '深色';
themeToggle.addEventListener('click', () => {
const currentTheme = document.documentElement.getAttribute('data-theme');
const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
document.documentElement.setAttribute('data-theme', newTheme);
localStorage.setItem('theme', newTheme);
themeToggle.textContent = newTheme === 'dark' ? '浅色' : '深色';
});
// 滚动到顶部
document.getElementById('scrollTop').addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
// 滚动到底部
document.getElementById('scrollBottom').addEventListener('click', () => {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
});
// 页面加载时,侧边栏自动滚动到当前章节
window.addEventListener('load', () => {
const sidebarContent = document.getElementById('sidebarContent');
const currentChapter = sidebarContent.querySelector('.current');
if (currentChapter) {
currentChapter.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
});
// ========== TTS语音朗读功能 ==========
let ttsSynth = window.speechSynthesis;
let ttsUtterance = null;
let ttsText = '';
let ttsSentences = [];
let ttsCurrentIndex = 0;
let ttsIsPlaying = false;
let ttsIsPaused = false;
let ttsSpeed = 1;
// 初始化:提取章节内容
function initTTS() {
const contentEl = document.querySelector('.chapter-content');
if (!contentEl) return;
// 获取所有段落文本清理HTML标签
ttsText = contentEl.innerText || contentEl.textContent;
// 分割成句子(中文按句号、问号、感叹号分割)
ttsSentences = ttsText.match(/[^。!?\n]+[。!?\n]+|[^。!?\n]+$/g) || [ttsText];
ttsSentences = ttsSentences.filter(s => s.trim().length > 0);
updateTTSProgress();
}
// 更新进度显示
function updateTTSProgress() {
const total = ttsSentences.length;
const current = ttsCurrentIndex;
document.getElementById('ttsTime').textContent = `${current} / ${total}`;
const percent = total > 0 ? (current / total * 100) : 0;
document.getElementById('ttsProgressFill').style.width = `${percent}%`;
}
// 播放当前句子
function playCurrentSentence() {
if (ttsCurrentIndex >= ttsSentences.length) {
stopTTS();
return;
}
const text = ttsSentences[ttsCurrentIndex].trim();
ttsUtterance = new SpeechSynthesisUtterance(text);
ttsUtterance.lang = 'zh-CN';
ttsUtterance.rate = ttsSpeed;
// 尝试选择中文语音
const voices = ttsSynth.getVoices();
const zhVoice = voices.find(v => v.lang.includes('zh') || v.lang.includes('CN'));
if (zhVoice) {
ttsUtterance.voice = zhVoice;
}
ttsUtterance.onend = () => {
if (ttsIsPlaying && !ttsIsPaused) {
ttsCurrentIndex++;
updateTTSProgress();
playCurrentSentence();
}
};
ttsUtterance.onerror = (e) => {
console.error('TTS error:', e);
if (ttsIsPlaying) {
ttsCurrentIndex++;
updateTTSProgress();
playCurrentSentence();
}
};
ttsSynth.speak(ttsUtterance);
}
// 播放
function playTTS() {
if (ttsSentences.length === 0) {
initTTS();
}
if (ttsIsPaused) {
ttsSynth.resume();
ttsIsPaused = false;
} else {
ttsIsPlaying = true;
playCurrentSentence();
}
document.getElementById('ttsPlay').classList.add('active');
document.getElementById('ttsPause').classList.remove('active');
}
// 暂停
function pauseTTS() {
if (ttsIsPlaying) {
ttsSynth.pause();
ttsIsPaused = true;
document.getElementById('ttsPlay').classList.remove('active');
document.getElementById('ttsPause').classList.add('active');
}
}
// 停止
function stopTTS() {
ttsSynth.cancel();
ttsIsPlaying = false;
ttsIsPaused = false;
ttsCurrentIndex = 0;
updateTTSProgress();
document.getElementById('ttsPlay').classList.remove('active');
document.getElementById('ttsPause').classList.remove('active');
}
// 设置速度
function setTTSSpeed(speed) {
ttsSpeed = parseFloat(speed);
// 如果正在播放,需要重新开始当前句子
if (ttsIsPlaying && !ttsIsPaused) {
ttsSynth.cancel();
playCurrentSentence();
}
}
// 绑定事件
document.getElementById('ttsPlay').addEventListener('click', playTTS);
document.getElementById('ttsPause').addEventListener('click', pauseTTS);
document.getElementById('ttsStop').addEventListener('click', stopTTS);
document.getElementById('ttsSpeed').addEventListener('change', (e) => setTTSSpeed(e.target.value));
// 加载语音列表(某些浏览器需要异步加载)
if (speechSynthesis.onvoiceschanged !== undefined) {
speechSynthesis.onvoiceschanged = initTTS;
}
// 页面加载时初始化
window.addEventListener('load', () => {
initTTS();
});
// 页面离开时停止播放
window.addEventListener('beforeunload', stopTTS);
</script>
</body>
</html>