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
一四八 冬天的绿叶菜 - 搞化学的不能惹 跳转到主要内容

一四八 冬天的绿叶菜

作者:白色草原上的牛
(�/�d�d��@&>0 �����v/�B�HZú%��b�I 9Z>�`ԠXd�j�"�p��Cӫ�3dTP��F�ROMS ���8}F���5�OP��#����hxO�G�|Ty�)�A���ѧ�!w���<5a��bu�����W��:8#O�a�a��^\nirgy����Ϲ�g�im���hr_"���P��T�x�V;������U�U���k@�p�3��js�V�\�3q�‘+[����W$aʃ�Zۙm��Q�̀���[L��>B���\���S�2��g�iu7�x �$�#W�|Nk;\��r�xh�u8����<����!�[�%e�b���;dSS�coio�p�3�Lؾ^^�C]�"y��ڜ�KD��+*\R>#OQ%/(�S�i*MS�x���]R��f~�|+�����ʃ�I��.ȶ�� sA�KDf�6�r�g��ྛ�uA�܋4�`2��<5���s"��y��{���'��T[Ü��Q{�M7� � 6�����VwiC)��p���N��m�x3EF�|!������l� =�v�{1ÖN����P�U�D��JVw1��A�L�*�x��f����j*���А)��Ԧ�cX3���'C�F�U_����Q���A��[�"� JO�Ƚ���(z�y�m��j?B�����������z��,�A�<� j��n�a�z���y���%�=�M����x��f䩨��sDX��$�v��}�嫩��� ���>|�ڍږ�}�����i^B�3}��V6��uK ����o`*\J�c WS��S6W(r�� �g�9Z����W�p��A�Op�Gv����3�܌-��Q��H.-�����Vwjc���h�p�K( �Q{!g��\�傘[ݭ2�a�1�K�/ OX2G����S���3=�� ۜ�I����%"x�Y���sT�&0��"��b����A��u\��}�܄���5�3��g�ٰmu԰����O��p�W`b�l �?�KB_����ؙ�+{b[��������tZ�!����=�����Zm�80�8`@�@5�H@`$�@�("�`��<��s����xžQ���a|F��J������pG�5��<9Mƀx"]��]M%/q��js&��G��4�m�Kɜ�p0ߩ^^��#��K,����;�&/���bu�� o�˨�`c��o�����|�}��ǐ0�� �3 �X>ǻ!�{bW4�Bouwd=�C�2b��í�Z0ق�⇺'6�˱��Vᎇ�lu��\����YoZ�]M%�� ��?�$�*�!���ꔱ3�T.�t \Ol s�%�p��' fXu��*yT�M�=��"b`��A��?�)�0f�a�����#��M�Q8��C�W�%`� �����Tzh����)/dS_u��6�bg��n��������\�� �|�T�8U�{�v�� ��TJ<.�"��;\^B�Zs6�TY3��Es��[�L�W4��C}SdH� � �{b���;Z�$sE�� 'Զ��qCǵ� j���%o5�Lw@<���_lc�=�9��8��i�NCb]���.e�z����ȳAoF��E ���'��M5�޳�� ���0�b��Z�� �-&���2F���.�xp�3(1�(�r�,��$0�� AE��"Q����q�E�����jï������T��I��f�&�H�ZOD�Ҍ��T�~�G�O,�)�C�h��rK�6��@�)s~�ɡ�'|�ʠ�(*���C�J,�I�.�K��! �ùHX�����*iƅccC�X�\�ƙ��|�h����V��a� �� KBbD�$Isl�J������FL�`�&�S���M���r��r�" �si�ͫ�rŢ^��Z|�F���66���pxG ���1�Đ�x8�"���z�Yq`���Tɹ��1'ǎ��|����6h�MjZ��9�eP3=�P�Y�)��V^#�G��x����] a�������dM�j�����O=}��M��P���`d�-��t!�܅ؠ� n����-�Pf�m'5O��?��f�h�J���ҁ��p!�h30V�m��_��a { // 初始化认证状态 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: 'ghxdbnr', chapterId: '68316298', 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 看小说网 版权所有