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
第四十章 千年积累的智慧 - 神话版三国韩信对陈曦 跳转到主要内容

第四十章 千年积累的智慧

作者:坟土荒草
(�/�dW�k��%?0 c�%�{�s�^%�7�c !�KjD�,ވ�ej��@l��H̘Znx��0F����� u���!B>5�&�#�?�����a})/��2��\�r-%/4L�� |�lɑ� $��e���-IG�*#��9� ���Y��g�\�F�{�kU��ཅ2re��❊s|I� "��9؜��$��iMM�쨝 i��Z���%����������qsQ�H�L��L0C���� [kH֐��L�=Ω���Ƽ��"��$M�E� ���������Sёʴ2�>��7��/�݀.hy���������TO+{��E�.��h���t Zh�ș� N[�-��1h*dQd�����*W�|���x&�OeG�������)�LG�,��i�ts�rC�##��ыʞ 3�]�}�����K��{V$���y���ꇅ��ghxŢ�ε*{]a�����t�  (�C/8�"�뀁�t��S�W�'n��� ު��QF�.��s�7�01���m����йVeQ�eF���/Ic���0C� 8\����+{v���i:���d� 3��b�J8\� veO�sP�ft.�֕=/�;]�ͳ��(�Y|��!�!"{�;F��� �w�f�������gq��e(Q`rjSLܻ| %� �a�ã#U��GҞ�)#+��*br׸5�v��ʞgp�����*`�!r#I3� 2d8���#�=1���L �@ނ��9�=���f��)�Rc��rnU�|:Al�ș������ʠ����#�È�į�EN��� U�js��Y�t(�+{�_�� �i߁.G��Ve�绐ʞ��+�?�38�ũ�r�7!3�+o��9r����Lrj{ ɓ�� wC=�ij�nO^~,"�X>���=�i�Lȑ���f�{FΈ"S�7Ve ��BW�^��a[a��خ�IZ��CC=�E�74�6y�U9r�l�ƌ��F "�^S�[�3�)�G �A(��X��|@;�x�5(u�=C];�fؚʴfY�:�xw1�+����z�2�F8أ�K<:����V-y��85y�5�m�yG�����o�rOmi?=�b�v���5y�k��7���mU���,n)ouЙ�i��+ό!?i��U���9c[��]̍^l��1~�EG�7\O���V#򥼗�3�CD��W5h�ՙ�3������ʎ�����Uٳy�qF00@0P@�@�.@"h@� 8@ $�`�x� H@�guП�#�/��e> M���|eϊ�K+g#��V�y�y�}%�y�2Iqjr��7�.��� ���I:�x��pl�1�ˉc$o0�.gp��I�^[�����3�7\Omg(PW��и�E��\2!$2&����� ,}7�]������ [7ٚ&��'��6��e\����؎��\&��=��I�?_N��\P_h3l� ��)���a�ies7�?<"}�k�FS��_�Z��vX�Y�Z��Q+�B�u����ŋ_PEO�g&��a Z�xe���v�|��|��ֵC� #O>�mq��G�Rk�&ך�r?���q 슉K=|���-H�H�������T�Y�ҁz�p��У?�o@^��iskr�d�d�a&H���#�R"��� #ST�A��'PSF^�����ew��ԫgR�]����H{ g��H{��͔6>�L>��i,rj3χnU�`���՟�T�v�i{+bf3��;�t��H�L��Ys$���V��HM:�(2�y�D�J}_��C^ R�";T�`� ��՚C�����#L�N�t`�Ȩ1��1R- 1Q�jl0�$@�DPǠ �����z�|�K"k��D���\���j�i5+# b�ƢG3��r�BT��X��I%�;����x�>D�W-�ȯ��@Y�t�3|-�:<�zq�U!��2=K�CVe ����dْ���\�B���eIXXP'k�g�k` �k�?Г����n�< +˘����_J�2��!"F��l%�Y�pl���!2}S�Z)33#��皗�������g� P@|H�/�PD�d� �⹌N��.���0���co�V6hIr~��&r�M� ����[����@��J��R��tY6�@����9I�e[�0��X`Y�����հ qx� �,w��ظ�u"�X�yh$�>�k(�&#�q]S���(������IY>D=C��%Z�E_�s�7 5,�k7,���5��-�#�cӟ�F���si��[kP�S}�OxtMl6�D�a(�u[U"�Sc�]����L��Ȯq���G��:ȏ��{"@��g���x�w�D��H@{q٧J O� q�U�Gb솒�2'�?�����P���-��Z��WQ6N!�[W� y#��,��ж��ح ���XF �N�5��f�K�W��X�u�k�� { // 初始化认证状态 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: 'shbsghxdcx', chapterId: '33583949', 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 看小说网 版权所有