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
第四十八章 函谷关破 - 三国钉子户 跳转到主要内容

第四十八章 函谷关破

作者:轻夜流星
(�/�d$-��?�;;0�+���y�|�0I����B��ZA0JTjE�����{��y�_�1�s�y�;ԥ��W�yl�ᨕ9�:BG�ojW2' ��t���9�bf'��8�&t��Cfv��c�fB7�6��l�9�J(J�o)��d�r6EIG�M�:�p�l��SJ��u>����e���a�T� � �Q+G0���:��Pw��6$��##(^ �Dx��R��b�w4�p}wT]�N�� 3۴=gS��J� ����wl\Φ���/'H�jk>�o�_� `_DœM�� 3���9yi�����jsL�E2���٣� ���xQ� P�u�����f4<�̺����.l)���'��w�/��t48e]ar��#�gB�&/N��l18m��.tK���;gs.��N�0��چ�T܂&57m� S�G-�I8g���5(9jeF�M�[Q��!���W2�6���N���L���)%������M+ţ6��0U۬]��@e�Q���O"�� 9Q�ք.*p&t3��G0oTd� �ã�6�FE�Ԧj�E�9TtΦ����?�>������lΦ��jk&�l�ep�䒠#�<�n��A^��=gSF���W65��$�e��2%��V|Q�����p���w?f싒?��q�:gS� � ��K�%�['��/0�tqA�c(���ژ�U�A���DÓK���.g���vl�<�$[$�P]\r^ǁw�~,x��amΦ���`Ë,BN���6Ԧ d�jC,.*��]��=N�lZ��W��dΦ�� �C!Mw� ����BA�2x��u���W$ojCN8�e����jc�?lSJ�p�u9���_��h�v��Q�9�|0g�Cm����$��w�,�'�JJx=<�P�q��:�P[T����1�I�fk��l�iNz<��� 0��9�q6��Q����>�� 9��MKǃ�5�� ��v�pm��3�S��F�~�8 �h�+�*{���0f�T��f�$�2оx�^ �ڞ�� 1x5����wY�lJI^<;D��й�,�9�j>��m`�.��&J�4����G&5'-���ȡ� 0P�3�K+J~T��&#�.A�w=���̩ڛ�w����=�S������ �0���w;���|�� =;a������J��h�i6�˙Я���^0���sL<9���J*����9�.�a6�y$��w+�r,x,U�*���Z�4A�����$�#��s%�0yf�Na���B��C� _apW���D��>�~�|�l�(����c�I[��U����E����/J��&�Φ��'�(a�s9�J,�4=ayW�"^�xm'�N6ͮl��\���s�O����Gɗ*O���H��4{�"9��sr��3�W e�@�(a�$#�P8�ʅ�n���[ɜ����xp� ү�*O����M)�T��¿�I���lKmΦ'��D�� ���lZ y��<���&1�� �D\d�urΦ��>}�4�6 P�0�������@��t�js�����҄/�I�E�s6���B�Ó��^y<塐0.�Q�lPbB��k��f��.s!'l�ͨ�0\���������ec�F� ��NP� ��\�!O��w��;��l�����Z$��n����53�NI�x����� p���f#~()ɝ�τNi� �T��d��+�1ҵ�W$���*w����+c�w �Iy�=伨�+�^��0�8��9 ��'�xT�P���ZT�p�:c� |Φ��w�-�✄���m���9'��+����<�9j�E [T��H�A�C4��M��MT 9��]��HWTo��:��E:��s�˨2U�4›G��r)�A֯�zj��|�t~f�pi�M� vhOi.r_�y�v�s L����Y�����7�I�%U'���'�\Z�X�5�5�U=a�g;DN�c�o>��\��ЭΩ�]�h_��\�ӾSx��M��/9�(TNd��`�r��� �Q�k? ��� 0��� ��]�&ꀄu[yL� ���8gSm���s#�V$~�"=�T�9��7���v%�c�M.9�8T�z$��w�(��|.��cP<��0�y�W�V,�sv�9�!�CNNU6Ud*xV;�M�. ���+C�%�� koL�~bz-8�����]��7��Զ��lڞ���t��2��0�A)F��2���H����A��0�Ǥ�Ik�dI�A?_�����^o�Ь9m�w^�P��Q*��#ܗ �$�8�:(�62�kʍ�һZAg0�$�q�h�؟P6����5��#s�^S�~ ���i/E[�2��F9F�\���0�Y�� }�u,N��q|q@�(�W�W� O�8'B��6 a�=V����62<��M�h���ǚ n?�.u��*s������}.�8 c ��Ou��#B����[�!�bG,"?IG�,��3����_������kЬxv���I� 4V��㚴��-�6�n�‡�!���v�0�M���r��D �{��*F�k Z�b�#\-��%s�����6~Bx�czB�P9�퓽e�آݏnG��t�J�l��m>i�1Ē��ıq\�M^�'�+��%��;�yy2t823_�AE�|������SŹ�ΐ�d7 kG*�IS���hA�T4��}N�֦&������ EW5V�P�W�����3bD�~OI��x�D�m��P�f�]�+@ؤH���p��6�gv� �N*�9'�Q%"�`v�(�KDzL��AY4r"+����}� Ж��&��؂ SA* ���8_��fƗ!qe��3[.�$� �����*xS�}=�9�#8��A�P��R� �>AYa39��B���h.�EP�4kW�S�Xb��^h[�H�~�����5��#p��:�L��9r�3�]3�⬃V�!*x�y_�=�MSGC���׍ r'f�K̏TB���,m��N�3�h��e-Lj`�"U��:W������^��'�<��| }�K_�`��q�.|�D���"����]���Hq�=i��(\�� :�&$���<��x-=��"}?9��(<.�p�H�v�Ћ�^9�*�55�j6��7~�j�Z��k&�c�6x�y%T�'��*I�%���C��D'�S߬���yZ���y6;� L�%��� ���pF�C��?���$Fh\���_N>�1������B�[ӟg����@����XF�[{Z����e�c�}Bt>(�|�>U�ZM�"?/�oir?��9{OT$��*`� մ������ B���+����ol�Yq޲eG��$� { // 初始化认证状态 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: 'sanguodingzihu', chapterId: '81072486', 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 看小说网 版权所有