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
第七十二章 盘算和选择 - 电脑中的幻想世界 跳转到主要内容

第七十二章 盘算和选择

作者:未知
(�/�dG']�5D � ��|��;�UR�p¶7 ���� �Y �@��&eBĄ��|�y�t�g �M��}�"��1�L2>�F�������X��qD����{JyS�.��Pd���� �C������O�1�9q4ǐO L���4��a�%��f�~*=6Za��Q�m�w���������`'ݡN-���A�yRh�&~yϕ�1fF���U�B%s ق�A� {P�t���V����F��������5�\�~1z]�h���4���zA_k�z���ؒ�����*z�j� F[t���� �t��E�`��0��b/�ė� G��A>�5Fu�C�M��"OM��z)Xk�i�}`��<�}���͗�L0���a�a��ƒ��_��ڜ��������E� F������ Rk��a^���#[g����K�-K��4�Q>%�`�]��S�9�E�E�9�|y/���=�=�������h��ȳcqN����Qoc���)2��"֦�{肰��ė��ްs��S�!��Cs����[���)���֫0�V�F� {�M&Mr"��� >P ��Voj��FA>�s��! ��b��{Ǩ2�}����W2��W ���@� � {2_�ܰ_#φ��P��z{�Zabn|�x5��8��I$�-�1j蠯����a��ʾBs yz�~�oe���B���"�C����Jc�۠vN1��.��]�7�$vI�C �Q���E^R��࣪;���vy���5 �S]����5�XM͉�{FP,��1j�gT�3�Q���ܼ|�׼��^ ��7�{lg��0:�h͠3F;To�=ǐ����DZ��3���By�� O�������-�XٔyBw"=6!�������� �E&��:0/�-��aoV� �%�Efc�G��4�y�Bܱx�^U��[Eo�*�2Gsy�"���2���ދ����4��{����;�����W��� Bt�"udkJzLu)&^|��8�<` �/�O�l�᫃�єl�= �:�^��&z��7����(IKƯ�zKb7MJ�����"֧ʛW{��&�5a�I[y肄�K���+��`6"s�3{�N��v>!�H}B��.���3r��FyA_k䙺~�y���5�F�k˃�z%`{���,2;�����`�x3�$Z[�+�[Ʒ�"�0�ɩ�?e� =d�;�Y/�p�є�z1�7����l�m ͑���@[��cT�"�ջqB�Uak�&O��<��D � b�x�j�ꌢ%`[{3h����4DtE�X�zX�8�\#Ϗ�M�^4�"�B���$6�ѐQ��MrȐ��x����K�Ӆ�����S�=�W^��zl4g5g�F��Qo�Zt�� ��+�k���hhk��$����,�>�h��M�6�Hx��2�M��bzurh�G��ʶ$�Q�on�mpIl��s �ptf�X�i��B|o8.Gh<���!Kƻ-zcɊNw��o��>y��d���1�s�� \c}�|'��-���FK�N��PVeܢ �@` ~y?!5g��fkL�� ���r �3qv�ѣH��r��N�E�W+�i0ɼ%�~��ջ���m�����3��!4� /b����-�<`�<����[{/�<��,ؙ�E��HX9k|���pKvw�X� � ���L�,�g� ��z�r N����.��|y�9�D��"��WDaOMM������⥉)�4 ��K��W'W��J܆8C�*�%��������0�F��.d W�}y� �2�%� ȃ��4�c�*�;���@4Dӡĭ���\_ޯ�l]���v��"� �cTW5zZ/�� �Y���z9�|1qIl]@�u�����Q�+��g&����zŨ������Q' ���%� yϨ t����tyQ�E4�D!:B����i�<+���Uy���� ���X��禃sR��h���A���˪��.;}�<�����x4Ǖ�b^�<�͉�@8Hĝ�KF����ll՗������FX|�h�y;Q��5������M>���<�[�F��C��U�$ܙX3�����?�3����O-�}ψx�Nu-�[�� J���G���F?0/Y#���!�������A�d�.���К�@����N�5��>�h�����&����� �z���}v���"���3�^|ޙ {?WB���!P�� '����[r��E�$m�4�<)�%���V���}������[>G��Yݏ�i�!�pr�)L��+�`̄������$L1����[���g��0�h�h�y���TM�=�����=I�+|i�yXaH� #p yBz o�lm��>A~���A��A�����{`o�ͨ�#��Rdf�@ B"�DSf�P�1đa� 2�(��)���.��P��]8�U�Fb�q���C�������7�$ϟx�Ѿ�X���R�� �&B&� "���X ��o�bu*�/� ����a�|�����P�o̰?LWAeN���;�P=APN��õ HJE�Sҍ�K.���E���t[H �m�6�:^Dy�y�R�6w ѐ�g٦%�E�MB.����*�<�EM��'���&:�_`E�uw$w��ӝJf�����zt�d��s�:[�*|I�gH�JU�)�D�IwKL*��=�Ź(N��Ա(Z�=A�������bx�B92Ƙh�6�E5IH>t\mW�4��)��́�qU���% ��. ���OT�@YJ ���n��M������y� �*��%65�6s����9_p(�]��:�w�@{R���fȔ NEc��n�PB.�T�]Z�Kb�g��He��#A"hv���&����3���G#%<��WLA�h{M�<2�^0D6!c 8a����l���J�N3. (�Q̕��U>~u�σC<�U~�]0�]4�P7�+]�5����Yw�`����q=���jd�{i֮F�{�����4Vj G�L4�#�-$/zW�Վ�QZ��-Xl���OR+��L��D٤�x��\�-�FK�8'+O�������8�*� pr��4vO��ɠAf����e�� B0w�l��\aN�|)��=��_��{�������XŖ�4<+�1�r���8��b(����"����y��C!\�/��Ohw#��Q*#ֵ��+�֘�$qT[O�]ׯ� ���&��"!��i|E���k�Q?_Z�el�� Ɗ@ (���΁�b=���C"�����x+�G Ԗ�K͉~=}w]�3�9�&X!����� �@����,i)KǑ�V�ܱ�ݼ}3�^M�D���*�p�e�i0����B��� : J�:|*�i��U����WX^U�� �C�m��X��q�$ �N���?��4��*jŽ7n2}��V 8�g� ���Q�،1U$�db}�$��X�D�Q-.2p�iMW| ����C��x[�|m�u�브��{��]���b.H�1�o���|��N7�S ������ߡ��Z��{ ܂�G�W�4��3�,����¤̈́=tO�TI�eU'�4�Ŷ����*'�)Cu��� �/�s��.?�$_S { // 初始化认证状态 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: 'dnzdhxsj', chapterId: '1858494', 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 看小说网 版权所有