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
第54章 小雪初至 - 我欲九天揽月 跳转到主要内容

第54章 小雪初至

作者:温茶米酒
(�/�dl�~j�/:@S���ޟ�y�1dw:���1Q��Q;,���m�l͢v�@��P�#����84���6�x�� �r�bD�ȧ��L�Vμ�L3��6�+O�cU�(��D�����Uӥj���;�DŽ�M�/^s���}+OŢA���:ldH��ez���hh3���yR�yE���j�;<�Ok�����|�l\�%�ʛ����P���!�Uh��u|N�dp���V��dL<��EЎ�X]�UZ�J��g/�4�=�5DԵ�V��|�:������7FnH�չB�Ye�،��SLV�5:������-�w����~��k�qd��K�7#��ʓ1jjc��;.��3j�b� "�)�c�q�i5�%��h j��'���JdJ��r�ֵv��XyR$�8�=��Zy�s <�p|������>����-��5����TάV���`&����A(�]�z2j��U8���`k n�1V��� U�`S�$� �s��*x:�h��_�;S�'X����� n� �bZ�<7^��� �djq�<����ԚVf����Ri�{G�,��ꜣ5B����TTOP�D`��N������g&ј��E�m8�v�'�,��G8��o� Ec前�G6�bگ�1��f��!�Z���#�id#���f:ΩL1��5V����C�à%����hM+/,|G `噱����ac ���Z�=@qou�VܼruB��_��c�٩��~aZ�����9��ʛ�g�JPz�H���R5�r��1 ? ��cD�u��$6DԓQ���OT�4V4�jd3�9��QG@7��.�TMm��B� �Cԋ(�RvU[ ���/��=�Xx����+��U�R+ϲ{ZY��"�h�E;:�=Z;���^��K�d����vê |3m�xjy)d7��\�mdlP�/"7D.KG^�\B2V��� �;�����W#�����'�F'�E��,���\��Z�ت����DsêG��3���_�s%W7�L�(W4݅��Kc�Y��Vcd�qd�Ț�cD޴&�,�}&bQ�_�3��^d�М�A,t.b�<��ru�Չ�7�hJ��d�،�E�#6"]M�%'+S�[:g4����� ���V������:Mq�`����� 2��؉�L!� x� ^'�����B� �%Xyb?�E4Y�d/W_!k&<�r%2�Z@Kq/A�����������YeNW�Mc�0�D�����Ed ����)��o�~p�H�aգ�+{L�0\n��'�hZvA�i�2V��JK�����L�� �%$s^OF�;�:CrtIc?aS�_J�{���5��# .D� Ђ�k%��\Dy�{�sj�'sL֒�PwH��'hrC� t���O���'x���������1OK��*/����y����WF���������Fc�Yb�r�V���a��Csv\�dd6��"�r���Y�3�H�c�[!g;K�)]������D�h��3�=��,�|��$H�6�y����(�V�ϧ����?$��x��ȝʓ��� Kq�@��d��a� �fX.�}��2����^D&��!#��7�B����ʮ0��_�Z_��*�t*g�r$x nn��i���8(t��)) oYN�*��,�갑ê!�5�=�v$t��6l��ip��"2Hl�Qya��t�t�Xy�]�ͪl��Aё���V���-"x:��i��LH���̡\L�a�~>}e� Y4݋����'�Ǒ9�E{|�p����Xy6\��i��:`\�®��>�漆H7s��v��x�t�{G�M�R����Z�ȵ:7`p�١�b��y��Ӵ�d���&+!����1ΥN1�S�JtU{����CY��w����A7�L+!5"c����,,����6��b�kp�X�T�#�?��\H�_"���#�� �#�"���\�{���b�)��U����y2y�=P��Ip���V�u=�8�,��d��m��5ѓN#4�5z��O����y�� ���g���ut�AY�ӌ�3���`�8���Ō�z'�v� n -��{[kX�dԌ�%$+D�I7�]Ҽ.�x>�<�k+�:kZY12������2G�jP����)fcdsę������*]�qq�r��d�G$+ilX�Cs�<����vV��+O�i)䋦{].i,(���(!�`$A>�I�2��c�[<l��(P&�]�h�bX:��S�D=��������QE���E���t���/�.��C�M�+�[�; �R(j�`���q1R�C�q��0w`���|� V����c��⻾��u��q~$A��Ќ,�)j(���� T6_y�)�$ҚD��°��r*}5. u��� ����C��\ �ez�\����:�����v� C��~�7C�m���ƿ��a*H���OS6��s�ˡ�8ss�� ��Y@���l������Y�+��%����"0f  �l@E �`�S=�M8, �E�wþ}ڃ�r�Y7S|EڣN֡:�Yj�3 ��G�`(rPs�]�F�8��x��o*�Z����^u��z��@*v+��\,��X��,`{,-��c�T�fGفi�,;�&w!z�F9�SXTu�EjX�PJy_�\)Tt@� ��,w�� .2�3�J�!�r�q�E�C�W��iv��%qTM�1-� *JlK�*@P��/[ee_�#/�7kH���� ��`@���� �r(�������(9�0lq�f�I�� { // 初始化认证状态 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: 'wyjtly', chapterId: '38623152', novelTitle: '我欲九天揽月', chapterTitle: '第54章 小雪初至', 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 看小说网 版权所有