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
第140章 被追上了 - 三国之狂战将军 跳转到主要内容

第140章 被追上了

作者:历史天空
(�/�drE� 4M9:@� ��s��������t7AI0::z�$���� �49YD������vff��݁�����(�Č͹�S)L`��rT�5�������8�����d���7h��.�sqqM���eoy�`��w$����/ 9�z��-�p�b�L�j��������������Q�t�=(ɖw;Mk?:^�ܑ�Y킁���y�f����#cg ���%O���l�|i� �'&>�R� 4�{|Ό����5��{Jly�`q�$J�S�Ym򻴶⻘�G�m\_��@E��� �M����ڥ� Ǿ9\#O�5)vT�[�I�$�h�(����]x���^Q=*t�c�TG�E��^�@���-�B��6g�Nk�j�.P� �� .����A��)���n Y�"O��.������s��5���${���C�im��f�< ^Nn��%"��Ԟ���>P��ᴶ��ʃ!� �;���s�yglM%�� W|1\�X#Ok��r��K ۂ��{���1����ڝ�KC�<������o y1v(����nyW�ݲ��K�@�&l�7L�)q�@���z\���wG��jwD_C߈��=���3DG��v�!w*�[#O�Dqk�35�*�>wbb����`z���q��*� �H�p�<+''��` �ږ�S�OL���Q| ���]�x�(Mܩ���*�F���/x\#O�㛧����L�OL�QEm��-�~�g�8���T��{9C�G��̉������1���� ��<€%����}S�^�����C<��J቉��C�Lk�>ǐc��]�xi�:�I�tp�uIީ|�{˻ ��xd� E�Xۦ��F��sD_�8�2�lN�����P� �������C �?�(B�nD��1ѥ�^#��T�$�Z*�������!��dnN2<�}�C�֊<;�� �F��z���('u�@���έ���jcy�Ʒ���7�߈��� �5��2x�]��黤���[���ئ�kK��q���TWX2 �)� ��@�"T䩰��@�)቉?���'�pQ���>���s̀A�{d{�����.; I����,�ja����!�_2��8ϛ|�8Ʉ��mk;�]�xy�]�c߇�: �'L�񤎟c7������C��TW.w�Ή���b��S��f�ku�a�!�+�o�=� tk[ ��q�<9���[��D�0` $�~bb[�b ���xAϲ��w$��KP��G38y��ck ���T2(�A�?ćXǾqi�����q+�����(ʇ�[ۚm˻�6��V{���Z�e$r9����I� t�qc[�U�:�]���+�PG�Ό����o��eW4!b��ݏDR�=�A���a�����~�jL���ek�H]G�;����Ll�n9�y���O����O�Y�1^�NI���x�?�����A�ߵ�M�W��B��>(�#����a�l�WW4��\�b���tTdz�C�ȮD�}���v�t�����/TWLv�s-�,.8^�6� H���[�MlN11�l �#l��4�O�Yۥ��m��ïϯ�G�O.�p��'��mm�rR�M '0�%�4�#c� �����[��ȳ"�vdlK%3�|9a˻��Z� �������F"6��kV��826)���?�j����s��&kP)L`)���+�;%�I��@6�R�}�K���9��X[�<��F(C6��p<���}�/W����w�72vؽ�:��M��3�-�~�U�y�G>�xp[�YmZ������o��!|KdJ� ? ���K!����^���}o���W�W���S$�J�9�����䬶x9Xb�l�� t��v�;��\����2��u&��𦐵q�Z"o Y�ܒ���ڛB�d���X���灒�'"?P���̄��L8잓�I*���[�K�T78gTN��]���}U�V��5�,;26����(W#�F��R�1d[�Mt�ҹ��n�;.Ssؽ��)/WB\ 1'�0r'&Ɣ�� ��̕���������y��l�!>t�~��^������6����8�m��Z"W�k�S�Kk��[9����6��&�OL|����]�<����@| !>��₧u��� ,�=��г� 4����/8����ڊ�[��>Nt ��}a[���������Xq�v�j�II���|�m�A��A�_����'E�.k|pP<,�Ҕ�pibJ栃k�'LkOh�&N=^��@�����F������KM%/��` {J\�xt���["_ 7Y7����`�=%���c[Sœ�Gർ��8�vV�S��V.�����!W4c�5fZ��:����Qe��5���� ��q����@<`�x1��C l��N�@>8xC� ,��zi���8�(�ػq.�_�}nq�}$]RI���4�� (�A���hB� �Ř� u+���639��r��ȋ�O�.��[�mp���d�6My�r5�L���%I��T���|0V�j,�F�#�![��3���=�I�M1�_\\���#���a_Iu��O��8M��R�3f�WQ[��i���u��� ֠P�Au�m1x�)�М�~�8}%�E�o���_�~IF|lpm�y}�?i���j�A��/�p 8Ȟ �RSr|s �� ��4������jW�>�*'wQ¯U|4��1����7����!�q�m�Z�%�CzaF��#Z'����_ �� #Ȑ�I%�R�7��Ҍ�M���X/�O��X�h�@,h��[��Ӧ��Z@;�Cʙ�`l*��7��~āh�}���o�>p��[��r�E��Q<��C ژn,�4��� �G��]鮫�_[�z`�?i���9��wr����k���q5���V.�C�jԐ��ZhAz<�o�h��@oE�V��*!'�_Dp�s"T)�X�E���.}Zxs�ЄP��ʅ�a�Eeg�lG��\�6K1H�9��`�;�O�P��R_�Y���q5�l��B=q:)��'�+� �LX�^GWv�'.oO(E9QkݝJ�-I��$�.g�������sܶ0� 5S�_n��. �+�d� A� ����������'u�.8-�V�|�Qjx17LC@��!:7�����΍< c�����R좕;< Iү>z�a�,�*��A�K)xuۅcR0(�R��k8#Ú��`K�GL { // 初始化认证状态 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: 'sgzkzjj', chapterId: '81617356', novelTitle: '三国之狂战将军', chapterTitle: '第140章 被追上了', 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 看小说网 版权所有