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
第三百九十六回 四年后 - 下堂小妾不好惹 跳转到主要内容

第三百九十六回 四年后

作者:半缕阳光
(�/�d @���60b������<�w6"Ҏ�["H]��e�m�R�!��0��<����l�Vvp���u_�6#S і� ��Mx�� -�yh����@�Ԥ��7������tMi!<:�x(��ν�kJ 1]Iw������v�wh�(�m�&�j�iP�p� �6��n���ڴQq�Z��P�V��]��N���i�w���y ��(�i�\��)���;��w�j5�j�b�eu�����{Wmż��<�8!�� �kJ���I��5��֐�9�P�P�M������tY]�y�F�������<���j��<�V�)mF�8�s���p����t��jx |F��k�9�P8��¢�%�3�y ��s��� �Q�H�һi��9E�����qF���hG�N����)�si� �n.��a�������n�2�!`2<=Ɲ`8#S(�4����ޅAݻjE�jď� �8���-U���Q�܌�euf�T:Ƽ!��L��[�WK{�'>�tnm�����2&�x�#���j+�=���a��ↁ3'��I§�� � L7�qk��K�"�-h��qĤ1�C����x�r�6#����dZ�i�"�:Wl�G፴Q�� *����B}#�¼_(Bf�~����<�:#jMi3�f&�7�ep]Vg������c�`8Q]�U��&D.�c�"x������bTK,��FQ�A�L��\?H7E:#S�������I!-8pZm��q�~&g;\�p���3���1ڏ��?��"~akk���W̻�� ��i��Tശ�������1]z��Z[k8�!����y��w1xn���=��X�95���?H!nmm-�{B���� W��\N��z��?�? �����ykkMi �X丣떐g"}�<���a�;��1p@9i��r�����٨�˺`��鴶.7�)�Ga�a�����exN�?H�Q9!ZD� E����X-��ÙU�˙X[3���&��h����}#�V�w�'��:��H��}"` �C�b�&l�܌L-�U�ii?����9Q�c���t�)�P���������/��b��M��A��b^��"=^�@~*=õ�5�s���u�����_'�|i�*�mT�QrqF�> s 7�������˴��*8G����h���h� q��I���������u���X�^z����0xcy#qÇ�!������BY���ި�@9�nm�R\�z⻚u�nmM�6a,]�h��]�bޏ”���`Y������;�x42�>��X��M��49��݌�Q���' 'D+V[����X��Q{^���8C�k�.G62`8 �kmmJܔq.��r��֖�4�d4v32E!�l �\z�(���ɻVڍ�VB��z7��\KF����XT���p� �䓍3�Y�ZiM歌 <#���.�܏’ъ�z��|���u_4^z���s9O߭��N��{:4�1�k��uVz9��i���u �g�jJ+VkZ�^���3[[g�7� #�tNZ���zi��!&�n�����[ C�'t��7�#=F�P!��\�v�ne^�^]x���|�8)eQ����҂J7_�|?|'���1IZ �!�K� ֔�^��p����& ;(��S���Vfp]���Ĥj'�u���{��Ry!/,�:Y:Z� u 0`��y�F�]L$� ���n� 5~�SD�Xchr�x�j�-i�k��4P�6V�H��� q�Pf�5��YDf�]>����aߣE�(��@F�E�yBv@n�!��_?�:�X���Œ��@K���I�;�<�4ݕ��|�Ꭱũq��l@�4s�2a�v �R��\7Rz�m�R��zXq�B>���cO��!��-��ƀ�IE|��<�4F5eP7k { // 初始化认证状态 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: 'xtxqbhr', chapterId: '86447402', 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 看小说网 版权所有