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章 - 夫人又震惊全球了苏以沫厉霖陌 跳转到主要内容

第44章

作者:佚名
(�/�d�%cں�"9@Sh��{o�f]���ӝh.�b�F � ����d�t3��(���8�!Lh����&'� ��A�V�ڸ�� �5���%��#����ʴ���ו盓Z�[�L=�^��M�>>[�VWB@.xT���������gI�F��� ���@����Q���rG�'��a��V���G��<h(���CT_z���k��s:�R�����c�PQ���� �H��q+ϫ�S��HЩ�̢E7��@�6_y΁� ���:��?��}"Z�Zr�75LƝ�,>��@�E��rɩTk�ne*9�<�۩;��0Fz3���+�*7%/f��pQ����/q%�R2���]LmRh���܍��(s ���q������\'����0Җ���@O`���V�$��s+�+���������:��s���ŋ�ʔ�ܱ���T��K�Sd]���9 Vp���r�j *>�K��š�+oeZɘq���_0x��2w+ӯ� Nh}b�1x�[!}W�Yu��L)�W�gD���0��/q�V���� Zy~�����WD�Y� ����7�F�9d�rH�.��M Ӕ�4%P� `�0���Nb�O���z�I���#oe:��p�(�JOuW�Y�,>p��+ϫ�goe ��s������e�"kuAgl���؃+�+Uo���^�zr�Yݩğ�#]��=�V���o ���A�2= P�|���5_y�m��x��9����L��ĭ<�o��5.B�\]��l�Jg�#-f��kR�ձe.�r�E�D>h�`d���$�w�^�Wljp���5HǕ�� #�_w+S��$�H�&�� e�SWr>�P��E^�Fz�^~iҝ��Z�f �~�ɺR�_�N�b_oe��4A���ʴ�<��]��1���h����T2���s� &���$�T��ZrbXD�5��p ��s1×��q/]S�Iu��%.�yQ��������V��.�6_ ���m|�;Q\S9�nB���Eᗖ�^9�A�(����[�=@���B@��\�#r/�����,�l�.� �9��L�0�&�6�}�)�ڝ�b� ��;���t���X�s>6)T4�n�C=u;[�f(]�B;�H��`�g ΄?"���Y]H����5i�5�H�DC��n �3���j1�����������.������0ҕ2�Hh���q��-�6%����;������hE���W4q��+�4R�V�b�1u �]��q�@��ְ�:�<×8�+�a���@�q��-�'�Z��t��Go 阫"=ur���Q�E�?�]Dںx��n\�M [�z(ot,�����w Ƕ�F��� �"����dl�[����V�ָ��`����I�2��xt�yVW�z+өd��j��U��3��x �����q=�Q�;�5;jKtF���-?�<����s�� [ ��T��I.�����s �*��A.H��dqVW yC⃄��4R�� @@��8@�3~�9��3 �ɚ�tr�З�΄߸t�8����Kw��}��"nC�V &���4a1��͸��Y]K�Z]��sE�O ׊�ǘ���q�N_;>ΡPN���ne���T:� w ��>�>Q ��qu�j��B����!��6� u�%Pn"|1������]|��T�S��=h>Dug.W�;�A.��+�;>�%%�s1�d���SKpM��<�Ӹ:��%C��75���񅹕�r�Ҋ�M_y^@�;��+hŇn0L ����<'�:Y��V���7%W�g &Y�(�r�Қ���Zݬ�&���͏*�(~+�0қ���`1���IoeZy~!5����b�W�-�|��NǤ�7So�t�ɸ�pH�#�*"h1�s����K0���}.��ӕ� ��m��|�{0W�An�80�q�:��L�4Wwi��d�C �<APM��V�����6^yn)�d��b��,�|ZS���8�����|=�������3�6�>5�6����:�4e�����Y�|�A�q�0 `3L! ���0y%#*���@���@�4F�Fǧ��"��Iu{��r'\�"|R��t���Q��H5\���S� U��ֹ��`@��M:�,-�UG7�%�Xv�H�G@2)ܩ�+����>vI0��l��Xm66a��w�/���\�!@�˶|*$��L�rGE �PY��"�����栀Lf ! d,S۫@)VOa‹R���b* �l#6gl�=�D���b�p�����t`����c���I8��F��B��èZ����'��zΚ�J(�r.�xѹ�j��c@���R�)���vUKZ�^v  ]�iH��m�U���f'������`S�A�s�����6H�y�?*(���t�Z��I��r��^Uw���n�,�a�Bm諸�d �'xxL;���/z�< v $�i`��sɮ��c��,@I@�]k�'7��~�Ϭ�-�����33��pb0v���K��tL��/�$����/� �(�����&!$D�y����x��!&��Ƒ�q���L>�������@�?�C���V�X�¶�`(��qk����-T6!�E� !�qa� ��gO�Xo� �a8�� "Դxp�W { // 初始化认证状态 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: 'fryzjqqlsymllm', chapterId: '39690309', novelTitle: '夫人又震惊全球了苏以沫厉霖陌', chapterTitle: '第44章', 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 看小说网 版权所有