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
第144章 宅中(二十一) - 在无限直播里当娇气包 跳转到主要内容

第144章 宅中(二十一)

作者:垂星露
(�/�d�+=��Q�>? � ��{�͛�U����tk ��(�d��@Զ�i��� oL$��HU" �3�� �<������V-�aQh?JOX�����b�C��#���Y�VE��|�\+�6_�`Dؘ�Vvs���[m]�/B��Q.*�P��?Js��R��� �8��ր�|��z�n�V���N]^�d���s�(� ����ɯ�5�F$t�a_�g��$\��3ڭ�BD،�j� 5�T�,˅$�h�[m�8���gt/���>�^���Y�p�S�޽:_e��pJ� � ъ fQC�������i��4�pU �����SHs��Pܫs�䖈1�\����c���O�V2Z�� �g�6CZ:t�uu؁�s��E8�D���e�=e��'���V%x�yG��s +��)?HNzxe��v�i���g���$M�z�y� �:��C}S\�A��=��Qzb�� L�7�[��h���n o��d����c�K�E;���|������"�G�m>���|,���"����+���?8F�\���<`� T��h�h�y��= R{�j�p;�7uNV<;������R�m���A_�G��|.B������8��֬���X���K��e�_�+�G�>DR!�[mu�1^'D�����y1+�Ț�5H٢q(�%i\ �h��C�I�.@|w�����E���/�"��*��I���jJ������O8�\M^2ZLmm\"���\2��9D����4�����~���g���?�E�^�&�YYF����T��~�v#`�h3�"����5�%֢��Ђ:�x�-Q�mͩ�\`�0�D0�8� ��&�t�H�.�)nHO�{��$����J/BK�}�`�h �Q�8��0�I���><�ԯN�/x�vz��|c�DC���oD�:/W�@��+���]mq8���ꑯ3�N�����zˆ"R&=2�V[��hE�/��|"uF;��J��͋�-Q�!�\��e�)�չ�닅Q�{�c"~�Gi�ՌОNÛ:O�bYD�O[<�|q���Do�U��E�W�� ވNOW��V[(ųN�Z�#�h��ȀE��~�<�q�O�"�cV�Ar�AYp�_�/����֪LW��@����t�x�P� �"�m�{��EhEю8�j�VZ<��Al4feQ�[�g�1�/_�9��}11���ǡ�M�XX���� e����8�L�୶Ɔ��A���h�ՖD�h%Z� ��X���[o�e(�J��*����s�A�"����^�γ�h���܂�]��G�G��b4�5�5���`�ֈCg&��4��[m��+�6/ -�p?J3�n,�C+�vz�P%x�- �C0��V[ZhC�)�K���'�"���Z�pE�1��EH=#�&'P����C��t��y���zB����S�Cɟŋ��(�䭶6�cVvT~�w�-�Ø�%i\��������3B[@�q�JL��`����&~U���Bꕺy�Ư�3o���$ZCm��_��[mY�MP.x.�"���V �<\ǝj!�{)�295�l�u�UШ���X������+��TK~���|R���QZ�b�s����B�.|���1�G�����C�9Fo��(qE�W礇 ��(Mn�r���K�H6��a�U9�8��v,���/��wx���'���͓&�xz^��a����h\Y���!�Y�FYZ2����A_�_a���D�nHM%��<^W�7�M�X-ƍ�r �B�B�^��*�@�,�R�x��] �%�>e��=O��k��NXL�<�Rq���$t� �[��vc���+;�c����)�‹����IFˁL������Zc,��@����'b��d�s��p�͟x,Ap+- -wx4*�;HGeX�M��W�Zڎ竏7�)�:������/f�v�bFhWO�6Y�v��V[�� ��ZKcek��h;����Aq%gH���cq����ꍀg��������U��-�Р�5Z4pRko���6���hUC���GŬ�n�U�ˆ1�^87D�S���w�� u�2�A� ���̤EbhG⣾�|?��e���}DdU��=GY|V�~�6����:�S}��7��k��?��Q:4�뉃饱��:g(��(� � %�]}��q���V�K��7�1)g�o8؃񆃺*�?�&�X���҅�7V6�� � J7D�(�T��:�E�sL�R/mB�c��c�1����9��9�6$~����� �c���zF�q��wuY����*q��[m-���'�(1���4��L���Ֆ��lA���*�+����y �{%���geV���J������`��C��5��� p � s�$@X� � T�@$� L�]mU6 ɺ�.i���Q=���&������`§&m�<��J���S���&��W���n ҰC�7�hW��M�DѦL\)����#`_-��Q9J����N�IC ��ݫsN��ģ/chS��Mq�Rc���/�FMn��1F[Z��%֝_��B��$�FhO���(kN�R!x#N�O`w��n��_,��V)z���r�2#���S��8���R>&22B�q`c"���3*9�c�/B��j3d�LmU�# �p�p��C�+�O�!���@>eO7wepF֨�-1�+ɧ�7�<�H ����> ��[mM��6D����WW� �U�_�ׂ�^ r���V[W� �7�Ֆ��T�WX�2�V[�����[m����7|8e�h��Xsu����#���[DU����pNV������Ain^Q�O�O�k� ��j�suB���1"_�3BKœ<\旒R����͐�2za^M��chG���'�hgH+�v!ZP���@��8GZ�D�g���� /��&��V�s���ՆO6�c���E!feYg(.��#�9���Vxc����X��]�У�l�h���V[�d�GQB���R��9ks��EW�5zk4���� s��dJ���OL���E�66��O8��4~y���N�N��R~� ��^2rg� R.8���[mJ&=��XsjQ���3У,��Nj`z�bV� @���iŬH��;5)��� DII�:K V���3��D�/cc�_�xV&נ=�?J�gS҆4���0(̦p�%�Eю0&pW�G���7�&�����* �0�Q��� 2Ci$����)��@ @� T?����|DboHp@�K���>r"�Z�i����@K12�ǝ�şr����i�|2�'���+,.�n`Mi?�~�`���n�ے�@�^��sH�g�+SAd憮������Wm �Yoh��E�, �瀅E9ܬT�g<*`G���wX\OX.Y�����A�~�@���}<��$���}�hK�{egI�pPY�w[��@�ԴxW�����?7/�$G򗄝DOδppUlS��S�9!��W���d��������>�c>]O4�lơ��C;b��B�� �β����V `��3���.Q�H���&o �Z�CTH�/.c⎸�̿�5�b/&�Q(�������j���{����N�t�{J��a�k���g)��\��Mr_�����LB�IlGg$�8pQ����Ӱ9|��u��u 2@U�j �G��"b�ϭ�$�0�%�*�O�$��$FN��q(P����@̧���C��0\���~F_zOׁڛ�Ј��e��!! �ц?�b�0�JI�I���Q�Ci@4纎jGߍWg�͑��}TM� )��-8Y7 �5��b:9pN�КU�B�s&�:�M��h�-#u4�|$�5�+�0��g��1S(s*�ɖ��p���_��v��|!�+��B,'7�w� 2��a�,=�v}H�_��T�,D���ޛe�9������*0ę- /_8�P(�W� w/I>�V63X�q�ȩ;X'e��~�L>T�{U����Ӧ���@A��x"�bGq��2Ϳ�/� ��V��w_,��+ǟ��t�Kq-��I��GbTH$�(��1��zZ�v�-� �=���@�Y^hQ��������!�jPտ���$L՜0���%�#�*b�$h#e 3�� � �BM ��()�:�U@�g<�^��C�umdt|G�ɱ����� ���(N���H1�����J0���72��t�57+f-��m��vD7M�*^#X%Ɉ�"Y�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: 'zwxzbldjqb', chapterId: '60845452', novelTitle: '在无限直播里当娇气包', chapterTitle: '第144章 宅中(二十一)', 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 看小说网 版权所有