跳转到主要内容

第一千章 迪雅

作者:怜之使徒
(�/�dp.ź�9�9:@� ��|e��ﴔ�CҒ�JZ�&* f R�lߦL�b�'+���2�s%`~F�����]ͷH]:��cH皉s0� EK��|O� �c��� �&ʭ�#�g�I��%��L�pM��h�ǢMnA}Ǽ �6����ڲ�����&�NR�屙�;�3>�m5�3��\m���tG��8b����hH�Q����]P�xl��K�k� 7���?��ڼ�=Tc�8P����Qԯ�,��K����j�tpH�0���-|���8|I�Q[�8<��p1p�(.���5� �����ٗ�?[W\o��*� ��CH^�p]��P��?`���Iэ�?%oT^�׀,���|��66�������%e��w-)`]G�#Y��c�xm�0ߪ�0�rF9�>�R;kt5�E`��C�Z*.Iѕ��.^�ׄ�X��ҟGD��5�����b�(Y8ǹ����y�r�U۹xB���΂ qlE��F��w>Nͫy ���c5�A�T�� �5���R��Ah(��6ı8<�kt�uc^͢%\c��A|t5�&Z����љ*�r �4�? :Rr��V3���:����b�����\dp�T�?�g /)��1p�(�@j,q+��d ��t)�V�Q VR�l�i��i�YY���8����e��'ӫ��Ã&W$����Kc�hJ�ƭ�$Ew ����'r ���'���ߵ@`�OlW^�A�]ū����!�=M\�\ 5Gg2]�N\_-Iѝ�c�\����OO�V4�N⵳aHH�@�����O ����%��u�ә�;�k��\�V�8�[�mT�au5_��KgO՟�@��2'rCA/(�*�� ]��Z ٲh̨���7!zb��pt��EGB�>6x�'D�86<\�k��/�77!���^�C�Q�1�㒴�DХ�E��� Nք�L�6�r1p�T�j�&d�냏%g��(2�՟�'I�_q]= m�\��5h��8"�6M�i� #�����A`hB5%m\R^P�*/(��l�YR֘Χ|B�S��P.�x��e���0���e��暸~8:��������=�?%�j>�2��ksy�U��5�횦#����T_ jtB���1�>mn�1y5�j2<6�nB���"5�>�>���~JVEist�k��~�F EJ^�|$�hx��a�I��T�U����k�6��� ��p1p~(�t��� Vn7k4�`��\����4�`Wk)���eћ,��_B�9I�)Kl��6N�es��%6��V��Q�;I5�3ʢ�^=�" `x����<ı�;���j��z�$�8J�hx�W���`x�}�6YD�Kc�HitFqpL�3�^�c����@��v.�9:"4�8z]g�WKiw: �]!ZA;R��&7��u5��uf�x��ǥ��(S��3����w�&�q��-�%e+� oU� �u���J�����|#�U����Z�+�h�rE�������ų�Ҋ!g����2q�fX��&��Q͟����!�dž:�P��.%tCk=�B@`��%p��g����j1p$u��jN����k��\�6�$S͙���"����c�X)��;�G�; G׭%e�'q�Q =fԘQ�-H�Q\���#A�'gxZ��9x#��| =�Ã�'Y:T-(aKVx�U�&Z�65��R[��B�� H�v4\^�u�ڜ"Z �������_Pv����'��f�=�F&_͗�&��&:���^������k�S�*R0P��ci�����Լ8v&�q���1p<���l�.�|5_���F�b�V���=��UqpF�ɵ�� �r [q=A�����?�M5^͟�Z�h�B�O^��K[����\ [�`g�*+/�%ZıV�'e�` Jؒ�'�?"N౟�Y3*����яN��$χ��9pMBA�����ʨG�Ѥ��W�-&�ά�o=G�Q6���]m�B��c�2�U��h�9ڪ,mf���Bi������1p������3���'E;*��?rW-Be��,zD{�L5��*[!��+��5�>[C:���('��>Dk�:@�6�ڜ�1Y*G—�Wx,�ր� �5El�v���ux��rI�Q����"�N��&��ژC����ѝ�'��p�7ײ蓢=���_�w��MϮ�t�a\q K��,E�ʶ,:Rr���RB�����@� �f�!�g<�,:<�H�C��:��H\R���#>�(�(W��j���J�Z偰����� J�#��@�@��*h{�?m�r!�I�N�lG�M�1p,�@�^�A��� r�c�ǚ4}�y kF� �-�6�P͇l �s�Z��Of~���Q v#r�����2�E�ΒbIC5����8�:��ˍd_��D �q�f�&�OR��8�6�h]-)����҇]��3m���/�z��Nx�Eyt�  4ى��N�6�ٌ�`{��K��,�c��NP�\mF�s��?�6�L��Qt�}e_pc�y�ۢ/��7�f�rK�@��q���r#y�� Gk�\�$o�6[����wU"�s�\��V�7N�3��7n��R!�J��~�f�12i�i"�ؐ�]��.��C�Ci�H�_� ����LPAFU���+h�"���r�X�ɽ"����"��p%\�9@���� ̤��6$�.m� &�H�E'�o�;L�A{j|�La M�^ٻ��$H�Ė;�u<�\Z*ĺ������ �����0�j[Vo�i�O��\0��4s���5Vy� �s��g`��9\�o�zȓ̑�KJH��B�)��7�Ue�ht��x�0<�����,|���.�Eh�Ͽ�3€oֵ��BG�T�W�(a`��K:0F�q ���a0� ������]S) T�T� �K��(X„�o!�V�H�"�;�)�/���n\�Ujl��C\�*ʮ�=1��{�fGP���AJ���e�Z�!,�S�P)ظ/�m��dY����K߽�]��i�D�֋n1���2&�"2��Mh0 �+0p+�O��S�v9:�A�[������0Zw'=*f� 'k{�j�_GQ��J{F�p,֢��0�+K�Fg�Sc�<�S�� Sw""h�3o�bq� P�@���G���z�5���� �`�W��֗�_T��V:{�:���*Zy��� ��� Ohu���V����놎K)"jS�2��� S[��ϟ�U� 3~$p�9� �]O�}͆�V� q�f��1�1�(��ف�w��p}~����#sjQk� g�����!���s�y�y�$7�ܷ ��ڛ�2�qYK�8 6[�u�� {�/��L�V�G�2U��^TT�xx3f ��<�9 �Q Ӭ���^RP5�$D��LV�L$)�o�����d� �b�yi��D!M�V��UP�}#�F��H��~3����X���8𔍡��f�����fB7�8|�>����:��|��I (]�����X�B� Zzb��6Y�I�/03I��f��'g��w�y�}#8D\1�YT���F��t�_$G�|l'��ۍx\��Uhwu��p+rk�*���us]_ٯ� �Զ�D�+ƬPq�$��x#��i+ !`���Ud�_�J�-཈������F �7��#��q_й��}�td�A���1,��:�J�O�h��.g�i ���d�u�qW�7��1<6|������^�=�O Ϊ�H7��D M�VIO.=�"�p4�K�4PP��_���%p���2煬�V��j&��0qc�2� i�5s���",Z��,��.?��<��6�h)��I(p.�e[{{���f��VsY�r��|��Z�YuT�P��$^e�)�>�`�Q�@zբs>O"��m�yۋ�F���r�xĪ5\z[O30���� ��K���)�h�I�vx�8&%��P�cPLXA�hh1M�<6���P��@6�*i[zYʧ�lM_����_[�h��J/)�C?�?���!9N����[lf��S���Q1� ��[�9�ι2�Qݳ��m�޶���<�#�Ac�y��iT�G�8ϲa+�t�� 0_�_�C�f�|�;ƪ=co?��>��D?ңE �������t�-9 { // 初始化认证状态 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: 'yxwdzwlfs', chapterId: '75543919', 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 看小说网 版权所有