跳转到主要内容

第422章 你妈给你炖的那个汤,以后得要多喝点

作者:息心
(�/�d�]Z��H:@S�H�=��x��ȺQ�mX�N�otDZqn��W*�Jez@Ǽ�����5�TWň�����&L� �)�B�I��1c�@�4aw-�6��s�Y�wjK�� �^nC�ڕ�ԖP�6qvE��B�0jeQ��|�����"��L��Q{��E�L��Nm�[�9�a���A������*�6(��#9��7�7��Ywlyl�����wD&��-o�S.�>?�S����c�fH\9ĺԖ�œ�����N���P�Xj��x�t[z��lo��f�n���M�Ԇ�- @Ή�~r�'g�g�i��~զ�����R�Ò�7�Lm���p�-A�s��8HsY�x$�aѣ r�n���7��� `9dM/2g�|�N#x>R��78���|����t�ڒ��E�+`��ؓ���Z�!��o�z���=�x|�y����2�e��]��($��T��;7 L�䝰%a�3<��d<;��pw1AV #f��?4�`Nm)���nP96[Qz`��o���| 6C��Ӿ�r�B�3�^���$��p8�n��㎥V߁2�a+�j� ��� ���L���dl���6la� �'j�HMm r_��S�sȤF�\,�4*� �k!n�����.�eÄM.���9�e��9�7���Q���&��4a�P&]�@�0�j��'�� ;JM�\�6��P�2?[�� zCߩ-I zɡ�#P�2�%�܃� �'p� �n6V�"ʳ�A�ǽ��1n���z��P�Xm �+n��G�ژ� N �Xm��0Dˉ� t$Ir7��œE��Dd���&�� �l���qς�I"2�2fjäRF�H�爙+�I�O�A/��V �} v��R�(72�87 ��g���gm�am-�Ԗ�msN��:Q��r�'���C�;͇ L����`\�v��dܚ��8�e��2f���]�ULn�8�8"��ڈ��ԋ1g �*8}�!�(�jM3ĺ[^U�~�޴��0�Ԗ]C�>o�me�`����ΐ����u�Q[���v��Q13��+q=�3���ac�����Nm���B� �Ħ�?<̻]Nmm�t�Y�� �_ם���zݵ�(�26f.cc� �Qx@���an�,\��ޠ#+�K 8��� M�Pbݫ�_��W9V��d��RS[n�7��!.�v�x'��+�C��|��^�:��K���`��� cj[����� ���X� ��ڐ��µ��>���K�+"������|)n].Ir� w� ZΩ nvxv8�8���Y���� '\rh�����6^H�x �}�! g�C���tp&6VOm9��i>h�e�V�S�[ �����f]6fP\6�<�i kx��3x��`j� �d#�KؑM��7c[�,�6ĺ��9�^ɕ�}��w���%T�6\���==n�-g�뺡� ƭ��- WA_-� � s�����.�e躡��(w� }�8� 78�Ԇ=��[��p\�K- �3͇�u�Y�Cs�@GJ0w� ��@ 7��'Lȍ�����-�W�>͇ �C�80�|�W�� �`^� `�6�uw,A:#�7�q`� ��<�C������ˁ ����|��g�ĸԖRW ��O}��ã;]�s^jÎ�@١ࡣ[B�L}���ܴ�!��Gd�~��|U����Kx��޼�â�n���� ��R��U�gؗ�k!!x.�Y�`��Ї0� ȵ��3�+&�t�&[8| ���ҳ`����q�q�022 (H�\�$Z�P����E���F̲m���G�����2P3d�,v50���pڶp�Һ�wnt�*}�Hx7���vOA�D�b��,�β�����e�`�u�;9��B�¿+�)�&��z� Cwn� ��� �]o�^8�µ��H��I��������D?6A�/V�#|�w6�z?��Lnaǐ�u!��l��ѷ �rS�*��4�' �X�w� u<9eXz1G��l���E'�]��0d8%�@�C�:� +���K>���[�\��C�+���3�Y{��(��J� �L>c�@R��dުP�"��AD:��N � >M�sOJ��&w���! N���Y��T�U�����/�g;���)� 0~F�C�+V-���� T:� �� �l�e����#\����E�0+ƢFO�D�N���H�t�a��`�A-.��U�y�"ڈ�ߐW����/o� �?/���WOT)~��2R˂�v�EG���8l_t��{H�9h`�㎋���y�7!��;�u��4Tć��,K�U�'��Q;��Ac <�f��j���mؔ & 4�1h��EW������Du" SѠiˑ { // 初始化认证状态 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: 'tongxuedemama', chapterId: '5409360', novelTitle: '同学的妈妈', chapterTitle: '第422章 你妈给你炖的那个汤,以后得要多喝点', 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 看小说网 版权所有