跳转到主要内容

第18章 绝世苗子

作者:古羲
(�/�d�U�:�`/>0 ����ޟ���$=%��0P�n�aMm��:0q۸7j�ڶQݔc0B ��U��;��!�����ya�S}b��n��Q�5/FH����v7 _�`�����H��8���)�C(8�eG�_}�m"��:����p��[m7�|~MM<�΀�����\�k���ǯ���cD������q,B99�����"S[R0?�8=p��'� ����"���Z �.�4d �f�8��˩-;����� �\m��� �W6���j��m��P��� &v�=r�U>�ֽ�/ԯ=�mxް�Ԗ��8�ixC���\v�#�m���*?*�F�<�<�z�ɔk���nWy�rj˫F��Ԗ��ڮd�R�'�f$���6�uð=��{���톾���yxK�ӳ\$o�;�t�H^�ǒ"���]nx8���D�B� ^m�� �\����G�-�WD��U"6�e��6s�s��8NM v^�����'v>�C�?�3`'���b��zM$ ad��--��أk >���x��L��䆾V�Nmy�� �y�]�s*s�[�<��Ԗ�3:����;�^���ҳ<��-%c': 9C�5;�uԫ06��v���;��|�r,��v����.?�p� 6["P�Cl����3��ڭ� �pC���=�.G��R�򈒫�,9�q� .><�� �S%<�90@P�e*H���?.OmIV��j���2p���������-��._��]^���]� �6v��u��� �6���B"/��7uثޙ�}]C^C y���B"�Db��T�_� ��8���&�p���m�aؓL��\m�����]j˭��r�jL�1=�(�]� ��K�S[&� �?5�>=�0�Y�R[FB�;D�N���s�+�xʂ/"��$�Ӱ���1��9`GB�i�Ԗ��X�-gPYs��'�{�C����;�T/Uw�0f!�HX�8�h�C$�y�].s�S�(/z �9\Qؠчa�,�ɜ�ð3%<=�����tǩ-���;�#x�x�]��Q�K�0_m��u��3j��do�R����3���8F��3X^����#!�8��y�����2�D�j�"G0*$�4�Ou�qGn�|d�j�>�/$�D���B�<������Ԗ���[m�q�T��6qEdw���)J�_/�-A���Z#�:�-w�Y�]�U~z��u� ���� ��N]n��-S[~�Ž��]��8)�!�e�|6<�/�%���S�#�� ��9��#2'er��L��cn����K����5����cru3�;��$ⳋ�rC�[�+��l8�qj�l�D��� s�s�W=d�!�D�!��C<�H��w��˃A H�!�~.�u�6v��-)�ϯ=�=��a��/�^��U�n�B���>4��j�W�M���e�d~��Ԗ��?�9_x>/7s��历Km���|�ް>Ȓ���z��C�wPW�徦>n2p�&[�$\�e��B�M��Y����R��I�� c�8��5��L�ǩ�5c_o.�<�`ٟꏈ7F�"�&_���Ԗc�^��*/R�Cĩ-!.�R�F���5��������x����j�!��>x�%d��nA��Ԗ���\�qK÷��S�|m�\��!*ϯ=^��00@0P@�@b.@"h@� 8@ $�`�x� H`��"lM�3g�/<&���I��kM��� c7o��#0wP��r�a*{8�����T@5xTd����SC��o���� "\e~~=[5���6�� ��F���ׄ��$�p�π v���^�}��@��^���W� r��w�]Ix��ɺ���5�1$�S<�7Pt��ҐxW�:x擨��� ؓM��S[zյK}|�G�%�'f��^!1v�Fb���F��Q�j��+�����;ꭶ[I�a�� c��S[RFV`~�^���S"^I �0���#� ck�� ۙ�^����v�ɳ�oD�]��N A.>D�Lm�P�����#�����|�YOm�xv��������$�n2=pjK�;���Dl ��W�.z�ć_S�� �L���U�Ny�f9F�&��|"�>4pF��r?<ḵ�a7�9���)�L���*o}^?*0M�~#�M�������G�n�L��S�{(��X?8��uƄ�3$p�]��1���-焞ڲ{��;�����@� V$0�u��Ԗ#��v#�<^a�:,��n�dɃ{�O�?%|�G� o�>�z �)vW�:�����3��Hx�9�59f��A��G�g�T�(�xx�r �3�g�;���7�n1E�� �����<�I^�2���%���4��&����j�ڛ�'^y�u�Ͷ��U��<ȋ�&7��;~!�z��SD�>�Ψ R�@ �f0 ! ��s0�I` HPt�ͽ���a0-�G���5h+�;��k�8���c ���o:&|��h��9l)��o"�� ������@P���A��c���ߦ@��nF �ٻ� ����\Pf����-���mUx���ث�f5��X���`���r����PUۺ���&�D��qM�������=�g&�}(� ��B=I0���!� 7�e R�ȫ�Q:b 3L�]���� ������:ͽł��Q2�qJ{'��ks�����@�.�x2��JYwU��Rb_?�@�,l��ܦ)�#�V���F����p�Tҹ!�� ��"�3��/BW{rcQ��[�O��-Faь�?�>* �M�Td� ���K� /��� ˁ%�ں hJ�!X��(��['Jr QH^�� =�*��u+� �[�y�����m�`�F�����h��Nx oG E3��%��%� A�IJ�#���ia-�R.|bu��N�u�ti}[�E�_p��#�X6Bd��k�| iP��ݷ��*X���c����mp��X.nԞ�:�L\"sF��r��J�p��h�[���pXp �ye�-�[Q���]�笗�/�0AB�. ��m*ȧ�Ө�sQ_��WÒ x�6��py}���DOO { // 初始化认证状态 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: 'cyeksrd', chapterId: '32278864', novelTitle: '从婴儿开始入道', chapterTitle: '第18章 绝世苗子', 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 看小说网 版权所有