Notice: file_put_contents(): Write of 3347 bytes failed with errno=28 No space left on device in /var/www/kxs-php/lib/ZstdHelper.php on line 81

Deprecated: mb_substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/kxs-php/controllers/NovelController.php on line 303
第109章 七天的提升!返程 - 灵气复苏:妹妹竟是女帝重生 跳转到主要内容

第109章 七天的提升!返程

作者:钰老贼
(�/�d�-hj� $A Ss&�{o \�e/�oJ�ݠ[kB���NA�P��l-�"@|p d�1�`�s;� ���p1�-+/�P� q�(y�s��3 ��q������:�V��pVsvSO��)R�<,Z>1y�� �9��� �I�k�I�7)�d�����<�a��')p�}c�u�z� �K0������,�9�)g-�D��.Q8�i ����� �����SE����pPS&����.��"�}8s��3����v_���C�s4�m�>���'�/!�);����ccWdWDNR`���}E����'���0������*�R���qH�F_�ڦ<�i�A&]�R�v�&���ę��l+nz|��쯞Hl�0�}hݔC�+S��-)���즖0S�ԓ�w�Ag�4�8��Mtʙ3��ݔR�4y�á��a� b7���-��}�i��-�d2rwf���5��M 1a����5v-���r��M�οzo�I<�yͶ�Ȑ���rH�Q��0�����٥Ԥ`H�a��ء �8rVKʰ٢��#ۗ:4#�s�T�Bʦ�.�|���6�̵>��A �7}�8��h�G yq*�5۔����+���v>/Qؤd���)�:��67^닖�M%�������ĩ ���"e�Ü� ^��p�r�MF���l�cWfSP�z�l���&v���S_�~����Q�7e��+��$[c{��7t��� �8.�D<8��D��Q���+���S)(�o��&�8A�M���K��4�8����o�ɰEp��ۖʘm ���m�M��7�_LO��7���2F��= ��Vɖ���Wd[�)��=�R����������)g��l2Ppl�Û�,�M�+�3���'.O93�l ���cD�y� �x�>�>$���L)_�G�G*�`|�)k@��^� ���ԁ�X~��)G�G�w[��Q��7p~}�}w���"C�(�b�!6�`�"�t8����P~؎D��Ȕ�%eWdw>�@�4uvS��Mt�ã����y�Q�%�g7}h^m��[���A$���X��RO��~�OL|�a�g7�Xt�P�Ev~8������ǂ�i�Ҁ^�Wd_�+�f;����1��<|)Q �3 T����V �>�U�6 H��8k��3l��0H�'u�}l�ٶd8���\q�K˦ ����j�����_n��:��j����nC:E�������ȮD�ƆD�� F �$���`:$�6�8�!x���W�S&.)��؇?\m�4�1�����նB���){لA=� ���%eo�Pq�����s�C"���x�� �ݛ �Bv���)�оG�2�� .��t��Q�a��r�-62��/��� �- �Q9��z�Ê�+xh���䳈k"b[$e�Mį<�"S~��d�H�Yq2H=g��q��*N���v���iA�����{�� 1Gخ�.j�8p��H�_=�:�(^��@�qCʘ�5ۙ��mn��~�8���F"|�qE͔37*�t>/M�\DŌS�.�\|��GəZ5�`�;�g7-M��2��WT3���⦢� M���zz��`v���q�(�1�j���A�! ���V0łR,��q����K����Wۓ�!��4~o��n�y�f���j��9I�-�45$��5���< { // 初始化认证状态 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: 'lqfsmmjsndzs', chapterId: '53742954', novelTitle: '灵气复苏:妹妹竟是女帝重生', chapterTitle: '第109章 七天的提升!返程', 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 看小说网 版权所有