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
第22章 毒液 - 夜色不及你温柔 跳转到主要内容

第22章 毒液

作者:夜微雨
(�/�dr%z��,=0 ���{��*�*Ē�1�kt��Ť5�F�(iYd7%������?H���/P*�����l��'�+IY=9�� �zFހX1`s�j�������PGX�3r�ɗ��<�:�X-x7�sh�°N�����<��u�8Y��ez���2Z��qr伌�!�c�!7M>9����CK"�?��/�Յ5�(�t�.Ƞ>��|2zpz�� ZR���/���<�lZfd�@���*�,SR��-u��d��E���В����y��w��8��|�9�$.�Gv�2��K�G��i�4-8`�@�Ĵ�q���|P�����JO�ˡ�Hʉ�,�4��wG��v��� ʗɋ��E��;�!��$Ρ��Їȷ�[�mp5e�n�RlP����%Ov^���U���9�d��I����'��/�v�|�v�vZ}B���=B���ɯ�)X_&�I<�X�Nk��/��t&!������/�/�/��7�pz����W锑9:��՚�))#<Ρ%F��;�d֝�jF�������ng=�uH�6�YW�k���j��Ρ�os�Ӎ� ��6�Њ�|���w=h7&^�} ]�VA������9���z�\��?�e�c!n}T�b_&{){6��KYn�βA�Z�Ur��>w�ހ�ibM/�.�����k��4YC�֦�z��'�JN#WqJZ� Ng��@����<$���H�O�1`SR��T89n}�B���d�!j'�|��k-�(Q�C�4yԸ˜ɛ����,s �a;o}7��y9v���#�))��O��A:�A��c�CK��'OF�i�WjOh+$����r{O�v�Ϭ'�ɉ���^`g��b{��pai--L��Qi� W����1`#���9�d�|r���O�ˡ%���F+��"�UT6%e�N� �CK��K�1��ˍ�?iܮ���'�cY�Ӥ�2��ѕ�C�NXV�\�=B\a2��0�I��4Jq[+���.���i��g��wɬ?�8n;?)9��p��1��b?��*�tZ}g�!�S�5�;�%oNfd =B�0�[�=]C�w:oX榯��9h 8=|��O��-J�S�̶���L#���G{k=�u��%�3F� �d����0i>i\M׌�/����=V��'˛͵���|��βft��#�ȭ�VP~x�a+GҠ�c�v�tD��W���8���"�N@!�0y�=�=��]:����2C��� �'\��s ���F���9��������ئ�EGjxg��^�y��"P������œ��C]� �$�ƜL�FmȹB��zR��Ĩ�2Zp�:��"�SGm}w /�p#js��}�� �֢7'Is�֧��jŢ%_&o�;N.�.��"ހX��{���4�Q-����c�x�y��zL��v��z�љ���wE��,S(O�^dnZ7����Uz��N��ƀQ�CK�&�e��&E.5}�i���E[�Gob�i��X)�;ˡ��mŢœI�҈�;�"��`]d.�ZbrD}�� VP��k��a+V� k�� "���[;ju����� %�H��+�� m1t�򓒭��ޜ�8GH�O��Ԛ!���7��4w�4�uHr'%��o�'�&zٝeIOJ4e����sh�q2wХ��J�V �m��;��.�YN��CK�՗�g���&a� m��5�o�/�N��x}�<�M ]�� ��cUh��y80�8`@�bZ�@� � 0@8A |h��h�h�֘�m�z����g�E�P�W�����X�ED~0���H�Mt<�~l�r)��e%O��J�+�<3h��$ˎ�)�w�?��p.�aYG��Y�!����w9 �l��G��ydt�E�!���*߼�tݐ��(w�?�#S�Nf-R��:h7Q������&S�O�!�I2���Wi ��ɬ/���I��|��"^�����?�3�w5 ���G�Wi� �-7���R��L�%}뻙סJ� ��]Mu��K�-�/�-�K�ըM]���괦��� �c�R�z��&z��5�s�ʠhK��zN.Z�Oh#h^�o:\-�Vjzt�k�u���*i� �Jf=]�x�4p��`� �i��&�ʊ�3ϳ�A �L?4��p�Y��+N�l�ٚCK_���L�D�q�C���a� �5�?� ���(h_B�A��2�T��ғ�.�h� ��>w�D�ZJ#�K�0�2y����� *O�|>V�s!�7 Vpz@�VM�/�N�7^��zr�����S�Դ�&o�k�N�ޜLI��y�lF��e��d��=#�T�`t�e ��Ac��0<��3����� r9B H B�0�rk4T�$0@�l�(�WLQ�[f�I_����F�� ����LrN��a�+���T"fV'ts�<�恙��̺�I�ũ���]� $F�9E�o�i^V��L@=�d|�F�-�kpA�x �VgR� �� $x,9��?��[)��0Hc�@�b�� �騁8| ��~�&V�&�r�أ2����J�C)���Q�� {Ԩ�QNW ��\�&�3�"6�' R|��HJsހ�i��l3�#�*�M]��笳,u+��!gɇ���̣� O-3 �h3m=3DG<��QZ ��i�D:}p��@�N2�a���]�9��ݢ������[bYjW�I��+4yJ���͐L�Z��YuDs��?�$G��(<����E�e9 �Rfd������u.�dkQ8�D���8w�H!���mO��`���5���+2��7�@Pf�P _��_7s��}G7�U 8�2h� ��с���!JJ�Y�S�z�H�@_;���.���z3A���!� ���h����8���9��r����� :tr�]�=��~�X�����w�8Q���F�6*�-G��q=����f�ݮ�E��RħePc��(��mrŋ"������џ�Ab�eR� �g@�w�[�4}�] "�`@ ��� @�:"D�*[����RmK�� { // 初始化认证状态 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: 'ysbjnwr', chapterId: '66779795', novelTitle: '夜色不及你温柔', chapterTitle: '第22章 毒液', 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 看小说网 版权所有