Deprecated: mb_substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/kxs-php/controllers/NovelController.php on line 303
第二十八章 安布罗修斯的来信 - 战争宫廷和膝枕,奥地利的天命 跳转到主要內容

第二十八章 安布罗修斯的来信

作者:七年之期
(�/�dxuv:�D+>0)L0��{w~``���s�hk$�*���`�v�.��%��n�z����� d��j�a��$�a���%K���3��-���@�G���L/�al�s��n�����}�����5e{�"rQ�+ۤ �����'�E�(E�y�� �;y��lK���%6�~����im S̕<\ ��,� ڮ�������-��Zm̻�h�D�7���,� �]��w� �� �9#��P[sxF� SD�8Ĥ�W�= ��Ar����w@��8Ƚ��yV�'��}c6%�¾�@� �;!�� n^~�}F�#�%׃�s&ޘ��Tw;���y~"�0�4�J�c�;�!B� y��!����Sr}G��� �؃�kʞ��ٜ֮l��W"�1{��l�x%�O|0�P%k�g�9݄�+`2��7�!O���Kl��/��ض��l����m����j�3򌀜�y�������\̻J��%�o��0Ou����0��M��m�K,��;0������ *���S{P<#O��cb����"~@���Kn���9�Nm�� ����Y2��e-�����ĺq*��:���{��.+\| ����R�8�e���%׏��y�l���j��"Nk�$��x����ʇ&Y����RG,����mZ�2^�ďo0��.Ķ���%�&z^20�y���H�\�x��)���rk��sE�>dv���ꎐO(ńR��K(b?}����|<�]�� #��ʜE/�T7)Y��x����)�����;��e�fH�1�%��,1V���xTy���������5�\2��� �N��Sb�0���آ�f�;5��%<��yF��KSݍhx��-��6��=QLuWB�I� ĝ�Њm�ϩ�.5�.�.�*'� xlV�&0��J�W�[!ݪm@e�R����{&�<��Ķ��l-⎮��晕5�3\��33p��T���r�2�G�T�;����s��&�a��� D0@ D�@��V4Ѐ0��X`� �TP�yrYq�č�L왘�N{���㆞����*��"���;�<��x���Z(_�T�� �:�Q�<`��<#�n11�ʵڥ/��0D�EQW��us��µ��2�Vd�r��A�-�k3��}����Xm�� �K��;c��[ZpFy[;�\�ڐ�K( ���}y��� �c"�=il �TwE�'��q�xA!.����SΔKϙXd�nr3_����������ũe�m���W��[)y���g�่��@?y.�z)q���/gxx���� U�o�����Tw���LQyF���n��j+��T�}�xx9�ݬ�܃)G�p���g�&�ה�!a��yJp>�d����<�'����zҔ����d��3�2�)���e�V[ =g(x�6��b����p�%���%LNҼ���o�7�+!z��R���ak*O��ŕ�|0�R�1 �.�}�ȜE7�l3�����qIC�h�q�����<��� �ὥ�G�{�"����'1����yf����Kl�";�?W�3�,/n3�!�i�� ��%#O��?p<�]S� �]ǧ���s�,q���/�@ߘ]��A^�r3� ���! `�8b���0�P (%�ȢJ��$Q+AQ�z�r���@]�d}D��yi�Vj1S텙�/��<(ɘ)A���%(��� r/� ߠ����)���ҭʙ�Rzbd/��R.e�e�z��B��| |��D:^ BX1�] � �%8R������ �D?g��y ?���Խ�~f�[M�(ƒ'���O;b�<�Z�6+J^h?�Q� f�� ���C�Q1}qx��fP�z�+x*2���ǥ��GO?�k��F*k*��՘ԷlZe:���^�@�FQ�1�P����Lg/\�'�ѱ�&2Xg3<�c8Ɉ� vix�d \�(+�@��J��ow�.�\"vР��yn�);۞5�yr�2k���M�\|���ʿ� ��"��MJA�P��@���p@�l"��X�n(��A@#���n���  ����6y��fuݠ.�����T�F�I^�Ȉ̈n�dc�E��G1�� �y2�v�їB�-K� �f� ����(f�=ET�բ����� ��Q��t8�$����'�ʣL;~v�EX0�߸���#�J�%܅Qx�wW#Di]%Q�c�L��;HP(�?˪��YxU��^Ĭ�j���gT�g��;y)��a_ ���-��@�F�)^j饁� ���e��`���貣��1$�:E�2����&5�CM�AH���z�)�e��,���&K��Dy���K1df�p����c.�r �&�f�n�`q�Lzz�ݖ3M���_��!'���\��2 �E�z�r���E�� � ��u >����wMƻ� ���?(XG�]jTh�w8���җ�n'��J�4)�A���:�1�Uu�t{�J���X�To�/��ڊ��DW2Ť��+9 � �����LF ����� �:���(�NO u�TN�-�q��O��#��aG��J�Y����U�︤ { // 初始化认证状态 initAuthState(); // 注意:閱讀歷史已由reading_history.js自动处理,无需手动调用 const themeToggle = document.getElementById('theme-toggle'); const themeToggleIcon = document.getElementById('theme-toggle-icon'); const html = document.documentElement; // 检查本地存储中的主题偏好 const currentTheme = localStorage.getItem('theme') || 'light'; html.classList.add(currentTheme); // 更新图标 if (themeToggleIcon) { themeToggleIcon.className = currentTheme === 'dark' ? 'ri-moon-line text-xl' : 'ri-sun-line text-xl'; } // 切换主题 if (themeToggle) { themeToggle.addEventListener('click', () => { const isDark = html.classList.contains('dark'); if (isDark) { html.classList.remove('dark'); html.classList.add('light'); localStorage.setItem('theme', 'light'); if (themeToggleIcon) { themeToggleIcon.className = 'ri-sun-line text-xl'; } } else { html.classList.remove('light'); html.classList.add('dark'); localStorage.setItem('theme', 'dark'); if (themeToggleIcon) { themeToggleIcon.className = 'ri-moon-line text-xl'; } } }); } // 字体大小调整 const content = document.querySelector('.reading-container'); const fontDecreaseBtn = document.getElementById('font-decrease'); const fontIncreaseBtn = document.getElementById('font-increase'); const readingModeBtn = document.getElementById('reading-mode'); const addBookmarkBtn = document.getElementById('add-bookmark'); // 从本地存储获取字体大小設置 let fontSize = parseInt(localStorage.getItem('fontSize')) || 18; content.style.fontSize = `${fontSize}px`; // 减小字体 fontDecreaseBtn.addEventListener('click', () => { if (fontSize > 14) { fontSize -= 1; content.style.fontSize = `${fontSize}px`; localStorage.setItem('fontSize', fontSize); } }); // 增大字体 fontIncreaseBtn.addEventListener('click', () => { if (fontSize < 26) { fontSize += 1; content.style.fontSize = `${fontSize}px`; localStorage.setItem('fontSize', fontSize); } }); // 閱讀模式切换 readingModeBtn.addEventListener('click', () => { document.body.classList.toggle('reading-mode'); if (document.body.classList.contains('reading-mode')) { // 隐藏导航和其他元素,只显示內容区 document.querySelector('header').style.display = 'none'; document.querySelectorAll('.section-container > *:not(main)').forEach(el => { el.style.display = 'none'; }); document.querySelector('main').classList.add('reading-mode-active'); document.querySelector('.fixed.bottom-0').style.display = 'none'; // 隐藏移动端底部导航 } else { // 恢复正常显示 document.querySelector('header').style.display = ''; document.querySelectorAll('.section-container > *:not(main)').forEach(el => { el.style.display = ''; }); document.querySelector('main').classList.remove('reading-mode-active'); document.querySelector('.fixed.bottom-0').style.display = ''; // 显示移动端底部导航 } }); // 书签功能 addBookmarkBtn.addEventListener('click', () => { const bookmarks = JSON.parse(localStorage.getItem('bookmarks') || '[]'); const currentBookmark = { novelId: 'zzgthxzadldtm', chapterId: '51303663', novelTitle: '战争宫廷和膝枕,奥地利的天命', chapterTitle: '第二十八章 安布罗修斯的来信', timestamp: new Date().toISOString() }; // 检查是否已存在相同的书签 const exists = bookmarks.some(bookmark => bookmark.novelId === currentBookmark.novelId && bookmark.chapterId === currentBookmark.chapterId ); if (!exists) { // 限制书签数量为10個 if (bookmarks.length >= 10) { bookmarks.pop(); // 移除最旧的书签 } bookmarks.unshift(currentBookmark); // 添加到最前面 localStorage.setItem('bookmarks', JSON.stringify(bookmarks)); // 显示成功提示 alert('书签添加成功'); } else { alert('书签已存在'); } }); });

看小說網

看小說網是您最喜歡的免費小說閱讀網站。提供海量全本小說免費閱讀,所有小說無廣告干擾,是您值得收藏的小說網站。

© 2023 看小說網 版权所有