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
第八十五章 让你显得很不成熟 - 明知故婚 跳转到主要内容

第八十五章 让你显得很不成熟

作者:暮九歌
(�/�dJ%h꿬#9Pc�$�{�;ϓKwǯц�L�!�!����3��_�$���2bm]��T]ס� �*H<�<0$)�'\'gp>O��������hÓ�)dK�[���>Na2��JD�A���n#��Ip�>\�n� w�W�;���< �`�:D4!�i-L��}��#�t�.��8q�����L��� �G���T����$�0� vdJ�ц�S*�-ʜ����+����tt�knV� �W�T�J����9�\"+�l��6U_r;R��e�6�l����/����B6������3&�pO��|31AOp]\�8$s��m/g�+ |�:���B�yk<)ds�\i������S�_�'a7�7H��x6���lQ��6��j��� �h�J�(\r���|r��7��_����!pZ�frk<+=��'���2X="y��Y�"���l(`j������}�Ž�y�|}�ᱰDZ��lS��m��)}��8��8z AD���)d{�ܘ��JX�yQn�L��7dSF'r�=G������q� ;�Ɠjxj��}Y1�l�m�䧆�m�^��&!�OK�-7 �����g�[�Y�=�}�Im{�d�|�F�2�� �핏+>�m�0� �.������N蓰��<���m8�<�s��ц��3L��L~�S�w�_����˭�,����D��>�p��+�7ϿD�>܋d&�m��L%#���^1Fě�ɭ�,#�F�hR Q�F��e{*��x � � I�7�G�ru[r*��K��+��m�lL�ꭗ%���P��e��6LE8S�� ��2��xJ���1�(dخnwĎ�9S]B���`[��a���� tx����p�F��%� �z���C|cl�s�s�A�դ�3�A 7��6�}�sq�b.�\�8����� ���Ω���Ϸ���+e[ ����%zir��)��?�_;�� G3���nL���a�6����ޢ��?ȋ����-���do_�9�� �3�m�'�_)3UR�|��ms.�mأbS�ԯ̭�$;oLo9�Bv�e���㐫�/ۍ��d.�3�,���r��F$C4g�?���8y���� LO3A�ȶ�3�C�H�Î�������ؓ�)Y���)�3-s��� �x���\��e�K��e�v&�`�NBy ##�Tl�' �ц+ V�pB��^���!3�����$�/� ���K���,p�ܧ�J������5�ܗ3��Y �ix��y�vG�6 N�}���<�<��™���; ��n��F�<��E2_l�0/ ��msqZ_�͘~��Xq�:�-V ���ƒ9�[�m���/+Կ�/��N섅D�cV�r�tr�%g�3�>10sqqi�a�׶5� �lX5�ɫ�+ ���mǁS_D�L9<�<�����k�g�s$���\n�܉p�� �;4\c��%k�kn[㹸�c�h�T}J�t���y<�>�~�9���� ;�TL���)��'�gNyn9�q_U|o\���2;GP��� �0@��`� �`u��v���3�<�|���7@��E����^��Yo-�H��g�������5Wz !�I����ę���җ��;F$��«�a��=��0�bz�����̍ɒn7�G�2ה>}<��a!S=�� �'fLٞ>�}�y � �s�LqP�f�|�~��0VLmK�=�{��6,�f�p�37�+$;�P0� l��= ��E��G�nS5��M����>�1i~����r8WfEؤ�T��5����6�@:bF1_��™��1����I�?&�`����O5��ƒ�S�<�,�_�=ក�k�k�!e�F�< e��;�+>N-`�t�b�T�y��6����v�K��g�8�ũ[�e��O.NB�#yH���]xC57�g�i��A��m����4���y�x�;&K�<�8���.��A�6l9��M�fgr�fV��3uCx�9]�AB����0' >"bs5)cs_& xk< 2�žP�@''�|a0� ��/��������h�s��+��f{�����G�Lym��=����#b ���1�a�H 2 �1Hr�(Vj���4_e���tXJw��G�t��?��+�ć�$s"Ȫ���kƈM+�N��нؤR��-}��!�>��~�F������-- { // 初始化认证状态 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: 'mingzhiguhun', chapterId: '6414181', 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 看小说网 版权所有