跳转到主要内容

第981章 湍水聚融灵

作者:误道者
(�/�d�'�<�:@ � ��⦅�UR��m#� 䢚�T���Δ�N�?sҍ�`�aVI�� D�����e:���kE�&����)"]��=�����/�@�!�G�ѱ�gm:�B��:���]�${��9'���k�瑐��{@�cߏ�wM�k�j��\����"�JǾkَ\�Y�BaF�6.^u�&rƐ=�K@wq~9x���bS���˵D&�6S$�m���3�Ño�o��/O�O��nvy�RJ�ᄳ�Y�b�A3J�{�́��M�T�]O�z���o ����� �[ E~3y��b{�KJ\��x�Z���+a���[u��x>�@�0“���A%�= � �'e��<~��1�,!����C�dc غ�sȖm�$7jӉ�"�`1�UwK{��lW'7� =S��]t9 �V�L���`…�@2�c��7n���/�NL��d��j�8A�y�pM�����^uwN���.Y�X�Yہ��tL%�S� &<�n�a�Ѹ'�����ñ�}Ir�]{�n�)���f�X�\z:��Nl\��9��yw��h�iƐb��;I�Uw ���7�|֞��}?��&v �������H��&�r�[��ؒ{J�R�d�,��KJ�O[��/��L�����o�~�]�As:�@�4~qα^���);�G�\"{���m�7��ga[�;��p���4qN�Tf��{J�#� �x�ƾ�"�E����#�[u7��6&r��[m�6xy��C�L� ��H/A�Ɇ�@V�j��=�d�&��zn�%�E`rI�Y�'�[��L��)糶����/8��ֶxNǔe{�< [ =��Q�I�w�j��'���[�9�{�6�z[�^p�] �Z"+@g\O��I��(Ru�BvA!o*��n�yD�����jD�B�C�ʘ�,�t�J�$2��fz��!oF�a�B6�G�Gy��S�� W�M@8f���r�?�(�8B���k��Ɨ]���Uw�k/�#ۣ�O��b����-ۊڔL�L?-���%�$� �a���8���%������"�H.(��u��� ��YN�T�Ĝ�G�/L�������u�p��܀ğN��$�L?A�*�2�|��#�/(�D^u7|<����s���T��$PD�ɰ%�tLuT���\�挅��ۡ?�^�\��9=}�š�s�̭�r ��_ x�a� �ۗ3����c������ri�N0rp�Z�tL(~־��\ �4�]���9��76~`���=c� ��WԞ�M�s�w���@~���|3� 6|4~�=�E~ԍ��T]��"��g��{>�����I�����z�]��:4װ��{b��#cWݵ����ҫw%%�(���nl��q%�N2J\�.ݥ,*{b_u�����p����"߉\�]a��컛ɛ,G�����2����>��Ȗ�� ;c��m��M8e�� ���O0}wy�;,�D$�s��"�$�=ےo����,�防4�-cc�j#D�G����/�H$���:�{�Yؓ�'����0�Pw�ܺ��R=�V�1U�|!����N��=��1���/%��=�\uWd;ܰe{q=��qlr�A܂�K�ob��n%��{a�g;cțmR��15~���q�/�/fք��y%�N�]'HO"'�9�8R��� 'U�ān�%C��� �`2�y�t'�ֶ��9�8T���F�6��]�;���0�q:�� � L�=p��Lo`x:��#�=�^��� �7�G��*7�KxX�����2���]u���ڄ��O����n �F^`z� o&�8a�#�7j�B�p�9�s��<�/y�a�e{2¥�,�B��9��(�Q��;��2�<˄�bo����#%�p��P� �[0ޒ�;�����ao�^V?���m�7�c���̐(d*tÑCP x�H���� (�(@�8�0� 0�S��g2��|n�Q0 t:������2>�6�:��M��}�]Ө�tL��ڛ�Ոp�]�Q|8rk{�4�C��}h���p��O�$�V�t����K���"��w4~@a�{��#�� ��l�x�O�E��;�$y�ґ�C&�N�$`Q�{ ���1�S�tLy%.|� ��j��%���jk/ �Kdtr���w��/p���a�l�=|pn]7ʌ�"Or"�O�$k������c��n�݇� ЄE޽���Y�@�5&|��M�)�,�`:�bwc[�L�8x~Y�m�}hy��tb�r�v��9zf�>/���O�75��m�ٗ D�M��!v�� qNYR⇈m|��ob�.�tR�;ʗ4/(��g��阂���=�=Y�� �S29|��9�� o ���ƹ�5�'jt�� {�9�������)�L/�+1����;�OH�\e[�-�>�|�{���e{�pƒ0��c���]��G���L��g��.p� 1s�"�jB�i�L�$�k�;C�%�_L�${b��:WRb��mJ&3^�W@����sK� H�A�N�P�Y؆ v|u��p�j؇j7��� ��%�dr�݄�B�|N���� ��LJ�V�Ó�yP~z �P2C^\OgƐ-�����. YRb � $���w��zn*\�yƐ�˳�^�Kd����k����e�Ҹ�3���8���CÝt�Su� �f y�R��;��gm����v(�Ya���xpyֶ@>a{��S�Y�:7����/J�y��tLe�(dq��G����b� �@��unt/����IGnup8rM�G����)[�+��l_ �$<��݄ݪ��m���s]�l��������2�02� f�fhh2��pW��-� �@P [���@ql���PА/��VS���o���6L^�V�!c�c�l�ye2���v�H ���:E$��=��ķe @�:�2�π�'0T�|��-��N�PΨHBʌ���I���@�~�pٻÑ#��� hjg��Lkܑ,[� �[��}�� �N7�g�h�J�A�J���l]p����`󊢫�6��[��a�b �ߏ�Z��`ZU���+O�O 澟7��@��?��o�qĸ���H ��̓@S,P�����j��#� :�c8�����#��*}�9��������|!���+5T|_Fe�oU����}�|�j�� �"*�T���O���iP��Rm���=� 4�� zά� %�U��ūE�@�:X�-��lE�/� �np�_E2���Q����c�N���`}�-���d}��hǙ5A�B�x>�1��0��<�����2�1^f�ŝ)���R����]�p�"�z[�k_y{�[��?4��Z�cz�C�!��r{H�49r��>N���ܘL^ /E�$>l��;�K� i�Й2�#�ʂ�>5�{L㭏c�Z�Aݨq� Ͷ�Λ��sc��H�bf����h���G�A"�_c�zf�!`���j���5k� C��H KQ����£\}� �Cc�����rj����8(c�!��/�6��l�ϋ��]�� ��x^���s�݂�W�I�ňI�$a3�a�j��]A��ia̞֔� [���n|ylŊ�V�x� ��?F&P��Y�2v�՟�k����>U� �-�I ��ep�����Fo���؋���Y�V�rP0Z`Ђ�s)�n?/Rc���,B P����ݹ���ՠ�)|Y�?�DN����t`�P�d��6D[ �u�u�=Eߞuq r}?�DC�w�DfP�+�}��)�{�t%�b�7�f�z �=�2��\�Oê��͡��ܡ��D ��ו�B��AFD�7ˈ��`�9��'�h^P@�Ex?���^���8���+Tl��Ÿ[�^�~"MZg��,�� n��h�s�)�*3˨�� ���_d�����/%Ң��+l ���R�r�xaN��x���IR�����{��CW ��9�a\p՚��dPɯ�Mn�A8�_�n#�<� /������8%Ŗ��:Y�̲%� R�&���D���b%��-[׋�~'Dۏs^�{#e# �{����#j���I_�#8�z 6���E8S7b-��fZ�;%�H�` { // 初始化认证状态 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: 'tianrentupu', chapterId: '41470407', novelTitle: '天人图谱', chapterTitle: '第981章 湍水聚融灵', 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 看小说网 版权所有