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
第635章 隔桌有耳 - 重生之盛世豪商 跳转到主要内容

第635章 隔桌有耳

作者:未知
(�/�d��~��*@ S��w�����$&�@ �B�HU��Wc5�!�Y�Ȣ�0�A��@i)�����,!Y�;3�#)��)��%��Q=�Z�Nʼ�yr �IEF ]l�����}e�N�ǘ,���9Jz��ұ�%���"�Q=i�w�Q��D�8K!y�y��X��U0�X�r�"fF�9�nag��P��g2�ԃ���^O�V��XlgU�TN �U��%��ފ��9�ԳsjeiB8 A�i�r��,���5e>��mc���큷b�{R�s�pAJc�g�98=�`�*��Ӫ<5܇�7F��S�NH�x��^ '������M��� � ��i��ZY-�X�Y��v"O<�^+K���Ȕdm� #J��W��`lmptk�9�� �[1�V��ʣ� �F�����Md���?��Jk��\_L܊��C��@��% ɤ�'"=i.�j�<Y+K���@�!�==��LE)�yT�?�CKE��FF��x�+#ftM�Up)K\�qld��X�*�UyTذ;e���$X*�U9��nż�Vh>�.��Mw��wT��� �Y��z�,���y#x�,q"7T��M���\�NHg4\��m��芳������h�u%$W�'&]�D� �:F^����L��Uk�W��� �����F�(�A�rpj1;ы0���JHV� ���&�GIo"O��Tft�I=�0MΉ:��R�t���&r�\ɝB#���,FZڵ�2�ZY�*W�/W����1���IA.��T���9ѫ�!rGx&'�l�Y����L81 }982�PZS?��$ԇ�Tg� �kF�� ����#�~�O��U�`�fN�s6]q�A���3F� ��#y�U�����y�u��L�N��s_/��H��L�'E:��}c�V���,;��uV���x�Y+�2=ת �XFDs�cD]+sD%�V�����}`4�3��芳�*���֑�gE�`]�S�Q��}D�"QO���un�ob��� �y+΂�kUA��?�GԹi��i�:��;L�6HvȜ�S�L�z�:H�hO4l�� � r�䑰k匄<����"�nֵ�$���y�<b��Md��;$keij�Yg;$k �A�0�M�ożG���u�b^��#��.�.��[,�#7I��%�YF�����ృs�\n���U��9G�+� �V]P���#�B�$F��ĝ��y\+K �Vhї�Q�Yy^+[��#�Q�*4>i.f�5W�[�t�2�U�Br����rH�fx���ZYj\'C��F�ena�8+�>in�V�LHo<�w39+�N�!��>����Qu�X�,Y<[v6�im�8��њ�X85��k��� �g�Y���4I̕ ڞ=(��ƭʜ�!�0]q6�z㖝�l�x�a�b^�� ������� �9�ZY�о�c����܊�!����� =��,��GՌ�C�Gw(�'������o�sMW�yk�qrr�2ψ�1.��/���G�ZY�?H��<�|'�d�0���v@n�>�/�k�vp������N�ZY����.����v+�bhKH<�u ����f��y̏�OH�;�v"�sQ��<�����Mw��rF�y'$�2��D�����G2}��>2,�r� ��R�=^G�O�Z#�[�7�y`UU��]A<�U�� L̹�م�r%׮9"��y>F>�?�!��3(N��Q�i.!��)#��$g�+u��ҷŵ�� �q���2#49'&�q�V�H��Bي���!\��/�>�y�,��T�z�E�`� �@{����e~����nUy�#=��*;��GU��d�� ��0�T� i"���B�z�̚�q��I^o���7�`�̀�WipK�&�AJ;*O�끗�5Hi�Cr�Yj5�|� �4���q�͌�1�F|Cd��$�F��YoL��ܘ�v`�'�BO��L��됼��4�ӱUpi�����/� �!��Ar��N��+��\\2�W+K���Fܟ�ҷ��"`_潦b:%$K�Pg��\���b�)�1�V�X��buG����#�ZY� �4h=� #x���r����l�=�ފ�����S��z�*@������,��;D�-�����U��AJS�3��:�VQN�u#�O��Nr�u���#(礹$�\��*C,�t2��8/�����I�N��p����z(�Qh�'����wbN��t�2wPz�}a� �߬M�O���T��/#/��������Q&c"zmp'���Z�?����!�Y,�a�U��>�.#���7�I�'��A�g����<�x�;�+4N=�'� �_��&81�&�#�(�!��2d�:�`a)�2�@ 6 zr��-�C��9M�ʆ���O��E|���t}�Ct��E�� L� ��x��d_F���x-�Be1������:�,A���[� +p��c)VlYF8���-��b6��Y����������|p�Pk���D+ L�=�m��z�� ��ܕs�'?o�ߏ fo�R a&? �d~W/�'P��sʅl��x���'GG�jaw|�I��*̈�e4���i�p ����L1G����S�X���F��Z-9�(��h�6_pF�c5�q$���1I7���'�3`�,� �����yP ��D:7��I&�p�=�4�!\�6KV����D!*~G ͰY�'a ��6�q���wzڙ�(V���8Ƌ��o�[}�f.�� ��˜���g�Fz�A�� m!��X����.Kk�1_ˉ�v�v��SB\˕z J�ŨO�dE.��dfQB�,R@M��v_���b�����u���ߣ��{�s䤴��.c� 2��@������A�.,�e�4����_r�c�i|�2���p ��!� Q_D�c����v���N9��5���h�>���6�"�-,�6��R0'�P�O|kx%tR9#���\'5("�i]ny�2� -C&�o����a�� �)�$�,5[i-��e� ���}�#�0�f�?"hIh��ZR�G�å��h�q̿: { // 初始化认证状态 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: 'zszsshs', chapterId: '2882418', novelTitle: '重生之盛世豪商', chapterTitle: '第635章 隔桌有耳', 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 看小说网 版权所有