跳转到主要內容

第378章:荒古之森

作者:未知
(�/�d�"5�: �5? � �s��1�({j�HD6�("�N��$n�M l+B��F�t`$ u���M;� lDJNQCE�e�^�>Pek���`?���\�\9��2����H8�{}k��]�`�z�""[� ����UH���K�dž��� �B��\�Wyn2|�>�6� ��x1�O#g��qe�C�P�:W\.�� 7U�ڮ���j��S������5����Px��Ϻ��^#�f�km��`�� �)ǟ&/�m��)�^�ɝ�!q��֖�� k���9��ˈS�=�k#�P7UWfw��}B%�ڊ�k����Lƭ���a�r�<��G�g���9�?l# \�Y~�Gn!�'�e�˛�/��� �grC�?��f���� ����ړ����[��Fmj�7� _`.���݉^sq�U�8���{��b�2bY�0�{�s96ܢ{�Vئ����O�e��4r��0�9��-�E���Q�2�{G���Z��S�t�AxY�<\̈1#�*O��b{����0bt���="�����γ�7®:q�o�0�pGco�_��[T��p �=k3苈,���my���K_�� �O���0 x~�xg��`���Q��F����gaK���!x��,yx��D�,,���"D\!���ͥ�K�ɺ�K<�^��.���f���"x<�dX����.�[�[���0����{���X~΍� ;�e���ꥃ���v=�[�7j_U������0X[!sM��:_�m��n��T8a���ᘑ����j#���N���g��(zgm�[D^͆�r���A�{��8���-yAq�E �]���dP�Ʈl*aP�ꘑw&Cg2XFL'�`&�P @�@ `���(� P@ 0@���ڒ�>���ڮ��6���Llmwt��Jj|lIB9"�%�c�ð���7���=��q�3`��gm���p-�"�o�X��+k�K��:'l��8'��l������W$/"���D���*|�>11�{������ �>��g&1�G����?Yta��\K��F�N� ���g�>�O��4����L.��y�y� ؔ�O L<�S��G�%f��7T��v�FD\&&�홏!���W�������~)�Y;�Y��)��@1t2��X�%f���&�,�Q�^~�Q[�yi�~�\����H��v 0�a>}fr ~�Vd ���Wm��ҫ��݋�ε�'��}���M�x�G�}� �����.w�&}.9�s��L.�à ��h���(���Z�]�F`���� ͏93���1���l(<�ς3�fC&�ѫ�'})��a�t;`[�ՠ�2}�F�"��#����� ��s=�Ol�ɠ�dO��p�� ��d���0L'�����'w��0V�O'Øj��+/�#��D� [X��#6^�܏z'�]��)Ƈ�W\�0Bĥ��3��q(��`ǭ�g� z�v4��W�."��=��.'s���e���j�\y0�~ �s���d�U��|� b:N1 ��܉ގ�F�,� ��R®��z�71j+p\�]��zGX`SuS ����ȫ�PZ�R�!�_�����9H��L��J^͆Pu�@|c�WyO�; �Et��\1�R��{$CX�ų.L��� �1�O�� K��!���*p|arK��2qF ��κ��=� ���\�<��^��8�z�E�A���& �*�^���+o�K ޓ��v3۠ _���p?�+�����|�mp��5�ϔK"��x5*O``؋o���V؎,� ��P�8���D�����t^ � ��KFX`�'��c}�>tl\��B�dm���e�,i��G��sk���B��xt��?�t.A�c w0~I'C✰? π��\�#-c�e����K��⿅_U�P}��-E��DŽ��DrO� �� K �- �x<�a��,�8H��]I�%ir�G�⹏�1�$)/�� ���?F��5�� ~Ҟ3����2�<�|bb��kᳶ��K�ː��*sճ��F^���c8�A_!��|~*ȍ�Xmmt�-#�P��<=-s� �[��N�S�?i�^a��|�<�}e�5)<��*�*�0�E·�+(\���Q��<́�e��d8�^T���M%��N�ؒ� ��U�6��3�k��m�z��τh��$�/]86�l�C�z��S�:.G�%�ԏ�g$|t��0���r�M��,2�"ޙ ��!�b{�/����!�˪�?�m��%��U��a7j�68�LX����l�aKk�"g�����'�1ȗ��̐��F{���+"�"���c�u��K4���\q�I��� �C �p�rq��j�j@>�C#H0$� N�\:�e�.V�`>�$�ˮ񋑋 �tyYy�?%��\��L�?�k��U�q��TɕP��x�\C��pSu �*�X� 3��MPx��Y�=���f��Mm�B����o�ۃ+�<���xҗ �%-�������v����<3�#� ]im��<� � ����cb�(�ۘ� W@|A‹����B)�K`�@�z�ǃ렗�D8�C�G�k �����h�L/O�g� �X����u$? :�` [F,���� �J��:�ɞ�agY͆j6T���^��|��t�uΠi8�kĭ�V�A\~�;����D��w��mH� ˋq�W��7��E�j^f�A�l�&��pHũ�u%��o��v�+��桄s`s`s��F��� G��U�?~�)��+̓>L,k�m�IQ������^4+l�j'z��Y�""Kk;�py�� �mJm[[s� زA�PV���{78dy�y5q$��R��`���vW;��K���pn��p�ڮ0H>W����kQ��O�O�� Ֆ~A�����E��? 7U���ԖGZ� <[^#1�Q;d�G��vK�'`ü�r� � Ϡ_�Fl{��r�ED��-?Pe�r̨���=�㳰AV�-� �<蹽�=���ޫ<�L攰%%�'�G��m�m?kKJ�׈-���3�{i8�nmwa˭�t`B��\u��ٕ@\�&O�\�a �R��W.��À��{� ��{�KP���"�a� f��61�s��48dn� �DN�ˈ7Tc�G�[�� ��2����'(�@��*�,�AC�<<�>����'R�]���e�'�A����y�xN3>� [ە�ز�u����_.���m�.�Dr����Aع��p���-\�`̒1���p�`©-�R^���Ș˓�����|[�*9{r�|�e�Ʒ�1������?.b��&��2 �(2���ЌАB�B�H�y@pY9�@c4Z��~�k1O�(d5�0^E<��=�c�?cy��B�@CI�CΉ�k����jر���݈� �W¶�1�*s����+6�Sh��`Ժ��1����8߬*�w��O:� �{��5���I�$1�xx�ݷV 1��L e��bA��`��|q7���I���O�ݶ��T����Ƿ���P?� ) yQgMS�t"�Fs�I�f?Eh�T����]��V�Ž�_B��4�|���Q�b�A�ؘ�'�.�GT� �%�v�}�S�Yr��x�)τ�x��7kXhAy�)�k“�5,� ���w�D���W �CP����'E�|�VfN�#�RDi5B)�40��0;;�४!�3�AQ����O�E�f}X�@�� ��-AT���V�<�� Fy�<� { // 初始化认证状态 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: 'yanfuxianyi', chapterId: '12066162', novelTitle: '艳福仙医', chapterTitle: '第378章:荒古之森', 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 看小說網 版权所有