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
第993章 - 重生表白失败,校花急了周晨唐婉 跳转到主要内容

第993章

作者:佚名
(�/�d�UH:��?0 c�%�{�z�Tb����ψQ` Q�`4!��2����uF�1�FuS��0�TW����:����9�~ �El�E��C8.�����b� ���b{cg�?t������9�n��u|�Elƅl`���1���8�03}喗�'O,��>�e �P��-7�S�,; ��A�o�A��8����˫�7��[:0wt� �1��lP����/�ws�͑b6�$�s���D�� ������a1��|�9��6���o�����'{(<���f�d.vF����������(A{�m�hd��W�ȯڛ�7�?t2�eH�g�m� ۛ~����z%��+c����~�9w����-.H��%b�N�L��2��>"e��K���әa_�r��mm ��E�0�B��Oa^��`��'�������-?�?��l0g�� P���8����(̰텘��V�*��=�� �8Ep,� x�����&,n9�6� k�G\�U��� ���ak��V�Ƙ�ڑ��IoI��|V�}&����F*���;����B���ZK���(�灬ܒby�CR��� z�����WB-f����3�1��ڗ���iOa��#�,�C�n�2 �qd���Ͱm��Oo9q�6H�; 9=��0�%�9Hy��τtT?�<���j�t�ә%�S��I��+ ��Hb@� �M�dF�tK1�� �"v�AΨ���jG�<��z���v����ٲ�"�����Ō����!jS(��ѣ�<��pɘ����g!Y-7<�v!�ʪ�]|ӹ��Aj�������Epo� �j;:\��� ���MoIA�Zȕ�/�]�Q{Ⰲ*g!I!}N��2|xCB��`��� ێ���,��c�O��K���#��DWP��W��T�4��-�~��(!G �6�%�÷�Vm΄\��Bb�7(ȭ���!a��!Q�pj/F�άw<��� �W��0��Z�q��/g�/F9զخ:��� ����C`���.a[�e�6�L�z����wsqɒ&WB��|`zK)g�9 �Ӟ:�s!7�� 2��l�ws~� �!�;"���e�w:ٛ�a~ծS�� ΰ-�<��e}7G�-)�[&��>�^T�F����e��� 2G�–�1;.*�������aNo���00@0P@��b6@"h@� 8@ $�`�x� H���ö�y%�C �L�{tN������[�U�l�m�����6��͂t�pj����~�p���l$&���a\����i��9���╇O�\�s�%�[J �`�֎�k7<�/_�;B=9��ژ���Æ�� [���Ƭ��mXs喜���#�A�'"� ��.��\!��U?}N�Vg�..2V�� �E�?���I>�x���-)�;^�� �á172~ �J���&�2�{�~,xˤj�r��T��1'Hd��¾pD��ɠ�.W��?_�j4�$N��AANf���[Į��Hpz������(��~1�����6�μ����=�Og�����_�3J�eF�R�� �r����n�$��pe�_�OD.��C�����(�0Ue�i�@ @���G�\�;���Y�4 ;�ҧ��+��=+&����{�� v)�0�;C�������ԝ'���8BC��n���t:�S���i+�+U[ ��U u+�+( �.Lj9��e�uP����A��aH�䖛��E������9f��C�BE��P�'����fM�9�lOE��s�aX'v�V��E�� ǝ�F�H��z����>�W�Q�X��O��O*���خ { // 初始化认证状态 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: 'zsbbsbxhjlzctw', chapterId: '31280224', novelTitle: '重生表白失败,校花急了周晨唐婉', chapterTitle: '第993章', 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 看小说网 版权所有