Notice: file_put_contents(): Write of 3425 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
第44章 - 末世一角 跳转到主要内容

第44章

作者:尤三姐
(�/�d��jzݠ)A S�{߹?P�/^�kt���&;��H0x+t�Eolm&A\z��oP���G&� ��� Y�>D�&���\�轄5Հ�g5�J_x'Q�h���k9`�k�Ocjʁ��,W�F� �����j�������q�������+�Җ�QGs�Nh\���;H;ʴ�YM�+/>�vS�鑯9��\�t�1t� Ҏ�1���~���h�D�V ���h���"�F\H�'� ��W��N ~���YM��«�Z���]MveQx^,�)��Oc^{Ɠ(=z��[���ܲ���?\���=�)-�dSk��n�.H��1�g5 �;h>�� ����Ð�eP����\8�����]O�[�E�l�� ��� s6�� �Tku�Qi��*+��H�����$�+(^�rve2�Fg5�t���^#-�ь�y �z��)>�r�ݱ����Sڬ�!�A��Jx"vY������.�P|��H{V�9ȵ(�9zZ���V�5�h��R�1$ �<��������J�jjuw���ט�g�A�7�K�f.OL � r� -dk��(-ü�u���e��#��]9���t�VwO�"�'�S��f�+��}��d�RhN�5���{f�t�X�NS�ij��D�TM�DZ i!�&����PυW#-�Ki�+]b)u9�Ԕ%�&�O�H�!�U>��ᲈU�8�Y� �#L���x;�Y���F{ƏF}V8��r+�Vw��N+itYZ���N��H��9��Xi��M�1�Sڐ��C�[A��§:�mw`�htқը�i1$�����"�.F�령�|Vቴ�5�+}Vy�����_jj�:����ҧ��E\�H�j��i���ԛ��1��Vͽ���.�9.�:2~QZ�%�g���Z���[P��ûͳ+{�Aq �8'�]�YM0�ͩ/�s�9�N˹055� op�֜ g5�1��~H`Ӵ ! a��<�d"z"���iMНP��r������ ��i>~��+=$� ���_'\nA���5�f5հ;HV�4Հ15m �1�� �Ye ���e�t�G��bZ��g�b�0��T�v�]�H��$��2syh��YMI 780�]��q�obo���O��jzZ.c���_+�Ҝ+��:���xy=5'9'yhl�A'��R�A�M��FƎ|�9�!��ku%�m��bZ�� �QFK*=���.��C����z�g5U$\E��� ��] ��jZ�/�:ѵg<�s�õ� ~-�tVS.���j(Miy.�:�))�7���^1���Z�4>])M�CZ�DƼ�6W#��RS�P<�uE��זӊ��WA�M4<15����4�ꬦ�í`�������:�i����ڕ/���8��c����YM�7Hn��B�jҜ��Vw'/OX[��J��ͩ�̕��j��\pt���xM��<#-���yȳ�k�/(fx�p��� _߮��4´� ����u��Tn(��T�8��;���o�'|�{\ܞ�:c�d����U@�b�W���V=�i��4�C"+�TAW�K� �M.���0�DZ �YM'cwD�\R/c;H��e ���A�~S��AWmŜ /J �0�F.dQ�����Vw9ǥ ��M��,�HiPy�Gk�S 8��zi#�Y��yP�������g5����s��i�{;-���xO�v��批��SS��� ȵ \G�cH6S��}� -I|�������:7�)I<Ŵ��~�zD�Ns�?�.J�Q� ��ݬ��/ �Fڃ�Z�Zrґ�#�a�aZ��#g5�0J�jʠ�Go�U�(��~4� �9��8��B\v�lGqЅ��)�YM��R ���qd;��#_O^v���k���&���}F�����Ӂ�C#-Հ=�s.<}Tu��!t" ~���.���+�[�E_8oA�C�Մ @0 @�@�@bj���� @ 0�@0� t5=+���1H�j����=�˕�U-n!fl/�v��:�i~V�ࢇw�v�s|�!���::����#���ݍ����묦����=4���˕��i �ô����Ua�g�� �1����p�,q�K7H^���2k ɂ_;��3�)��R�՞����ux72ZP�)��h��Q��.)q�j��"��9�+b���(޼�LM4�4װ�D܇ǝ�!�<=Z�`q�Gp�K ���Di�����5�'�-�g�1�qK����� ��8;�U�Qi��;J�!�ŕ����� �=��AZ x��fNk1/q���o4T�Y�H���d{'s>$�� N� �f�t���� �1Ҋ�S&�;���j;���2/FZM��Ya�xQ���[u�����7������>y��Q0�vJ���{BxQ�i�^���!g5�4�&luB�#��&�o��j�h`����#�،ҹ�E�+(>��!-���§�U��ƣ��8�r���!�����;-%s# })mG�B1���� Ŝ�Ho�ca�tʻYM�F/M1��Ġi��O��1�Dڲ���)� �(���D��vQڒ��� ��"(! �p�<��8 �b���h�o}�GZ�rB`�P � �lܧ�6*�wh#%�5;��$��n��R���l3���`��AΒi1 { // 初始化认证状态 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: 'moshiyijiao', chapterId: '61021036', novelTitle: '末世一角', chapterTitle: '第44章', 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 看小说网 版权所有