跳转到主要内容

第十一章三阁测试

作者:魔幻假面喵
(�/�d��|*��/;P��I)y�" I�65� ۭI�[��������prWh�3(�c��PQ����؋>�v����['m�& (d�<|��}E{:gSt���c,��J��7t�ގ�3���4��s�0����-��!�+^�c��?�)��qi�Zx�zB��cƹ�~!�1�;�LI�)��#Շ yڑ ����^\�)��2lm�iǃ�O&����Sv�y7#̅��f��<}��K�1�y@!��)抋|Y+�ɓ�JX�B&��ʝ>�6���iGI�)qP�S�ʇ��=��^:��B&@�'�*�[�O;Z��Jӎ!W8E8ȁ-�#�A�ӎ �C�[k+tX\`��Svk�L��� ��5`wB^�=�y���ӎ�̙��,�= ��w��#��W�[�{)!���)�ʝ�+pN�����\I��~�q��H\M��?�̈́�rG�'��}(�$6Cؕ�� ~��a.ƭ�O;:*�=e�A����j�C��ޢ}�9ç7O�y�!��J=�� ���R��y�D�R���Q�� �U���O9��m�n�=e� �3����v��O�2H�杲�����P�0�q��V�W�g _���t��=�X�9�6G{��;�/�/� ���h�S��2�k���O��,�`˴Í�� /�|��ɧ��B�h1]+�M�1L=<0 @ � dvY2��ʏ0?�Pq�-;�N �̎ �5��ca�8GH�@f����Bi $��x�ÏhW ��0�O;6�ӎ�������"�:��}��n�8ew�z���þDj+��N���"���]͖� D>�<^Ox�x��E�O;~?���B�R�eH| �+5Pn�~�|��sÈ�� ��7Q�6z��f:'�E̢�� W(�z��A���DyPq-G~<����G9�z�?x���VqA�!m�B��ٞT�wy��9���9�zl!��� ,s2��.�aI���ӎ �/l���������9��9�wp�r�?���~�a_k�hs���|G k"ߘޘޠ����k�hwڱ�p ]r��ԗ�/ і�E�SpQrOɧ3۵vl��–4��R����'�_ � �'�����5���R6>e�|��+�+p��`���;�ر\���t�5e�R�v�6��P�D|� � �:\��0�y�����!X��P�#�!�KjԾ>�hO�<]\�s�Sv�ëJf���t^��^� ^� ު>B���w�O{$�!�v��$�Hr�RO;�h� ����Kڢ�ʼn[����Q?��GaLñ K���i����h�]2���Q�B�n�S�/hO;Z����W2��0���5�C�žP���,�� $��a�e=!�� �^Q�K��G�>�H|�Q��X>D�A�:J8�Y\�D�d.��Fx+�7 o��`�I�<���G�C�N��[3>툰e��-{x!q�r1���;E�$���������}��S��O�#� ���{����k"̘>e�r��G�?��u�Fmmj�����iG��v+aoθFm,�!ȭ�m!9 {�ӎ�å�FW��J�!�\�7 /�+.r��Һ��;�5�d����5��$����� &m���ҦA�m�uw�D�s��J�y����硅�ٞv�y�Fl��%�[�8���f"p�Z{V���p-�p�H�%��-Ah�(�m?������áå$�F�m���C��Нv\H�J1�T}�yf;6����y��z�����f@I� }��5����`��T [���J��6��#� \iρ`�G�����)�!�>�P�ͥ�'��Y�y�}B��� �c*��(o��ў[��ͧwA�� �2��c%�(H��{I�{��L1\�q�6V™�%sْ����r�%[�!@�v,Hd��+�=� y��I�%�w�gdƨ�p���L�Z;�R7j�W.�j[�� ^�|�yƹE B�A[�GS�\�en(s��|���&�'���y8"qq�?�+�W�O;"X��~`��9ʩ� ���L.�1>I ����Β?����'�ZT��)���ў �P���%�w�� 7X�q�z��[I��.E��$�Ku%L@y��I�M;��~�\��;e��“0'����ve�{�ۨ}��%�����#,[6���ϯ�!� ��M'����v�G�G��Hޑ�֎�D<`���;A�Sv��)�����gSu r���֮v{/qE�/���Y(�T����|��F%��y8$�Fm���=�3`� .z���s��D�l[ Ju{J���l�O�a��:�Br�v���k,�́`E�=�3 �{��ق�W谔�DJ��69�k0^�yR���-݅|��9>%~�-ڗ ��9�uYi�{�q�K؜�AE��6�t%�U�>lˑ3#̀<'l<�*�r�Èk%,�/�/}.0��F�:�vB���>�& �#e��u�����5�a�iG�MX>)��&k����F��)y�1x�v�v7Y@ZOlW�"���"|��ӎ��$c}bL��#Ή��ū�Sv=���%�a� �+_k��O��+p> 0�*�)�TrH�O�}@~�}���|B��>eW��{�o,���|��V�ڠ���_�\P}#���f�h�8�� �=�O;�(�!���Z��QWr�P�j,/����0ȁ'�7(|e��M(i7<�b��] �sp�� �#3$�L�B�J�ͷ�V��TN5w����\��� �?�\\dK�A�/��l�\�&e�Ҟ! �{(!�@5�T�  ��p� �����#�w�&.N��� 2B�v���3�y�fB��s�-P�J*� ꒳�ooq��+�"�p�4� @��8���� `�����ϥF R3S� m�Z�q�%V ��T�I�zf��ڏ�z"U��K0�${tz�ƶ0d�X�吨�a��;��-! �En�0����A�`u�{��� ��n��g���TX�ДQg�+yC���)@l���)m�S9��q%L�70(�Rv��q�-j͡�&�wĂb�"u���3셑xСX�^�\��;� ›z7_(>L� �����V�6����u-��@����HyMN�&d�!�X�M���J�R��� { // 初始化认证状态 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: 'wktlazdfs', chapterId: '81181566', 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 看小说网 版权所有