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
第七百八十二章 交易 - 浩劫余生 跳转到主要内容

第七百八十二章 交易

作者:岐峰
(�/�deg�� #4@���$�9�����0r;��VX�:-w�`1i�M�`���������1V'%$��-)<�y��W �`x��N���o�j�"5G5չ�\Ź Fgn~�b˹��@������ˏk ~���`��T�a��q?"�Vd*ORk̙L>��!b2d���z����/�7�/(�<�6��q�� �:AҌ\θ�q�}���4(����� ��9�4�MLu^�\x�|U7<��\�t�?���%|P��>��I�7�<�f���C��h�(����%�0��Vk�S�&�!��Мq�H[���(|��d�S ����8h█! F�� y�"W*��a�'Ĝ�g��0�8�B�f�.���I�g�x�+Q�K�WS�W<ǀ��[*8�����5sD��q��I]�m�U]�bQ��Hk�k�IQ�%�ˌk��<@�J�q�Ko<���<�"0Hd�J�J _3G����q- �����0L��b���;����`O Й#�siܪn�y2d�a�c�d��x�|¡A�G�����Æw8&?���@�����b��5s4)4�n������^ ��Ō��#ł (�y�@��^�� ����:���zQ�Rx�s��;s7�� �?" Z'�H�P=��A�� Oڱ�O�5�١�b{¯*T�S�CDR�#�0��n^����o��S�Ta�l�?"k樎����p�U]Q�Z"����>�r+g� ��s)���:'?�̭~Ah� _(-A����tM�� �H7[�*$ �)��H}>��\�~RqY."����ph�� $Ŧ�2ϰZt�E��n��A�'-Q�q��s]����d!X�����E��R��m4��r��� 8�LִD�����n<7�<��yH5st}#l�sl�+�!WL^xX����ԕ�,]`H�PRǂ .���#�t���S�U* dP���q�.�9Ej���9O�J�vw�R���<V��.]^3G���PV$���G����%��!�(�y�@�6�� �Q�\2d˹a�5s^�J�'`Ӹ4n�!�:�4��bK�m\$�x�<9�t%� ��&|��QRxi܍ǡP[έ�^⊄��1(��a�3�3��H?�?H_�����:W������f}��Q�R]�^^O��plpy���0չ��E�7 ui7�>� ���9���'0�1�����T��k0|�:���k��hq5I+#*A�H{*^!�!�bj��Ys��x,]M~l>�O�1'���JF4i�\�6%�`� �����#p⢣9�()�|4E�Vu�����x.pr�a�\�y� u-��#��I�r�j����H'�:'�p5IAw,��۩O~��#�В�;^��\3Gٸ �+�w.�0�_��� �vT���XS� ��K��d���*S�s�.g�F]S�P"�.K|�Օ�O���o� ��-�����a�ќqA�R�����K^���D�am9WRz�\��gXMun�1v��](W��Wnȉ�fX �\��r�%�z��G��(� o<^��aL�j��3�}����k���:���ԭ�:*�'[�G�� �yU7��[ m9W�(7��W�tuX�F:�J\S)� �7�K�Ϯ��a����Zwd�s��T��@�̭��]^ ����qI�+ ����唎���@�28�)��\}M�G�6��5d�b���R5^M���П2�H�n�� ��C��q/�W(�Vw~Xm I*f�=)t�ng ���c���KWcӗ �x�]]1�b�A�og�� i�0x�n'���T�`�w�!���۸����o��+|��S�q'^k�v�W�����cϣ��� ������9^W�Jw�_�N�4����5sTZ����� � ���4��wn�9&� ��<�������ֺ�9�/?��kp���&��p=%����]xx�` �US:��r��� ����,m�~�;�[`H�q ��ڐ��>ѯ�%7�4���c�vj����ncX+T������-�b��Խl��Hbl\pd����I̷q;!����*i��- ��F��B�0�U }�+)��n.rB�V'6�$]�ؓ� �5��H�r������quvRK��5��Fk��:G8���R�����Q^0֦�x,*�q�U]ƁS���Z M)QqF.h����! i��+y�t�MH<�H=�o��õœ�!5G�5s�-~R����D����! �AP�1`([�(��5������T��f0µ��vke!#�r���g���Q�c����_�nծ��@ p'���(�@�82P*�iw��֋f]@�腉[��kӅ1�s3�:� ��E�6u�;8Å� ����>����ޘSM { A<�5\�1ɜ�W(�DGd�����3,�!w�;�v`�z��B� ��q?C��,�e���ĐZh�GƐ�]@�G���ۭ�Ȇb�bn��Ч�gT�}�O�ޝ�L��@�up���a�� l�[Yh^�K'��a�jx�� }��ͬ��\� $�E��G�Ju�^�(��m�շ.�@^��q��@ �2���tU` T�AܯwL�)��fק���L3���3BEF��>�A� �r�w�!�vH7.��Ζ0 �3�1D�'*���r�)/��+&�2:;<�_�h T�� { // 初始化认证状态 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: 'haojieyusheng', chapterId: '76469972', 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 看小说网 版权所有