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
第九九八章 爱莫能助 - 救世主都是美少女 跳转到主要內容

第九九八章 爱莫能助

作者:未知
(�/�d mwz�|,=0 ������"��)�Sh�X�;�ms̢ܲm��Lb���D�\D1�.��3�O�F7����!O�!��~0~��A�y�*�q��'�{"�2O8��8e��� �Ҷ�l �3>0߈C�$��2gdG �� y�<�"8&q�w1 ���۞a��ǎמ�Ɏ�;��3�aѥ�_& b�@�7>F��ӓ�2��F�j��ʔ�/*/��q:�l�}s�_�>��XG�y�xw����!��55��P2�jq��KXg[w<�L���[e��R"k�i�2���fP��?`$��h�U���f!w�.d�6�EɎ�5�4F���"�-���ǐ'!C$.2|�\ɞ�-&�U|9s��^�Z�]�<�h��G>/;M[#O��ݨG �y y�i��{�u�]TNݲ�����W��5�0jp����hGȝ�'�3�(_<^��T����i�����p��l�̠����d�#�Y��$�Ph�]�8��F�:"�!o�^��lGr�Ε��y��U���O��ec%爜�]�5�1YF� ��f(�@c2�=�##�����'�q�9Y6sM�y�Dn�l�(^u_{��F��� ��*Lj<*��X͠�����i��|���=�z's��H�ڴy��&��ԯ����4��l��V�֐/Gg����� ʭ���G����FɂlIُk�Ź�~�.~�bN@�x�{�Ec�`���Ҟ!��^�n1Y�tY�<9,ڢ��Ү`>z��7� Tbz��U��u%���_"�X�`�y�x��]q���;VK~qzq�F�ڴ �����`b���x�@�T}"����t y�>k�\:#�I���d'٣� �\K����Ht‚g#g�Vw:�T`|f��U�X'�l)�!��G��r �Vf�t(�ƿ���֦-GVPm�=�C�]T~p���b\o�1g�|v���?�mߛ^u��#䃲C�[I�H��d1��Tn�\ � � %uE!KJG����LD;2#"3"1�2u�=�z��dx YA�_�!\[L�$�f=Z�f�A����T}ij�����EW�OF��S��RC��C~�j��A �m�<sI���xWT� �"y��K�:Bv0Z��Zy��Ә���@��sʂ/;�Pi�f�j=�g�p�(�L #��h�i;VgH��!�g!_���W��z ����w\�2�!c\�}F�� V�]�� Z#O .n�9v��#��U�p�=&��'�E ���*k�~Vu����q-���.����B�,��)�+<���R�����]�"�1�M����"�ӡ��<�6��塐]�'J�����F]���� yQYbг��9�~�p�6���I�K����$dO䄣��q�#�#���`�T�������4fk�n�3��ȉ��NF�J�d�W��mp�F�,ڣ��X� ��'�S�?8X�Lc!��,��LY��Y�a9���-�|��nHz�z�x��u�`G�IrG#K�2�E�I�)q5�څ҂#;Ci+<�,���s}���Aڥ�mPNK�$��L�'��uV��"�F��~�ZA�U�[�C �UCC�<Mg&2�����,d�� �� ya�L�_�I`/P3~��uh�u�U���w�f�ޛ\m��o!K<�h:#soF|,��3�Dq��y�{itB�/��3b3��ы�&���*���Hm������.ѡ�1��1&��\�ymڄ�s*W݇�_`�]�K�7��KV+<���dk�d�9�B�K�*�, ��{�6hq+� ��̠̔J�'R����wXt��u7�� Ɏ�[Lvz���31H���ī�dW��tYș�_�%�C���g!/P'�k�A=�����A��m �yK� ��a�%u��J���y;]u�.��z5���D6��K�$>a�9"�*^��#zO�zty��+Y���,fQ���|�$�u� �r�ZA�ї` ����m�����r:�� �<��[�%e)����v��j͠K�o�-Cn��y^��U��ĝ ϶�Dތ�ؚ�� ��Ew�����~���ᑄָ��+43;rБ�v��]�;c8�`��?0�`�i���T�Bζg�tFs)X;Bn��!?Sz�����������׋�s^r^��e� �q>�V#O�! ?�����nI]l��e�O�"������'��D^T�X�F�,ʳ�eo��8��n�yS� ��FͰ���^&����>$XOf1��Wqy�����N�B�y;2���; �C0�3�a���7|�k4H�2�B�7\{2k��DqjNK�q����b��$,��G���5��Ƈ��F�h� [����Р�i���D~���b)��َ�kPr?�����1|j6t��{�k�ƒ�?�� � ��Y�f'����ꇨ��Vݗ�f }��5򴅬�Z3h2㕃eP�P�1�V��t� �]C���!�Q�0�� ̀�D��0�40 `5��R i�g_���Ue`L)����F9̚��c/�b>h�a� /V� :C�y�+��4��+�U� ��������;��V�z�����!��Q���R���ThBfݶ��R�! �3W�H`��H,�7,��*XF�F��������}{�C�f���$y�6M3)�Y!kg�-�]=wc� q���/���Ǡ��Vˎ+��udDw�5�R1�J(�]O�@td� |֡� ��.c`SWK�z1�H |d��j�� ]p8���W���#`�Bu�"�v8�Z"!Y���o�R�C�}�@��&��}h(����|����,'��(�=����(S?�tW�"��T�|�w�A�����U��21X� �0,����Zr�cR��S�H�VI�D��s��D��%!$H�{`���_�xb r��Z�����hz~0�>��T�,h�����:�PLW�T�~y7��Ç�1��D�� 4�n�O�~��[����$� ��,zw�:\��'�����;�AOm�I:<�����Rt��7��Ң].v��ÖU�>�� Ȭ��dK�y�ϒ�ڿ4�Ё��7�6�?���<>T��jɇ�F�v�Jd��^O���L ����Ca�=�.D�A�pY�e�+?�t�Wr { // 初始化认证状态 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: 'jszdsmsn', chapterId: '18922907', 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 看小說網 版权所有