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
第58章 世界公告,独行英雄! - 末世:开局觉醒SSS级掠夺天赋 跳转到主要內容

第58章 世界公告,独行英雄!

作者:小强不死
(�/�d< 5�:��/? +�pJ�;�������L1���{ {o�'�|+��Ȩ!�RV�83�Q��ad!�U���/݈����_/�[��@���X��)���M� D��5}-�� ��AY�W{5`�<,���ԑ�#Y�L:�Vs]\%�d�b���&��aeE��L�̰w����^�=��t'��9��S᷎�=�Lڻae,�9����iJy^do���6�V��JV}h缞Ss�#Zoe�9/go�&�r���j��ʠ� ض@=��:Ai�Ҝ���7�����,�|�= ��2xi��M_�Px+S�� ,�PO�Z^D=b2�g���[C��V�Y� *�� �U�q�ԙ�*X���b���ɡ�g���z���oe�`�g�Wg6q>��V���=�̓+�k�3/g/w��WVMs��\'-r�` ���7P-2p�a��������:9x�q�� �<�1^~8��Hoe�/�Д�+�[�������x�7�ȍ.3Dy�u�� ���)k �5�$>���M�(�oˆ%���t��C��B�N!Кz��P����n�t�/-�З�neʙw�@I���&-t����7��G09R���O�"�W���u�v¶�uLJ�2����bά���� +��y�}�����T꜊J]s��YP���3�=ɻ�i^�9���4B�ZwSO��j�����Zw� '�{Ba�x�V@t��xU�g�$���neJj��z��ֆZ � P�P ]W{�z�ޭLMZ~�0��ENW{;�S�6��™����0��)8�ҘC��F�<|)���>�s@<�w�j�9T��A����V:�0x�V�_�Ɯ�K���� o�#��v�� �E�c5?�me��'�n���3#Pw0�j�B�G�!09��SBW��a���LC� 0wYs�Ɯ9g-�<�p���a��1�'�aR2? �_��tG�_)��0G^u��5u+wP� ;��/�yqf� ��z��H���u0�rf��K`w 4�x�a��6(�89�����r�V����ZȠ��+� �t�^���Jo�ۅ��/���+a4���x'`s,�@=�p���?�z>.�n�쪼��YԄ��ŷ��V�v�B�2E`��s������,}v��1��+�;q�����~�L�f�M�)�L���fM0u�*�)��B��3��\3x��^yA0+�ۙW��F���'{�m���̣�i�BƔ0�+DW v�^�o�����z�?�}O��T{W�F��3��_|�X�sj��'��� �O�/}��C� �- ^�c^�8ވ�VM��4��X(_ά���w�+SK���S�&]�W{W�3�̣� D#�p�a-�������zS� {m�!��,� ?�nbp�6���P�ʔR��7��#�H��13T�H�'}� �F� N�2��|���}��|���L5{ʪ''T��h/Dk�yG w��E��']1$nexS�SW{M&܅�<��ci� uVW��A��L�8i�=��V���V�-}=��03\Vp�����a��2U}��� ��Z��9@�1���KH��i)!�\�ԆCm(����#P@l$�#��u�#oe��6��&�4�+STwHm�~���pu�|���A�/��4�ݢF�[�B�x��hed/V���b"�@��{��+|�̠G�\߈�R�֙�!X���>���%!td��������֢ �i��i�4�V�Y��a�������MZWO�._�E�~�(�@�2�48i����qrBb��#�Y1^lkO�@��:cie��C3�+���pf{�{)��σ�9���?ƫ�8�o�]뮉�Q[<�j���}��q� ����':�jt� H���r��~93̓��E��9���Q�Z��,h$˜��a���#j��3X���Ѫ%�zN��B4e|�S�V'{Y�L ~\�/�![�� �hp�a��$��)�sO�~2�b�C� 0k��bt+S��U_�L˃^|(+��y���`�p�,�� p`� �*��hk~��V� �g2W���g^��!o�qȍDN%P҆?ܱڐQ���v�d�T#�� g�W�SD�G7�d�6L^���� +���b�Jh �E�ʴ��I�� ���פO�R<�5��������/g������L�_ʫ��1�L/�@�*`� &�`��2M5^�[����@�L.nr` wμ�*�y��ތ���� ��!����+��N�pXin��3Tm�z�x��n����鎦����֤[�� g|]��i��ͥ5�L�&$_��ggnY� O�7<��z���� �`��F��7 �ػur�̊�+�YM9���&��4�u��<�ɁI�VB�Ɏ�B4��t`��!Q��t+����5V��O��(t�j4e �#F�UV% �R3�{�/�#��v@�9�g�f@PV� �/ ��4h��=����"1r��f,?č�p-ZR�>�m�F�E;� ��S�S��~�Y�I�U���D"�L��l!z���9�Z�;)1\�[���� �������W���<�z��*~�3c�+��"�8Ө|vC#��)4��I4T o+{��s}#ޘ��z��E���j�R e�6��jЕ�)?`�6�A�XE�i.˭C\�s���pq�7(1�;PS��*(��$�{�$0U&���W��&��@B� d��5�`���CX4#��X�x��帎��g�`�-ix/I�V47LV|�k��}(����V%2=C������B 5�� �ã�)4W>��Ϡ��4I�d{!(5���_�8�u="-h�� ���T��� 0���V�N�&#����&���95\u�W΋ � ���É0p"�2 ��3�Ӧ)��� T�Aͽ�0�v��B�G������U2B��?~���ᶃ�����E 7��m����'��SKa�&5��{S+ �ڲ)�- �da.M�4`W�,���i�E�j�2���I,NLN�RJf�d]>ƹ�!-����ʛ�����v ��@<�v1ޱ�o �ڼa���M���C��Ǭ�>6l *��-� { // 初始化认证状态 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: 'mskjjxjldtf', chapterId: '15936741', novelTitle: '末世:开局觉醒SSS级掠夺天赋', chapterTitle: '第58章 世界公告,独行英雄!', 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 看小說網 版权所有