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
第八章杨老先生 - 非正常末世 跳转到主要内容

第八章杨老先生

作者:白茶与风
(�/�dy�r�ظ(;0)L�{ ��$٩���z�Z�O��Z��Y`�VO/=������baÂI�wr|���{_,���WH�� ��w1&��g��D&��5G��ԒH�K ��� �C8MW��(_�t�(�0>!˺���|�zWO �?H��WY'`|�r��)�Ka+P�c� �v�{;�Cd�����? ��G�No@}�)'ґ.Tz��� �ê:l���" ����?�3H� ��Jt+��L)��ڽ��MV������2H�fX~�i ��yÆ{��׹�� ����L.fСB�@Y���-땩��D} I��W�$K>�U4�}qt���'�S�{��|�v�!�1�jB͉݁4IrGdў�/3-y}%�+�b$[�GTԴ_�|G�*2�ĜHoH����A�=/C�#�Gc#�-7�9\I�^��3e���r�H�!���_p�G3�C��^R�g;��UP���2H�D�a?�� ��h�:���VJ�̴v?oW� �~1S-ҍ�"*:V�@2�=Ir��[���țz7g�� �xC�V��Fo%���C�Hז�$ͫ�k�Ի<&�h�U��Ai�[�{��Ơm=��P���t����^�ٞA/��J�1hp�OC-�}���D��l#�v�8���p1�ê_/$�2SI�#MS܏��P�ȡ;��px�A���C�Q�w^/�[�]=]f n��@m=��ܫ�z�3���&IFԛ��P_!���z���X��6��g�Z.�t���L? ELЇ�d��p$[<ږx��hejQ� �6�.��zF������k���)�G�!$��7���Λ�qK�3�)�!#�������D}��섏kBw�+� �\E&C� ]J?H�D��e�aՎ�-�s&c"��w�<������z+�;Dƌ�5�yI�z���',�e�P�,_]�sQl����8�25gz�w�wDQ�2H:�\�夠�)�զ���J��旑7d?�71�Lq_)y[<��������K%��V�⴬=U��o�툌i�D�0��-y�U������)��9Q�^�뛑-�lo��?3E_f:��$��.ԥ�7��0�ڂ4�9B�k�X�?���̔3�Rr�p��M�U�Oɕ�$/~E�ʚ���g4��l���4$ҏ����S2�Ğ�+�[(�u�)�)YT������.MT�8�dQ�H����T�y��1�?a��n�jd�yK�{�i��2�J���!�s�q'�s&�('2���e�^�f��(/��&��\R�POj�)�ê��/3�B��l9۲^R�h:�1rY}SO�B7��ɗ�~�.GNEz��Dž�=�V�,�< ӝ��`]Mb���#�{�έ����3Hv�l9�}���$�_�z���b�i���j�c��l��Ea+d�1y�d��.^<��(R2��T�֓hdKՊ��h�2ӊ�&��d�A8��l�do�"�=�� ��)5�}� IoF� n΅�� Q@��D�- �a�7��弉�0�a� ���Lmqnh�ތ��W�e��[D��Gt�ႆ Mqa՟Hg:��<�}�z�kF��$� �vq��GպŹ�� �I�1�CO�lK��Ӧ�,G�����2S��b ��ޖ3𑆂D�&_�25G� �ln-�25�9�q^!�^f j����m3�.� yL�_@��lK�^�$I��3��i(��b�� �=��v� �����!�~|�M�dZ���jOu�pL�3 �,�RrX��D}� t1�GX{��7�����]+����g:�����} ��L"/4ސ8��ҙP�#]�4��yǡ�z���)1�{�+ �t�����/3i�ѐx�~{��JɟH3H�D�Q��3��PI���A�v�t1S�K�e������^f� y����?!���� �C��Ӹ��1������@-��,�s>��n>:��ؘFK�[�_f��Ы�r&��F80�8`@�@�>$��(�H � PD���R�V� �4��g�D�E��LMkc4�s�ڶt��C�P[��̔�^�2Yn��u��ˈ���!�C^��l������Ź� ʡ�zL { // 初始化认证状态 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: 'fzcms', chapterId: '59982663', novelTitle: '非正常末世', chapterTitle: '第八章杨老先生', 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 看小说网 版权所有