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
第25章 第 25 章 - 穿成少年君王的人鱼后 跳转到主要内容

第25章 第 25 章

作者:猫杏
(�/�d-Pu.� zd=0AE+��w��a���M�[�٬c�!(B,^�!�"�m�P��L�%��|�,s��l��{B+0�8x�ޯ*�;O��*$�<�4wx��I_)�h�!��P���m� �T{�OR,йu���<r�] �/��J��Ln>��i)�p�Γ�����E����p#�ӆ�')��SGՅOO �9j��V�5�zcZFxN��|��mZZM�ei �[��R\�Αt������hK����\��Vr��z�\���ֹ��QqV��+B�"i�w�<���ލ�1ZN�L�t�w4���Q�4���W��TŠ֮ܕ֫ �h#�;,�����:zș/����؀ i9�g(���{D���{����B��3<ҥKSRN=���ӎ*����u�UwE� ���\0vy]\\��0B�Ԯ@�����!�Lk�)�ei��/�1/�М�C�z~m�b���T� �H��b��b��S ]u�b�$SRl qb�[����ڀR�g���AY_ ��n.ݩM9- ��t Y�bҋIS���G���Xtp�D�Iյ܈i��d �g��í�k�`�� 9�Czts �Y[���K��s����f^w�ݴ�d.������5��Ѽ�#-%��y1�n���rG� #Xr�]�գJ��?�~T��Hs�pE��Ѐa_$�i��UC]�B����n�A\u7T���#c��ܪ���=l�X�:ZF�_)�8a�K��x��d�m�dx��7��ΓW�M����5z�\���� �Y3��jVT�Xa�i#������n�������m���I�u�d^׬5�� �G��^ˤ��TMo`�����һ��V��4�F �n�6�z�h�h�+�6B�Uw�������g�u��p��Z�RZC�Rl-Ιs�� �ʔCj�wKL�F��@i�IOR,9mCl ��yB � <�e��RZ���OM��f���p`\ˤ�� �J�qtA�3���5�=�7=ړ�9Z���En��'���*6\X�h vBW�Yx�1n�ym�];O�� �&]���n8i��F�H0—�i�4�v�L��A�%=�qH��H�v�84�Ztު0�<�<'^�=DeNy������3�l�v��;���1W�9󆓮����O�k��#�K -*5U����Cj7��TJ1�V�� �&��q-�FF�ZӺq <�%��Dk穼�Ul"4��#I \�5��\��W�59��\����DkWM^a|��´���l��3��u��_�A�g@�ENn^����ݎ�TՋ�"\���5ܩ��+��k��.�y�u8�m���6����`�7��nFڍqrsJ�/��-�[׺h�d� obWL�4� 못ᩁ�x�dž�����%눱?��y9�4�l�< t���/������D��:�zQZ���.Hq?�{F�!��.�"v�wG�L���9:��c�S5_pfkMi �{j�v�.G�i�i$�J֔��t�[hYZs����?�t��� �6����t���h��_ �I#�6TyU�2is���~נĞ��S�����q=�BPkb��F������h�������')ּC{�%���Fk�G�'F�a��y�8����M�CB�����Ÿ��a�jJ;*}�� ���%!�o� �Kc<�/����i��ZL�������L��Vbz�{����m�����W��P1k ���^�!���`Fn1nȅ���pAv%�c�&�>|䴼�Ut��7�/׫���i^�6�R�9�9񤪻�$�����7�E���h.�6Z���G��� Q��h�A�Eҗ�P� p ��.�?�����҇��;u�� �.�h�I`�^z��8 {y��j2C[�+�`�T��$.F"=��|��ͺ9�����Cl���[�#�AP�)�٫ �����6b"\���V;O��\p��w+�� ��6�#��E������6]I1i��� ueŸxDB/L�J�Wv��l���;���u�W�6�n Ɏ�n\S�iM��nGs�P/&�!J��`�!I��+�=K��xo���.X�C�s �LY�{H�q�j&U���$9t���s�m������~aGh�!6U,�M���iE�Lh\$���G!&�n�Z;O"��Ҟ����T�Ž(�Hs ��F�;�ӻ#� 1sM�(��Vhl!-�*p Jl���S�:¡+�7�o)[���SzMt%��-�XJ�F�K��S��j\�Jo8�w����ܫ Yo�6�:Sy%�x�x�$���'�o�G]��W�n\�3����E�쉘���Q�3��$��ei�IS%u� �a�Ky�IW�U�#m�8bZ;�q�b�u���%�l���n`�q�MD��'2Ңw;U3¡?��Bts�6)!3�Ý�bZ�^�� Ȕ�Ѣ�s����9���|=����D�iy�����Z�݈i1[T^MGۘyW�]��^U(®�rƝ���F7����n���`w;���htĴ�Ly%]��~��� d�'�P1 {�;���q�*��E�+śEGL��W@ѣ�p�]I&�o�54Z�BG8�[�S�-�<�� 0�3���v�i�L^0P�m�8 ��}�a���v��wM�+�9�FL��.����8���3Z�}{j���ͥB��ު��"��|����h3��T\N<�0��W�p'0d�ûu��� J\J� ���'N�낱��C�"���Q6�4���9�i��|݉�'�{�c��Y��r��e� ^�4��g^HZj2�A����q�7Լ�6-�"��i��j�iQ�ѹ/��&�(�.&�(-f^2�tH5Fjt�Hs�N�K�u)'��j{����݃�V�-ϗ��4�L�) _o��{Ho����:�����`p��n��'��N�.J��P�^m�"�J�E'm� WR�9%ņ��#�H\ �a0�ьqʹ�QC``Pp�L��0�7[Lܭ�p��ہX�Pg������'J���:�g+c��X�Ѩh����(_��p9f�o*N����14��p�x*�d�-j�@�� �����a�¯�8�����E��j�m.��s~kZ�W-9/9|H�Yr}��/�kr��4ƒ�������� a5��ٚҘ� 2/|���i!S� ���jJk���O��RUhA��D�Q�� B����#b�Љ�H2t�C=���X�eb�8��?��${#<��Ӄ���l�ut�ؔN�&��{��d��}������g �B��^�9U� �X�HmO-��eC�[S3�™),ޏ�S�: �R�9d �&���U �B�q+�)i&0l��w�0}&s���f��!)���E��pjGM��k�h�t��* �󯆆��\Z � { // 初始化认证状态 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: 'ccsnjwdryh', chapterId: '34242098', novelTitle: '穿成少年君王的人鱼后', chapterTitle: '第25章 第 25 章', 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 看小说网 版权所有