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章 做一些成年人该做的事情

作者:迪士老野猫
(�/�d�'ՠz"i6A a��{�����M��b� b�jl�b�n����b��Z�EP) �@@!VNL׮��֪�O(�R� �B��=P�VD�SZHi9�_�����PqH��n���ڠ(}ti3� (?�#l?��w��:�&(���vK�$�p-I���t݌ëh� �6aa*;�pC����Un���R�cf:�_�4(i��i��]��A��݈G4�z������e5f���0����FԆ���i/eg�E�Z�iՠ���#�O�13%I��\�Ֆӂ��%(���3S�D'�/H��\���^�i�i�;&<~�tw �� (_������ �y� ��3��{���k�!�]4n6��$��Q&rO@&��q�LD;A�a����rZ�mW83u\;m���e��&�3��s����U�'vlW��0� �p����7�)^�2f��U���$�;�w4'I;qW��4�h5���T�i ��p x��=�� �C�κ�\����եv/k&3S�N� �����;�S�K��i'(�t��Fka�_c�Eh�� uH��h�� ���5~?��iz܎�ؘ�nN\͟ ��V�b�3�"l�l�m�=v4�P^��v��B��hki�D��3S��@\��13�D��>5�{ûW���N�)���3�9�A��J��)�f�q�􉻕�"jg�L����9Ӗ'�wP���b�i)fzN��r��rZ�L�  m���zJ렺� ����jBmY}&�c�����D{�`�L1^ք�����' #�����5��w��!�M4����13�|9��E�P�U="nB��h�I��PkC ,��:���^�E�V_�T��i�I ��w�L���.H˕m��"���,�k�L� �[yE��b��cf�yMZ_�Ke�D;~�!��9��Q|^_�E�g��af.�@'I��Y��9(ij��.�@q5��l%M���hI����@�O�ջWwE�%��h���P�X� �E`��na��3-#cf��(�nÞ����tv��#cf�5�"jP$cf��ݲ��\�s+��*=q�m�}�pH�91�6L ����0�h��v�D��Հ�E0iA����2�ȡv�i�rq��!� ����艫nY��,f���13E-�8z���ZiQ�9�K�3� )-�{���b¢1�ȥvQ|H�1�����A�#7>�L2�;����3S�7��{ ���iL�3hDm�D�(=>*��o"]E��iu�+SOܭx�!o��E��5�s�/Hk���� Ė��Py�{��Я��� J:z������=me��/cfz����&�M��%̅�$|Hd�ա��.���_�v;-�;��Я�W��Q�,ъG�x.g�3���Oo`�ҿ�b_�p�;(�9��:ŚWZ3P\� �(����s� Vl�Dԋ���h"n�����=�9�ݱ�3�����a��S�_������$�͉�P^[���J�� �昙" �*����:!s��h-f-�����̧!�jN@?qw������^݀�የ13]}�Jz�n���{�3�Nu?#l��q^Nw�uAȝ�x��H�E��$iG�TSH[E���,yɘ�^�QN {�.6��/W��,�AdNwDmH4����6q@��!C�3 }u��.f�Z���!+����?m�UHX!��5�}�|.f� m`�"ꉻ��0���޵�wD�U�Y�$�4#��GexT�wK3D��8络�"��w���#j�h�B�i�Ȯmյ�t�� 4:)�ڵ��P�$���iG�U�AL��L�tMV>qW��^�z!� �5I{��̔�N��� 0��'堤�+|��r]�����h���]Dm�x�ZX���]�"��kXc56���h�6ز�t�w^c/ _����5v������L��L` z����fw r{�-`M�[�h��8��mj��F(<�6p��W�$iI�F�_Uc�K������Q,�n�+�/6�`�����DR�_�[j�F��;і�^x�a�3�+���>�>R\��AIK����a� �Ǫ2t��Au(����%''m�����@_�S�o*�£�h��4ቻ��VF��tup����� ����5����慘 ���:�n@9G���¡fՖ� ,:l���=�G�D[�n��i��S���;(�@̅��{�*���$}��i13EԆ������6f���;q��&�%-�ѫ�혙>��l�_�G�S���5 )�#8���sh�s��,�<���S�w�AQ{����^S���5X=�ȜI_�uP�h\і�rZK�#��c�.=ڲ�� /7[��W�K��*��$i3�|1f� ,�H4(�/����0�z<R��I�r�% Op��wK���@Lv}U�0Ɍ�DKq����nAv�D�k9���4�8v�͵Ʃ��ȋ�WH�����w���>`*�G��5I;(Hi7�E�s������5�� $=����-�9(�z�I���b��N�崐�f�W��3�-���;��Ϊ_c��� ���� �� ������p� D�pg��Aƶ��]4����)Ա�(�s�wѫ?���F�p{W�iK �^e�>�� ]mp�"�M��*�t䉻Y�ƶ׎v��P/�dDZ+-����Ry#������&�Q~H�7ڋ�Y�4g8:�"꫻���u4~uW�Q�$�#7�~5w8�y�-���@wѸ��L��KN$SP�U�e�E���v��Z!���v�L�� C�Q${ �]+T���W�U�L��V�~^��w����Q/HKA��~^���臻��65G�/�Er�q�גh�j��\&k��Qh��߫���13 8H�M�fw/�=ૻhɚu��RX�x7[|�ީ޽x7���4UzH�����4G�U��:��p�8tW,�𦵂�W��3�W�ɗ�/�W]S�cf�M})��\��4��hFA�l �9]�*\E��"o��b]�q�k���Kd/7O�|�n����%�Ls���HF/ \a-�5�AI_��Q$�T�Ա�r"Y+-�A��l��W�~�f|:�Hµ���wH ��zV5���i͹�Li'�. ~M����*��(�A��dh�2����@`y9D"@H� $�.��t��?�Ǧ7�� ' q��^�53q��{0�{^�_�7vJ�j�Io�͆��}q���h��W���<�n��u��e�-Qʾ�y2RyP1)�����גT�uw��8%�a=V@��ݲ��?r��C�؎���Vjڋ+�VL�q(���(2��C� ����G�N't� 1'���z��{k��5j 8O���ݨ�e�5� ���Ġ���I�W9�6�eA��9Gշ�"sN!��ց�>;K?����������A�sb�����lBBfw���+W��a(YX��i([`ɥ�8�z�@ �T�' %yλQ��ŭ�Ý& qUj۽g��R��`������6i� kI��^��S pA��z��RP-T�@�ƠS~6h�x#��ʀ!Ջ���'|qB��-*v���s�+H��6+�871�e���:�_ �\��֧Z�(LF��C��>�7{�� �А����)�ƭ9�7�)��rM ��G�� ��+��ƷC�R�aH�1�J��x+�'m+q8S0i�yXGl;�4��<��-������4��Dq!��& ��g׊������� ��'<��CI�$2�5�Ս������5E�)�i�­� ��x��K#&Pz|����^������v��5q'$G�L"�/,�1TX�/���շf���w�Z�4�G�'fbnB �OI�� ���h��w����J�$�ub(d)a_��w�I=~� �6���h��3�]�O��=����G�?�. { // 初始化认证状态 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: 'chdxjq', chapterId: '62253565', 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 看小说网 版权所有