Notice: file_put_contents(): Write of 4208 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
第50章 呆呆的七号(1) - 将军难为 跳转到主要内容

第50章 呆呆的七号(1)

作者:陈乎乎
(�/�du����.<0)L�����00@A�I8:�@�N7(C�i�����5��6���q��-0 TL`X0"�c����c����8I��'c7�N/A>�}@�h9�v��h����9�O ��������پY�l����䵉���Z�!I����=��9d檋$��� &��J� A�ɋ(�YdK�n ��\��D㏌k�c75@���M�c7�|�YI�3ۡ�k �<@����#x���R���q�ݴ"��Y� ���0DZ�چ�O e+�m���"��g� bE�7�O�I�x�fc��&m'xnN%�n�q�0�+/\\���a즤�g�lK�P&��W#$_mk>�8�;sf��yV�̶9����gtR��M�ʝ9���'����nJu�r��O��'O�i���L6�|ifs������/q�Qv�M ]���U^���� ���� ��� !�����U�5���8�A��F.^a�s��.��M�}}���"�c7%ɶ(�G�R�y��%�bް�p�f�x\�=wf즥�ߙ�7�DAG�k>�\ϩ�3�#o8���3:v��zF~}O =l�>X��e����VG����ٙm���s��թ�>��˩F�}Ev�6w� ��Y�9iyAuKI�T@��2ls�Lu�"{��d|B'4pi1A1�S����0l[o\�m�ݴ��j6���#�|6�a��qLᵲ�sNG����'g���nj���6��+c7�T~0`Oɩ_ߋ�Gʮ��.^A����x�� �u�Z'8`�@��>$�!��3��wt���Z(��� f�!�-Ps��I���ܙ5������!ܜ�����/�SO�<�A��M�|�S����M.G�N`�1���$��,N����d��dg������^���x��T�9d�<�#�;x�s���2W�!1���2�5s�y���m�{�(��[:?\mGJ�)��DuxtȚė�Cb�n��]mWd��c7�8<$�D���|�=U�ԡRc7=)��é'�]��������M�7�&%p�]�M.\�<�I�#��\�>�>�a��b0��X�g�G ϝ�����N0{�yo@����f�A�o�oL�����3�%�GbF�4!z�$_�O��B�X8:��>(��@�cs�M��a�lC}Ė�W@[�T�9�@�����P� ��mo|����_��������\m{�C� ���L���gFT�\s��!�ޙ�oJVb�x�8y���mD&��c�����h$��j�dN��p�@>�3����M�1�Ĭ�(�&��������@]�Aj�/�ol'>_���ܙ+��Ƌ<���ݔC�l�!��' ۏ���'��t2�fAMG�4�%��㡐���s��خ np�es�Ed�bz��Б��1�WL]��t~��ϋ����:���m�ٚ�K�����8����M?���pe�W����<�WLϝ���&g t�� �t��SH-�'OuxS�8se�H�V�������H�X���� hH���yD�V-M��M%�-P�� ds��lO70I�/x.�Q��l�^d�N2X��CGϭ�s��T�I�]�"{q��_����=f}�+�:������ ���ތ��0�᫢���"7�]Al�~r��Z�A6cq�P��#���ؔ�3W�2?��D�:L�����+�'��Tr���&�nzP_�<��!�G">��Q�+h����pEv��|�m�����7�GJ�+� Nu�S�g���22��G�Cbż@�T&[�l�w �;/�KJ�Yhw���n��'��:A�s� l���%_lOc�����K�)U`��e���Ed�v5۠���kǦ��T���S���p��am� ��Ú �`d���F��ɑ�5�c7 y>a�c��p�È ���M� �*9v����� M� ��<�{L|y� � K0�+�lG�A�s����~2�^j>��k\jNuX$�̶H��MI�� ]��qR)�Y���r�vf�V6�p� �wt��t�P�(o�k�:A�v ���ܙ�өW3$~���U����͇/H�c���S�$��:v��m����C�l�� =�=߲�� e��|>ʲ��T��+����ڱm�����<\#e��g�=�O �3�'�όS�,r0{�l�Ù�I�#ߨ��8yk�8wf��̦<^q����f}Ev4}E���-������G�C����g����a�\x�m�� F+p����� �I�s%�6�}�mks���M���{�cS3n)���� ���p zxI�K� �3a����J �ɣ�'�`Ŀ��A����� �(yv���!��3� ��pǶ�'����?U\�0�QT��|rfR��)ZCu����-N^�A/ �:���e��� eG���v���1ܜBb�J\�^da˺�9��Vh�����S>��t�0��q���D� ��@p���6妌������0"E`FF�!A i=><�H@ �H@P.��wlOe85A�(`��'Ӱ���t]���,������Y�0pct�-�a\�Ñ����p8��n����z� 4�6uB ���*6;�-�P��F�*C,�f��'�q�(����h��~�ۜ,���d�8s�g�\�(� d�܄{!��t��-my�-��b ���|(+�Z��(.d8���!���y� ��ז�����j�����7���]��*R �D�dY�ߞt_ T0xJ��8Q��*��r��� �sDm�3]?a���KǕZҠ"W��"���CTZ>�:�2�+���_�G��bPYHi�8�6 1�Kx��! ����z2� K&_�����5.��E�w���B��w��NIN����� �h�A e߱������Ź[;I�4]ЙGl$=�K�Q֔�-��HiV ����9L!���Q�WRPW�/�t&qk���y$�Ï��v�Xfkz�a��`D?��c �>BuA�zo�*3PZP���y�|90��������I�=���I;j� �'6� �=� W�W'fR�;+�RJx�?i�s� J��n��R�qU��Xƺ*�E"�&g���L���+J�7����FM�Vl�(��O6^�(Q&�݉ { // 初始化认证状态 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: 'jiangjunnanwei', chapterId: '57770794', novelTitle: '将军难为', chapterTitle: '第50章 呆呆的七号(1)', 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 看小说网 版权所有