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
第23章 商议【求推荐票】 - 九叔世界的术士 跳转到主要内容

第23章 商议【求推荐票】

作者:未知
(�/�d�Ճ*��.> S�����;�|<�ɞ�jG3 �V�U�$&ݠ��&�!@1Ƨ����(�c������ ����-ۚ�x� n��ý�my�E6����Sw%�C���cfjp��3���)�{�☙Z(^q��]��-��4��#���׉���CD��]����c蘲��13�0�z�5J��]M�^cc&/"mW��bʦ6�W^�S?u�$�R|չ`�-��ʋ��p��w�+d�%|"㘙z����{Ps���ݚ� �/�z���ȋ�+�`�1��͡�����}�S�7o07SvD�+ccfځ��p�RP��:�&�E ����5v�}fsQ�olW�$�]��-ۓ��S6H�13��A=v����6�^ms(�̔A��]��N4G(�:H�+c��O�eP�QdM�jۢ\��;�E �x~*�Fs�tO'<�>d̅G�bfʠ����b̢b��r�'|<�^������P����s(5�����{��Ls�r-�g�����T">�tE�B�F<�p��/Klccf��r�h���+5O���T`���E����_c���n�=�r�l�LE��^��C���g�l���-�v˜�� ��?uWc9&�����$�ߝh^�3Sӻ���t�s�b��]�5ʭ�#gWۦ�'�����X�x����&�13 M�56����/*�P�yf��5�F|�9ĽA}��)Cy����13]r� �4�����o� ڲ�{�L-۠�5�2�Sw'�=g�4�L�Dz5v�:����}�L@���p�,�� 0��@ `8@A (0@ w�Q?��ڶ���T�优�?:��叇���o(n�a�V���#�\��xn_�Bv��9��� �\%������H��c��5�U=�"o(v<\ɐF�@��^Hd)�-`�_�~pvt���� ���&YR�Gǻ����"�C��B<�<�Ȧw?�����DQn�\�L��g�G���^H��y������/�p�2!N�^\pّ�I�Aۘ���B8�� *'��k8wl/�djlG�$9��P�%����|O6|�wC!��k'\m7Dlb�r\�˘�k"���a�`�5�D7�~Dx�󩻵� ����\U�G��Wۡ���7�^1}Z��{�.������ₓ�N���3ۗͮ?�^Hd�� �3��13E1س}b�������̶Fr��13�X��e;#���-Ę�-g��/$>c���28���r6�lͧ�^��l�2�.f� Xb�H���d_�;u�z���-ۢ��C"�`�y���ⲝ��ͫ��b�� �͕WR�U�e����6�s�uA�N0u�r6W^��*P���d���0(o؎�ޱ�6�5�C���۱mz3S��#� [c�D⩻��C�3ۘ��9 ���_����L ܫ F�V��?m�(�D&�9k�Z�Q6f�˫�m�Qu���������J�B���,�E����I���n�}�9�쏁cf��8f�_��ϧ�B����pL�5��"圇D�P,U,��$�� �{F�=RW�X��Mc)���z%{N٘��� ��j��qQ�RcײC�9�E�,��β�]Hd�L��+���E�G/� }�p)�=֫��� ŗ�ү�!ԁ+X���T`��dW�������P��}(y���*@<��ul�=�����3S�$n�|Â3B����c�zF��)W]4�����g�%�M/RΠ3ӑ�$� {��O]_]��0�U2���}3���=��K�C����ë��x�C{ٜ�+8������(�5�3���s1�l�� �<�^B��l��;f��^1��R�� <�� s�L5�2��ʳlg�'�پ^0�13�lr)�W�Px��W_�~�C��v6���ղ}Y����W&��u���8u�+��1��ٖ���� ��E��v�P]�����!ԇ/8��D|��"�����.C�2Ȯ�G|��G��P|��Z}Cu'��^c�����ۛ�Ge�����`��ٔĀ��8�܏��1�a13��!�P$��=8Tj` �!PtH��~*�N� �cV ��us�r�Ъ��X���1 z��ՌbВ�r1�ϝ���2�`��a��i��<�g|/�*�ɿ6+�"��K-I:d+ho|_,�{�REc<��\�A8�u*K���]�7?�[��i՞@��eH�2U�STI���c��� :��1:�D� ��ǀ������2cXj��)4��/S�6M8�w�IQ�a��#S<�2�>Mo�7�\��v�NY��ʁ�CQ��N�`#�c���}�n�^��� OV�B���íS+:�v(I���HQ'o�!�qHU^��b��ZDV�[��9/T�jSDJ8��km>f�#�@��$0i˜O����l�J�hA��;��J�Vv6�QUɼ򀯯՞D% � { // 初始化认证状态 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: 'jssjdss', chapterId: '2521555', novelTitle: '九叔世界的术士', chapterTitle: '第23章 商议【求推荐票】', 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 看小说网 版权所有