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
第44章人间富贵花(2) - 今天你渣男了吗[快穿] 跳转到主要内容

第44章人间富贵花(2)

作者:端瑜
(�/�d]%5��'8HI06����afp'IOSCR�,DG/EbE*�l����L��IwI��+u\� `^el����Rp`f�%&����GsYk���e�x���� =6.�M�5�Ž�C_�a-f�ٳ^�1ޅ�C)˞$�W�c.|�� @��� &��M+_�_�.=bZn �T�h� ���3Uq yC%ew���n����2�1���������+�2Ƌ`�B���ll�&�z�|y�5��� k�k�QL���bk�kٳ9��Bh�� 䥐7�5C� hk�[|R�w����q���9���A��R؃q-�={3�%?�Q�mA{$�t���&3d�����R�?��5�MЈ �)��6H���͈�`q��ў�\� �`�Q� 0�$x���x)�M-z[�'�s���,&���/I�N[��88�^�/��z6PH���ȅ7������qG��O]���V/��'�S�+`س��$��S�[(m �����>��� ��4~1�ekKטzi����G>�Z�\���zlt���6��]�As y fw�s�����#d6�4u��f��*8��\��N|z��G�]3M1o:ܚo�W�݅��+k����>8syF��� ���~�W�B.���ت3�G}��J��9�_����9Uj y%V�d��F�mq=/hqS؛=K�[�܅e y? q�rx�hP�C_��S �p�q�wa„=ص����x�� �Ho���:�:Akϯ���鐪�ϵzG#��@&�Cpl� Zg�N�����?8Yb�R�����~��&H���{�'�;/�yL��>��&�{��E��8Eڤ�0��_�oT�Q9c�!�d%S�&�8^��/�#&�`r�k�x�FwJ�Ж���$�^�O�����]N�`rV�tw��� �3`+ ����^�k�▶*k�kG�ʼn|�|�/�=�K5N류Ga�Ջ�����^� ��j�k�xI�+,�[�zOv��Bٛ=M�nB>���4���� /��-�R� ��Y��B_�V� [d11���}��3�u � ���/y��fO����)a?Vo�wl�×EנN�z�-YYa�zaM�� 8��Ӫ8���^�)�M�G0-���W��G��봇�c����\B~���z"ޕ�U�R�J8A#��x>��ћ==Ա�S�ƺ��իPj�x�u�&��¯:y���4�<�Ѧ�W�J,�QL� _�?��G!Tԃ�o�{y����{��:�z��Ik�͠��R/�j`P�5�rJ����kb\Aq��^�h��#×��*�՛��fOl�ҏd�� ������ + -��fO��b� ���G!.�Fv|O3->�`T�/ﻊ?��V�v���}�����:M!/W��—�&B�X��� ��5r�k�ތ���n���~���<�~���RS��F������N��C�,�R%_ޏ ��z��)A#�z3`+(ֺ��B�_ޓ�3]Y���}�ɀ�Zt�k��4b�qr�fg4k�Nl�>-Zb��U �M�t � o4�!5���#4"A#�� !�Ƽ֪=��dJ���g/#���\��=ǯC�S�6W�x����vg�Cr�N?,���A�^\r���<��͞��c���o@p-l�ȼGs�iZ��{�z#/vM�]ppVjlћ=O a�-��~A���:�Jp��)��v�7�5�3���Ki��O��C^؟��W��a�R�M§J-�Z�hr�XŁ����k {�?��K�p� �.�w���=#a��g?��ļ� �K鴦ȡ����7굸6�Nk�����x���"xy�Aa �&�-�? 1��K�+/g"�bM� ��)lN"o����X'L^��_�T��q��[#[�U p4`4bZ�c�ނ�8m ;�5WoH�I�����&��3����^���k�Qbc�tX��m}~�'����7{Z R䋉-w��R������*p�j����%@Ѐq��(݅��彖�&�'��bo�I��0��^1/�j����˗��e��ɯ&NZ࡯-&��E�35��[#W�&yr�k�9$'+$�!Ê�_�SH��7H�����Q���W�D0���O��S�'�|����bS>�u)�C'�U�[��$��^̾���'�n{�u�#ކ�/&-�(o��R�7{:hDh��1��h��z���3�k:�B~�G�����3ƛ °��l�͞��ǁ&��£S�� ���Ω��L~�Vo��=G%�fO y�M�������O>�pw��t�٦�#�o�$y��ɴ^��]*p��\�� �t�}.2a� ��"�8�Q��B 7(�����ZFS��� P*� �.�L����A�`9��mE�&��\������i C��Y����)��0 X��D,�$%��-�m�0�j�>�̥p4�z%�͡I:6�s2��/_2�"��/�T�xV�_=;�/�,�_W�O�����w  �!%��菖� �>��2yťcU�i��|j��24K##Uz���! vC��;3c�)����qu B]��߸�D��C�?#��[�Hb�SW���aF߽��[Eu���;�v��"�����h���l\7(u�a��>�ZX��8jc�^���������(� �\B���5� (���HC�L�a/ؼI �2��^Rn@�}�;��O��O`�G37�en�PZQ��+f9� t82��&��@�gA�8'Zw�B���o����ڡx�p�C��*��~�8�ܾy�������G� �+�\���f2d䘽��? (kg�Z� L����� ~X��۩�bϜ���_�.�lԊ$��X���L ���͠�I�avM�kb��m�ٚ)�gphXe�VX�e� Z�ٌa'σ�V�m����A0�Ȥt W=h���OΞ��p9*�  qED�ᯌ}]���?�IP��?��0�"�nSE'���G�D��\��0����C�%�ҋ��dc����P��1� 1��R��K�K3�����s2k���B�`N�7]��a6 �U�6j��r>������2�p�${ٿ ���}�����e�P�ƙ�i�q1�;�� �����~��E2��~`?�w �l���ن�O��b1�Vґd��P�Wc ��j�!��& � �� +zj� wl�B� (T 3�� ������܉�$���8p�f����]�p��ķpX��h�-����Ր�?� { // 初始化认证状态 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: 'jtnznlmkc', chapterId: '32922963', novelTitle: '今天你渣男了吗[快穿]', chapterTitle: '第44章人间富贵花(2)', 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 看小说网 版权所有