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
第十七章 神与剑合 - 从灵气复苏开始穿越诸天 跳转到主要内容

第十七章 神与剑合

作者:木工米青
(�/�d5mr�(>0 �������UzU,1�)9:�D3�ߒA�E����m���`�=$u1��W�gȨy�c`5@� gplW��V�'��p���=f�F�p��S�K�.��s =~V[D\ziNu��".�4�0����y5�� .2eȔi���{Ddz�DZj�$�ٳL`���O��j#p�B^�9�3��6��}���js���O 2�Sq����.�݊�rSވ�a9���Aʗ�{L�o�li����J�����G�?6M>� R~���f_��h�E\2�'��,{!s̞�J�0R��(�z�EX�=f�D� g�#�cc���L�6�~�{�<�ܔd���4c�|X>eNOkk^�̩�f����!rA���#é�L'Y��b����NiJ 0@$p�6�(�d��bl��I\��eP�Ջ���9�D]̞�z����jg ���+�\�]��3�TP|��e.Fq&r-�3ޝ`.�u�Z�F=ú ����F��3 ����8��_�.B�H�� ��6)�ȯ�cmG�eWQ��I�O���'M�{��j�֓ ؀/���L_�ݨ�U��W��b�� �ku�F��v��� )�Q���@�5�5 �0�����D��̳���A#�j_�ֻ�1{6>��˥*��t�w��TwK��(.Q7��� �rI�=x����f����ېA�b�7"7�=�]��j���$��i�M�3��P���� ����Z��.Ơ�1�M���S�< �%J&��g��'HgOm�%\ b���ڠ��|1�'r���'� �� �M����[�b���~X�ч��˵ژ�v�C�>,0�'���W*�<�z�'�`��F퍼}��s"G�x�p��>��+YEX2����p��!�'l�ٓ���)��]țՋ� cXdv�5�#�0� ��n�+���/�#CJ��'��ȁs����x>�.'�Tw=+�6���Fh8滈�[ޗ�,y9yœ�5b'�z~�]�8�]G�����+������'��P��$�H������;�~4������ F����r���ŀ8���Jះ{�A�"3(q)z)6H^�\���؞(P��v#�%�z���)R��Nr�����v�U��� �f�4<�|Asf=f���7�3�ud~1��p��5���˻�'d��W$��������\�•’g|α=�8Ƕb�� �3� ��Yk+x���S�-UN�\̞�7"� ���ޫ R޻ _��1�B^%ȵ�;2|�y�6��ڠr��� /��ؾ�q�g�r������'�]�]��*�ч���=\-Wd� �c��8^A����j�F~p@*|Ė���|A�I b�jxz�=���S�]�mS����[�&pX�F�g�3�+&�.?2|16�Y#������qJ~d��`J��-N���5 en(sI\.q/Zw�\��&G�g��ȥ������(b/�pDDZ���5�!�B�%Q�g�z�{��F�!��˻a����,��(��9�]�^c3,�P�J� �%&u��.h�?�I�Ym�g���=C�]t���Sf�.�aD�7�O�Mu��<ɲ{d8�� 0��n�VT2F�=K�c�$�G�7e>����Dĝ0V�>1�9 +'inVd:�@�S�C��/0p�p�{G<0�� n\�E\)����=9c�"\9`��Z���EЮG(/spg��eȔA�gĎ��������9d� B�����? �D Xb]�|f���=%0��������A�/���D�'�g�A��p�a�v��Kb�%�v"^�}�]AV�ppmp�-Q|����2�9��u��P��8~�-r�y-cS��=�˗ l����s��z������ ���%#��Dn�����˚�������lФ��k�6%��� �S�4�9�#ۣ��߄��x�s讂;!6α�{+{�s1{2(��Ė�+�i�`x����,2H��A Gt<���>��K�':u0����ʷ�/�/@��� ���a q�00$B#3!�p(I)w,Pi� lP���U9����IL��Q����&��(�[���r��6!��6���^��e@A6�/I�� r�]������䯤�WvN?�E)�}�PyU�:�~�z#}�T��}�-��@��/�(�+�]A�v.�&$Z�� ��+�[�6�s O���w��h5� �������*LHR�����%��c��8��b��j�sM"S TԥK��Ԁ(v�K7�K�:�A�:( ��1��� A���_��$�����9Ա��Ms��1�a(�S���q6`�j\t��u���/�BpO?��z�T�3��QR( �`A�&8�r{z�Y���梢���eu�d����a�Qu�&�Oᐨ�=��0HgQ����!��M��C�����������e��d2VB�CK�le�u�}����4#`�K��0Z��3�9���\�<�j����[j! �y� ��g��8�W0�����+9�B�Az�[�jk}�{���K, L�V�f6i�!��X5�d���H+�ymfmX� W�q]6��X��Cc>�{%&Z������]u|�W!�"6���0椠In�=V����w�R�Uљ��^��e'��u��v��� ��Y�\�Q›uC"��V����� ����9�j ��=����Eǧ�a��Dkъ�-���$�9^���uf��_QC,��>��"�K� m��J�N΀��(���U�L8-���Lm�k ��uRe�Rc��% u�ȆNf8,T�f� ��4� ��>@N�F ץ���F9%-1��a��@M/2�9EMX�(�R����.%c��� ������vN#�^e��EO�0�xpan�C��$�I��'�w,ۘ�kcj7\Fy��q��CĈT6R���H{�2�}���F&�Ȯ���\�2��0qHL� { // 初始化认证状态 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: 'clqfskscyzt', chapterId: '65342139', 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 看小说网 版权所有