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
第983章 去战斗 - 我有一个虎鲸人格 跳转到主要内容

第983章 去战斗

作者:葱油饼快跑
(�/�dIEaꝸ9@Sh%�{�&%N~�;~n��nfݏ[D@�hv�� F��l�ll�@V�Sb1$x�'`+�C����ܔ��L++,k�>��a���������v��ĽH5H��ꇣ)K+(��H�䥌�}5�I�Weͺ���ka2�L%�u�ը��ʃ��� 񭼏�1��xV�b� "���~��E┑9�9���!2�����/Y�7ݭ��8�SThg*8S�DZ񤬻)�J^ Y�5�� � �C�N ��R�B���1�sj����}�H'D������Y} 26���ʋ�5"ј��E�M"�I�ֲ����W�)��xf, 꼻Z�46�"� �]]9���az�=���'A�-�$+Ln-[��HOYO+;*gT$/�� ��3��b��B���x����� � `��F ���F��{�Ng,�tC���;�'.6�����u!�݉� �`� ���XM+WG{D��4;��V���Y� l���T�]���C4#�� ʓ3�q ��1�:M^�������O���!��`������{!ω���=��* 96��j��E�Q��L�2�j����M|M���Nmz]�x��i���)�8��n�]?&c�"��s�j�jE�Ӄ��^�4^{���(tD�D��U�D�"����@孼���9N+gV_�|�� �A�S�m��Uz����A�ᵍ�Y��HL����x�:���!���;�LQ�RFf�#�C��Kg�'����2��'�qt����%��4�*?�V=:��Z`����EeKe��O��Zy��R�S �XZ����,u�d�d2�b�F����|+�G0Q�&�� ���Z��f�ʖ�G����Vw➁��N�9Uyd��h sA]kM%�����GƑE�W�n�̌���o嵌еC��3]!^�5B�5^w�G�nPfw�u�EdZ�'5#d u��(�_݈xwuH�ME��K7"��OB��'P4F� ��Ӽjt�̉{k9����Dܯ�Yek9݄�lj� ���N=|➼4'��������(2wc9G���GO�7"7�97rV9䭼��ԥ���fz��B�"[�g�7�iu��Ľ���Vh�W�"1"N=��)]��34�^l8�ט��I�Z�Y� Dc������ɄQ�Ľ��H��k��Oz*��earފ�Y���96����Ow�K�+����M٠�R�c�}�|4�� �r�凁SH�4�ʋu ̆Dc`� O�x� �䥹���L`��Ɠ�z�i"[����(�Sݰ� ���Z�x��<��������� �h���K!Yԙ!�_c�Y�B# �0@0@ ���) y�� �4��{����O[�7U��L*yLm؛���HA"�Ot'�EF#t��l��4�07����eV��H�|O� �~T����Ye0tU�]X~������.��D�U�0� ��߬���H��Ad �%\A{���?P�A��� Kc��>x�h��Ye�(b.B��E�KS�:�@����e���i��Bd,t���D�`'bne_�3Dn���B3�����W�)n-ۉ�����DZ���w�=C���3��F��Y� �����|�<����0�(^�O܃�8$� K[�OB�Ƴ1�bҖ��C�,+H�����r����:"��Wvb����G�U�.�7UW��K�;q��|��x>*�h�1��Tl����h���7 1"N+c��I߱�)Wg��Ƴ!i�!nj�#���O��'�u�$d�'�&�u��:-a.�ȞG�������a�8"0� !@a �� �H��"(��"?Q��)(K�js���8��8�BS�KR��25^�Ս���;y��]Wm�P�0 |�� �D�LN��r�|��ə�V��mg��/��m�^�~@j���O���J�ڡD��(�� �n>VIg�G#l���EE!��q-����p��$��S�`|��6���ʥ�/��������11���P���]�)�r,UBr���\���E�}5�e��r�2���?sc���~xa�f�aT��S*�r�p��n�v)p �Xih8�U$PT{V�͠$[(�YZ�%Ȑ�*���嬩�C����ȩ�~�j�m�-�õ�~����Ҫ%3F�:֪bޡ��l���iC�R�s�]��z����(�9��W��m� �����a0 �kK�'͗����W}�,'sjw�6n!�!5 �M�$�k ��5X��A\x#���/BA��N����@:�r���N-v}N�F���l5ţͪ>%���Q��mJ�0���V�b�w%U����S�����K��ݔ����� { // 初始化认证状态 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: 'wyyghjrg', chapterId: '40753643', novelTitle: '我有一个虎鲸人格', chapterTitle: '第983章 去战斗', 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 看小说网 版权所有