Notice: file_put_contents(): Write of 3426 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
第868章喜讯 - 重生:回到老婆和儿子死亡前一天 跳转到主要内容

第868章喜讯

作者:任天野
(�/�d;�jʼ�#<0)� �%�{;Pz�S�z��zҳ� ��뀐��"c5���Fmt��^���(�ߡ� #$'�%^� W.�^��f�26w}�k7�P�!=6v-[�itK�I��Fw4��0'Y�}Qx�B+Q�j6]x������ޕ�F6�,��=��댊_�h?���_�,|������^4�����?�l����?$ٗ���d�i����(�f�cs晲K�lK�����m����7ۏ�_P8��/���� �|� �&�\r�� qXa�d�i�-{���闇��!�����F�(��pH٦c�!}�����I��`-����,V���� z�>qf栆k7)�}f�-5?��}�sH٦�K�|y��>z)�V�T7���-)�w� ���njP�`� *ہ��� �C��B�s�vS��&�Ѹbs 0��p��b��KΜ�^�|�����E�K�PS��_� ��-v_[�i���v�B�e���,^Rb�ⱃk7�2_�=|��$���t���}�P^����(�vS�⍱%%�����q��M+{�����4�~�<�`�m��7�K���H��=��Zȗ�AeC��6��0�^�'�'�N�D�i�cz�{J}������4c@��z��QX����È0�n�<~�}��<��p���6�� �M����o��]3E� �;�5��d��cc3��[:̵���d%� R>z%~.����̇�NF4�f{4����b$�V���A<���zS�5��ls4^����b��З�\�����XP>�m1{c=�~!���"����L��bvI̠�W7�7A�|X���#WN�26����^��� �%g��#�\��a �Ey(G� ��� 's�l ݁���"������=��ͶvӲ�G����L��]���.8�j�*70]�H,"(WT�B��+�FЈ#;@xA�q�{��S�Lx��z����C�����������W��2h�饙��{W�8�:�^;�sd�}�q���cz �?�o�+Q��G�X7-Ta�^�$�$��p�JsI��y��³�- /M޴в� �S>q��"�o T잳�󹈁��f �)�����g���ѽG�����.�13�lӅ?���Բ���+q��Y^�p�aK��-s�l�g�W5_�|V�Wё�=W� �M 9��/���qfo�_(����/�����[�[�7e��!���L.�'s�w>��lo4e���Pya1�f�1 <@ <�@����X`h��(��8@�&����A��u ���xh�ɛ�o '%2B�'�{�١�Qa.�q����$I��_���}��#�l�!�d?yA)��^��I�5e�&��X�z��K�lZ�Bx�{-�.|O�|������6'���"症K3;Ⱦ���A���=�Ϫ�!�#�C@'m��/�����@Ʉ��"�Q��!�a��M/��H�ߘ�`;����B�j �dE�c���9$�)Q�ɚu�"���}y�C=&A�����-sF��/��� z�(��a����kd3��$�H���8'e�+��s�$[5oy��ZMU4ޝya�N�%�])�Q������&�I��d��ܴ�������s�g�/8^+��z�lԇ'g.i�d�$�F�G�!e_�h���g h?��_��qd��T��^�)�p�6y��������5��ٓ ۖĠ�;�����M ���}16fF'_NT��&藇K�3Lo@p�B?����&����^_�$̨xe��ϵ������J\q�f{k�H��KTrfO���n�˨A ��0#@���p���{$Rj� ���D@"A�������B6 � ��s�H�;=���$��a �k]�!�� ����� !~ �>�� ŜLB��� 5���;C� �7��6p��<���ż��Nj��¸Mou�nr�+�%�h���a�ft3 �V���#���r�ٮ�x�6��IJ�_�J���vm'C��� Yh#��GÓ���dU �(��gcdSIH���-�����FQ�#P��UȦw��?�i:��Ϸ�7���)�C��%�����\�&څ��0�0~) q�5��� ��^Q����_�±s�J94~�V`6�X&���@�&� gX��o]��� �����&o�T��#��<� #,~�`��u���~�M���U�0�T7��sb].wVs��B#�4�����ך ���B�b1��C��k�xS�a'�z���P��������U�>��$��fI��r�Q,^h�"_3��?�tB�T���� �Gq:����7����|�CR�@x���kQL��ۋ��e@Pg�  B�Ҙ�����+M��e����H�3Z��JWڄ+�xzܕ�����o�ڔ�>�;�{�|�&~ mS�*�:�HV�V�\a.O���䄙n�.9��_�2� ��fu7W�!=Kڊ�o�.:n �E3��������"��#�m=�G��f��eh��J���~g��F�M�J8�-*u�|��e�<�>ˑ�r`��k�{��>�}B7!�bB�I��J%+Z2� ܊l C��ad(�9 k�S������B� { // 初始化认证状态 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: 'zshdlphezswqyt', chapterId: '49054696', novelTitle: '重生:回到老婆和儿子死亡前一天', chapterTitle: '第868章喜讯', 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 看小说网 版权所有