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
三百二十九章 婚后桃花运(三) - 重生悠闲小地主 跳转到主要內容

三百二十九章 婚后桃花运(三)

作者:沐双
(�/�dd#e��(�6:0a�����v�q��P����JT��RφXS5J�df� �T���m[���y�00�s��YUZ�� ��**z&K�a2�����Z{�,_�O.��X�|�2���=$�{ $t�G�d��3 ՆR¦�*t0ҙ��&Μ�;q�h��`��G��QĐ�/�]ce�8���5]/���q��,�����3T@_��#ޓ������1��Ky�2�h�q���=�_֖�U�4�eKy�hO� }y�.'� Նn��G{��l���3V� �EHOA��ȤB����!��C��5����a�L�W{�J��M���/�E� $T�h��WA�PoX=��J� �>����ޱ2%���| ]��G���O�y��[��V���3aS2��h�z��`��k4�� �'G��8�� bȏ�[��X����vg&1XK�f���6��5�B���0+ӂ�+s�)K �+S�${���,�1>�w�C85^g�� ����}ⰶe�ECț��s���V�Sj�O� r`0Ҕāf�~&0��D(�ve�L+�^ً}�*z�;W��\�U�����M��E�!��{E2碋��� ��#6<&�U�[q`�t5� Jb'����`SшG[���̕��k$��NK�#ț9�g�A+g�V�`�\y;�?�v)o�@g޴/ȫId�L3� �:�����T������g�'?jW+S�&��b�C����3�5��r ly%�E�Gy��3Z� Xv�����j{��3�� Ux��C�2\��`�ތ�E|/�� �"���,o=q�A�/�=������%qj�'�t�r�����ՒK�����ȫ�-t�L�C�T�-[K�!������}��2��c���x5�b��;qdi�L'd�p������@{fC'����x��<�s��G�ZH���:���aͼ��65fqL��:�d�6P<�앏0��Lw�zU�l�L�/[*��PR��� ��H/�īy�p�L�ę��Nx2^��X��z�pX}�x�{��QE-�j��Ė�X�|�t���+z�F0ҋ�beJ!q�զwy�NG�|�@Z��Rm�.��^��(�w�`a�w���X�·]�<�7rfO"��̚� {���3ޒ� F:rf+w(��˖��2�T/% fY�-zW(:��`�L- ��N�.�$nz����>pjT�*Z1�!�C�%$��;�;�T2��n�0�b^ �9q��a���,�^��:�5�38?���ި,��\y���ٗ�)]wY�����[z.%L��B��.�.�#}��3� El��[�����`���L9�yȍ���`I�f�K)�^=��h se��� �\��1+S K��37����vH� k�E������ ՆM���V�� 6o�:�84��� �4?��w�Y�z �3a3��k�f�be ����2���+z��qhE��"��Up��b�K�4�� T���`NsC��n��v�[���wM�/w�&"4�~�7���w��A+O�W���x�������� @����`Ԣ�����{T˓� /z��(�����W f8/aͱ�pr<����#L�j�8ތ�˩�X�.|r�}�8��n��"mQ�3�x=��m���=�8toC{5��'[��E�V��5�V�#�y@�$H{�c�.pC{���`��t ��8^�/{&=�T…#@o02d���!�'gnh?\�j{&-zG�2Vs�ypœ'3�θK����d��a�Q�2���E�W >�: !/���N����uA^y�2�d���� �Wq�-��+Sj4�B��?�<�(2���jѵ�[���Ý����^� ��V{5���c��6bk��j.Z�ݢ�H+Ӄ��Ϫ'�� �r���2��7�@�<1��!ٳ�'{�^0���L�R��C_&�̹�1�P'8B��Bc���m���UJtGᖽ�x��oC`�^`ޣ��96ބwKy3\/��F�9���� ���| x�Ǜ1FZ�i���"�ګt��g�����%g�|��/+(�(����a���s1^�w��5^l`��_P?qxS��� :��C�`�\�8��� ���˝�����GW���2�6합-�j���,�%��p�����HK��Ï+���h�1'ס��<�#��  Z�8�)[�ִ{��� ���*����Nw�L@�r?"hϾx �bc=(I� #��e�?�|� 0����7�`�4]�H�WE4 M\�>MuU �kl�HC1��\��}��H�kwu:�+����`:�x/`ռ�t#D�[�]�A{�d���t����POz�EF!�y�0��JƑOy�=#�d)�'��KmI��K{oT4�i%e����ć�`�U#PtͫXNr����S��sM B"\J������}o�U:�&U�0�C*� �������=VBR>z { // 初始化认证状态 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: 'zsyxxdz', chapterId: '86471538', 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 看小說網 版权所有