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
040 第三版本:“启航” - 塞满玩家的移动要塞 跳转到主要内容

040 第三版本:“启航”

作者:啊易Anoy
(�/�dP$M��2F � �w�9�3�fO��HDbL�ZBL*h#����$��H����9�LAd;���k}��*O�   ������� ��H_݋�̚Ų"��5�yخ�t�Qa5����>��8F1"�f�c\��b�G��d.DҫR/�V9��VK�rf�P�F���jo��{w�$��9��������d��,ҥ�#��Ztj��A���4�uf�@�A���I�O���!?��Ld#������>���jN�E�I��(��0� ��$��Rs8�k�g퓪A�K�ê⎐��!���l�G�y B�2�B���n�q�Z~� ����'d��rG^o���<���ܙy��[-�+B=�Ӛ��o���g�"�VKRȓ��D���1ʳ���٢?�!��ZZ�Y�8 � �g��#��(30��4��-M-���8O]��!���W��Ho�dTܔ��J ڜ��Â2�{�<�Ü@�"@Ab>�D.%.�O�3�ڍqM�/%n��� 9bjU�'�G��ރ��r�젌��lŐ��}���^���O��Ծ�͖�N:w;�Jx!���-��(c�l�t�rI�y4��ս��c�"]�4 ӣ �u��Q���G(�VKɊ�D�\�\{H�X@zR������jٙ��~��'���ُs����jjIkcm�8�yڭ�[-K�k�q�Ӕ��_%����֛�z�QvxO���uvi{�R� !{�5!�&sJ���� �_�C:��^�tW��]-C�1�7[ "+J}0r"ԛ���6&�U>�l��j鍜�z���u6�|7/7[ۂ�̖j� Uk�] �������#h�쭖�o��07E�K�%��΁3��2����G^�>+�od������ 93[+�Z���Ľ��Y:"�I� �UYKH=�,GtNɂ��Zj�s����>c5�����^4��_N���{��P�$��yj���Z6hn$�W��(��қ����ُ�GȚc#c�>�pp���~`=�XŴ��5��Y��� yE��7Yo��H�A$==7�y�B�3�0l�/�:W�<��/�|u/������YPƯ���W��R_�'�"rjш�0 ��̛�����FW@=a\��_%(�CLF�"~��$��" �����`i}�#� xW�2X���3��*u�i�]=�� K/�ApR�[-/��x�sn�6�F�t�Ԉ/6`���"�|�����꾫��r!_�s ��l):�A��~���ͼN�� �⭖Mӭ�ئE/P6-��l"*� �Rh'�圜R�>��z�%�rSO��f��NTV�4�ѣE�(?;c5B�S��la� ҆hk�!o0��r!Ҝ�s�}��K�y1ړ�A�3��li(�ܫ{��7�y�к����]e�EgfKr��ʸ���l-DZ!��Xx��� R57i��vzϩ�-�������P��ǹf�� �l��~�����dq ��E����<j�wq�u��W,{����duB�#���WDNqzDq��ΐG�K� ;R܄��jY�4ђ�/P���A�'�Q��==��T�pw�9�`)��8�X��5��K�|��B�M+VYڛ�Ƹ(r#eɄ����z�?��!?�����,B�q�Z������4G�G�#��Z��vLS׍o��p�\5���?��L��ga� Y�a5�/���ہ+��I�,����c5t i�Z�jׯ'��!#��@��,q�G��jy0����u?3�@� �q>*n��;��1. t��W�П���W��(�����4>�O�!� �1!m�Ԉi��;���z� l�~#u��� �e�\��,�1�s/��@����� ���A�PҩE#܁Лy��R�h����CBV-�B�?α��Z��/��i!��%VD{���"M�؂�%�?��� Ғ O��D�`�{�������?$��9(� �[X� qK>�� �� kO�g(i��)������� �i��g̬�>0ʔѠ�E���\ԧg(�Ȝ��T�б��r�[�ܒ���������d�z��d���5����׈��|q��V��n�dd=C����rNN}u�X��s7��.5:Q��^�����PS>_(�A��r� �!7|âg�GȦˊ����m)� l���zD6���XDy3/��q��:#>%�mڭ���#��C�3�Qa?� F��J�*�O*�q'�z��#�T�;c'h�� g��A=��A�ܪԛ�E(��=)d��#d�5+fT���`Z`*�=v�ю ����Y���,�ў��]:� `�b+ `$�����d��e|Ԃ[���UsE7����t�=&P�O6@2��d�y����8�F�$7�z�I�E]|z��f�\��z;%_R���x�օ"���*�1m .��8i�F�4�w�Ε91Tv|%�? �E��ءآX���I������y5��X�#����1��9�9ˡ�=^�X���H��w�O�a\ݒ#qٝ�%�b-\�<�ӳ##� &r������xV���)��i#E4�%S�:����\t5��QC.�b��?���sN�\�B��| r%����KǼ|�=҅srA(g;O�� �g�����g��X���������z������.�<� { // 初始化认证状态 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: 'smwjdydys', chapterId: '55907122', novelTitle: '塞满玩家的移动要塞', chapterTitle: '040 第三版本:“启航”', 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 看小说网 版权所有