Notice: file_put_contents(): Write of 3486 bytes failed with errno=28 No space left on device in /var/www/kxs-php/lib/ZstdHelper.php on line 81

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
第981章大吃一惊 - 狂魔法师 跳转到主要內容

第981章大吃一惊

作者:再次等候
(�/�dh�l*۸(5@����9�fgFF6e�d��`P(�n$Xl�m���"�>;33333+5��o@}{{�i�@a�&�� �O�3�c\�p} �f�襦��� ǞX�X�vf��9�ejb�@����!"�4_t|�����S�^���ٖ�uۺ j.��{�WcK���9��d#o�T�= :�9uq����'t����CO�N��ث ]]@ �N,�.��m�V8/%��y� n���W�e:� ¸�O(onO,7�p�A4��2,T26U�G�7Vo�2���%cW�z������Reg�p��pg������+d9�p[��M�S�n[:OA��(a����șm�R� h�./�^3;�d�m��uT�r����A+��.n�d[����2��ޖi��Ku4ɾ�xƙ�^�m�fB��Aǃ�����G�E�w�Nݖih�e���Wc' ��n�ԫ ��2N=<#�� �� 1����r���/�QÀ�f-��oa���6�!ʋ3x2�=�qPʶL%�[J�ԧ8�0�ș�2U,<#v�:���+*���Psgv�Z��T��2=����Ri���m��/����Xg�*jNY�# �I���?�'�1�-��X��0��z�~��s� ̿<��l��]]�D���\ي۟�"�?v�mb�Z$Ԗ)�9����#��@>�˜� <ٖ)Bs�����!"�J�0.!��S~X?�d�DZ1�j~\o˴��8hzp�ʕ)#���)Kut�T��?���}5v���SQ�u0Կ�����;�l�����/�2�v�-SC&+,�v߹� �3����k�ngƐ]��e���X���a�%�S~h^UP[���?�K�pp[s��:�.^Y�\�yH��m�'<[8�l �s5�x{q=V�?�3�7V�h4�8��w�����ƶe�y��f�����9 7'Ԗ)��="�8fx�|��!̰�� EܾT�8�![!�ۚ���$>��u�TG��?�([ �@�Sy56���u�I��E ,�F��^�.TcW$v��Y8���9dO�nЅ�,<3[��OH9;�؞�s8�� ���W�ln˴��� �<�0Cs[�W5��T`���� ;ר������@Ǻ�^I�n���ۙ���G�l(Ӯ.pezp�$��!"�y�q�C �)�~;�I��%$q �!"?Ͷeڅ���jl���d�L� .^���������1�s���h��n���P���<�� �#�&@�#��������?�6�d��Iّ3Ku$�<�=�x�EB9�?X� | 3��upC&���e*p9œ�� �� �ӽ8�ș�:�H�0���'�-S �-%W ���$�j�n�������}H�������D�8l]����V��:V� <�ۖ)h�+�)?.�QO��q��`����� ��6o_4C٫ �[:/7=9���]]P�m�P�!0���8�2��ؔ� ݖixy����Lϕ=R<����q�#|�]t�{�]q�q�Gq8R=���_�f�K^N~;@���a�����e���Bɧ��\.<�\�ʘ���m�:�����Ϋ�m�* ������:�P��r&���c w�N@x��I�J�<~��冂l���J�r���8��sȮ0+ȗ�)�tn���l���f��b?�<���� .n˴s�@+�/b��~x9���r�B��)|����;�Xl˔�r�0vp %S<\=|`k� �tΕ-�� ]�0�7g��t��:�f6E{�}�6�a����5��25��9�N���^���/�+��N0�R}��<16�=������J��� �"�_�V.dcn��� �w�Μ�<#6��D!��:s��Hu�!�A���������0g O�m5 ��:8�쏀�2U�}�l01���涡L1E��ȜP�9eP�OlQ���1���]�8��-fwW�� xE�glА����m2s[�"�"����8�Y�-� �Cv�~]o<��z�A�2M�6lh��Ø�7����Ut�8������ەTG �1�1�N/X�(�z�R���)�#�u�@� �3+n3�� �0��7��"r�m����K�������Xa6�a�my{p�Kú�������uW���.|b[��H�'����vD������37�W`np����dKuT�Ǻ��vt0�į�?2(�����+�;��9��C=Q�S�h��I\������e�9e �+r�|A����?� ���m�z��dw/e�q� xЈ��t���O!S<��3oO�Y�|s;bp�A����g��E�A2�ⶈ�~BM@Lt8dN(�CC�g �YQy���'����@�[ 2�=Y��*�с �����ؚى�-�]x���� n���@������X���_����e/�o�nA? ��B��r���a��) �iO�YQa�mP�������t.Ax"sS���Ӏs�V(�0 Z�<ԑ4`h�� p�{��Y�38�H�8t�A��V�� �1���z�&7<��R�s��pBg �,�#�,f�4u��`�y)�f\9� `ɰe/�kl� ��w��f5|��rJ��k-���yBF����Ajj���!��(hp���V���%v*�,<�@ݢB@��֔"M(?WB��"� �����om�$��X�(���H���F��A%�I��=����2K��jiq<��°�$�s% #҉�6 { // 初始化认证状态 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: 'kuangmofashi', chapterId: '75805145', novelTitle: '狂魔法师', chapterTitle: '第981章大吃一惊', 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 看小說網 版权所有