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��z��+9@Sh%�{;�*)�\���-��V0�d��1�m��%[KPC�(IF�єh�(S����%���5�s^_�!NAE���!�+�e^���j4�8C��M�7q���3*k�r� �7����Td�t���e� ^W���W��#����̾BM�rp��@���*y��K�C�/���7���Z.��ˠ�' 'i�Ӵ�G����Ջ�����&N�t��<\���k�I]�Jl�d�����)��KT$a�#ԋ�rdeNp��DS�+2�9Z��|{���ә�;�g���8�|IpN�mj��ش2�}��֋�&�&+k��q�VyQ�ګ�����Z�:+G����>:.1�s�s�sH�����BȳM?:NAE���)�)���h�b�r�% ��[�yV��ʋ�)ߗ�#��Pwl�����d�{��3�3�uV���K�[Yn�qnR۬7�)�i��3H& ����^X�H�V�FfP!1�2��Yx�忉/*wR;L1oV���.���D?:��9�h����?���f���⸒��Z� Wk�6���l+��*wG\��� "�%��v�Dw ��2���ˆWTf�Wb9b^���A��P��4���OL��Lq��n}]kS&�������?�*�,�Vc�'M�n�DE0�DE�F$N� � �P��k��?��8���x��זy%�gV�8�G���xfu������<�����MlZ6y�σWz^�3ӭ����8X�s�DE���hN��� $.�荺� �j�n��:3���+a#073�^[���nr���Ux)�_�H�"�ٮ�S�+x����F��� �:Dw������|?���ʑ�y��9�&����̻��h4�2�I�4�=��Jɕ�o⟇�p��r��9mړ�kdJre���B�kI��5B����H�W�ʲ���L'�,����C�k���с׋�A��x��_Y�"g�I� [��(�q �M3Or�]�uV�6�����W]"~�y���l8�yp����[g[���'�5�1�'�!��%�)�%���UT�x͐p5�!��Υ˽���^d��q�Iq�m:����d�r�r�NMeMe��!�M;h��.x}%�V�H:�8���X� �5�WF�*�"O+[�V(pp@�1�)cX�p�2r�d���e���)��e(��,�Ϭs�ZR���5[c����=c:3˒r$���u��3HOqo���� ]c�^�:���[���UPql�X���Y9�X��Ztm�����&��d�e^�j�y%���a8 ���:A���Wm��U� ��#:Cq�9D�t.)G ^����b�c4�iZ��܍��,N s�ʋ��Zq��#?8�@N�eZY��E�����DѠ�Rܗ�ߘl���'Wredj����>3��ū[�� ^ۤ?B�MAE��D� �@���@�x�q.`c�=������P���"��T����|��ZAE����Y��+1b�P�bd�rA�ʲ���\Y���VTn��V:+G���yx��z���l������I�����JOU�a�y�&���B���{� �h�d�tr�~�a��"L��v{���lMq/v]]�פ����dZ�j��G�+ N 0���s7�f8D�t��D���LG�Y9R8���V���Zk�|�8B�#8�Y'h�^eϔ���;�eT�]��>Ao����t���-��x-�tļշp�óFg���G��Э,����e?%4�U�s��������rV�"���Ҹ�Bό����e�2$ܬ!8-i�}"���;�g��VvT������r��ME{%o�[�an������/_�Nq/^����3 GP�C����GH���:�� >B�f�b��e��kG�ڶ�DW����W�5��t��# <�y=HO@*G�F���(ۊ��$��Qyә� �����[�*����h��{km�ז�U\B�x�p%��8_m)Yzp ��5�C���&M7��ı� <���� ��pk���F~Hҁ8l��f�"��� Nq��n��:'�i� ��!�h� &���v�\���ݮ:�|�� �+�ax#�3�5�����I7o�W�u�����r����x�tzm �5�٦�_F&����l�z��V��C�� B�Z�8��=�Aә�����H�בK_S�3؋!.��X������'��|B| {B>����~$� �+�g��*3��:C���pm僬Ů=g4�9x�Nqq�Z�+�a�d֚ʙ����`��@|��L�=�F,�5�22b��${�V�$���*���M<3��D7tn�ZҚ⾒��WbW �*w����ʔ���7b� � �3��σP����ZԚ!�BL�{������buV�.`? ���[�n�Z浕G����@�M { // 初始化认证状态 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: 'dsdlxy', chapterId: '87589740', 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 看小说网 版权所有