跳转到主要內容

第181章 见婆婆

作者:修仙绵绵无绝期
(�/�d�Mx��-5@����9s��]]$ٝ�%6[��Z5��m5T�t3K�Ȑ����̌u���ԁ���A��`n��f��>P�Dv�d�'�wT��?�6,f�blk�ъHLޖ@&�P�x��\ڰ�p�� [���yƋLd{�2�ͧn�Ł��2׋{�$o��nW�g0�$`� �8�y�V" j/B�J�Qꖹ~���ٟD��~qۓ���-s��#�N�3���d,�����}'��� �=�~e� '�Q��J]��M�`�Ʉ_�%�D�b�s I�rP� o�Ճ�/] 9y�<y'k8��G�C�7���_ggn�������s����_N-r�N� sI��ؖ��+1=b�5��-s� Y��6D����K��"���W����] �|.m��\�|��i�2W,�J�/��U�e�_[ ��OX/m�@��mF��eو�wB7x|��p�E�e�$١,m8$�G�e�Bu��G���҆�� F��>I>�=y'�]H����W�O<j�f4|ANd7�?h���ր_�����ظ����;� N8�jl[�x���e��3�K���Z�9���3���u�2W���۠���s 978�A6��S薹66��Dv�_��d;�fܾ��`�6w���e��%Vu� Bx��.Ld#�82�����'��6̑�m������Sh���(���̈T���]�%�+�X�ď�9io抰�;;��d�T/� ���+j_ڿ*�t�f�e�Q�/�7T�D�u�B�����5e#\�>#�Q���A�#�PO����Dd�%G(*z��҆5>|��8��59���� �[<�\٣dk:�u�69 rX�`�� u�)��ۚ��Uq;��ld�|C�;U�0ŜG���J������y�y��� ��Y�0�l���T��]�qh(P�0�s���!["�@b�� ˚ ��O'j:Q;�+n[�ox�e��!G �P�Q~����aG�P��r~F� �>26�����x��;�Yya�{�탉_�[ uQ�e��Ivx��}r�Q6�U��6I�$�q�����@f{�v�r�Q��.`gof������ܴ�(;��s�NM9�0�_#C&�P��V��/�����c�K.B�޲9�`$gG���2W�m�C�Kζ��BO��_��4�b��s��[疹bҗ�K�ξn����@�T�\G�[T67��^�6X0Iv��=�e�"���v��9)��2ת�u� ̶���vq�猱/�_�S�?���񃇒yc���n��"��&t1t ����s&�2W��h�3�!i����[dL�e�D�k �x�����3�i�6�H�5�]>*e��1S�4Sc3�;�.ŏX��V����H��_7c?�9��{�×I����D� ��l�\/ /o_��������9�=C��$o",mxAvJ��e��痓'�'�M^!�`_ v!���Q��̙�g#*�~s���,m���:n_���G� WȑP��� ���^Y�ⶽ=�m�p&S>lr8����9-���vJ=e�B�lGx� �l��]��P�7�BO%ol<�4ew��~3[S���T�ŽD(k0*�r6�u{3���OT���T�ԋ`¸�y&��� R� �$�����H��uo�d�����l��\ *sk�U=�sEB'� ����Ö�>����6�uq�{"C�D��~|��Z�Ed��!�'tXڰ�ʠ.�]��5sۛx^K���Ö��Á3�­�w.m����vX�p�� �h����^�� ����dQ������/��X�>~���a٘� Nola���S'KFE�M�'�ñ��%��Us��S�OP��� �� �?�G��~݇�����E����d���2&{��� �����b���~ݓ O��Q6In&�!i��P��6�򕲣���ԱPK�59A�%d�����+e��M�-%�Do���� d8C���y1��lE���'���y*9��&�b��3�'�9�������ec8�2W1�M��-�*h��[� P�*6��ĆJ� �c���m�A� �|9�B�8�$�(P��ki��2x�\9�E�nc����#�)����m��G���ْ��K�ٕ�G�G��L(���I�>�R��Ǥ�OdW�W�9g�m1H!+o���e3�S��D�?Ƈ�Gi���݃�����ʀ��3��1^��E�C�iV(��|pB�'��ۋ����C��c�#,�x~�T�C� V?W(^�`{�r� D�P6R�9�k������3�l�� >/ɾ�#-�M��|3[q�v8C�xP{�E0[ns<�f�-mx����̒�Odo���(�����S�?�,�� j��`~��l�p(�0E9�L�����f9�%�&1f�l���K��T.�cᰁ�s3��ɂ�.ޡ����ٍ�j<�.��XA��_� �P�&D���Y��) )��2��AF4�"$F�� T{:��J�B���yG�7ȁU�s��ܫa�oe�2 >r��v�/ 0�pԈ�@� �����,��>W0�x.�D8��Fv�C�VKzD��b).D��@��3@��1�Y6��M��ؑ|��Ŷ��gX̸m��f�J;E� ]O}c�I�q���=���"\0�f������oƒ5�k�ל����;�p�#lC����=�h��j۷��߅x�>�)-�@X����NH;f'xWr�c/�*N�ӀQ@uh'�=�X�� n��Ə�n����L�W5��4vD��ł�Lj=n9� d��h���n��b�P'!f��g������Ӎ@�K�� �5@��2d%X܇�����4�@MVjT<K_�'����L�F�|�.%W�?�Df܀�� ��q`@3��2�a*钙�������L���nnR����F�� ��m�p�p�>�#��ïb�$?�v|:�;�W��\g� QN}����w�PTf�2��� �_��g��_6�}�s�� �W:>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: 'ccgfzdmyzztgjj', chapterId: '87991989', novelTitle: '穿成寡妇,在大明养崽种田搞基建', chapterTitle: '第181章 见婆婆', 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 看小說網 版权所有