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
第42章再入虹口道场 - 在港综穿梭诸天 跳转到主要内容

第42章再入虹口道场

作者:牵牛喂大将军
(�/�dx$�����-<@)�k���{�5�~��E�b4\�!�F���hH;-Ғ�jw��ښ��gfݠ<-�9@��������͖�O�!ʋ�P�Hx���k�V��E��l٠ .�9��WO����X�8}mں��� �t]�� � �(o]w�%��'eQ�E���k-�7#� ^y�-ޓ5�č� ��f˓�! _y5Gy^>t��5ʴ�[r�@�m���3$�J9ciϲ¡8�rx�ɠН�g�c�^/�Ve/��=�� v��:t�fK�c�fK �3�l�9��9�p�2�p�=��������b&�� �IYAA��[>4蠿1�|�al�yt�}��W�ke FD�2^����l���ۣ+�C���QM��5���u–V�ʵ�/��(���Yf���7[�DW[�&�N{�9ʨ��r~n����{�{�1��xG���N���V޻�֎����Koã����c'VP���n��(.���T=��7[�X?,S\;"+e掑'֕r���Ҕ�IYC�y�nѣ������Pt������EkQWޏLm� 9���AylxE�mRF�����A��N� I����P?t(�8�B�'ex=��X-:����O( ��O�[A��rRvP^�FU^s� �� �<�$���k�Ƽ|Ր�擲��"�>B�i����7����kL~o�h.sҦO�G/�x+���/��d���Q���sVW�g�o��4��D��6��騬����6�D�ؕ�>`H�2���X�!�ܦN�a�a�������S�� v=�͖]�c�e����f��|t�<)�a=)o�/�C�s�u=�4V���͖������x@n����$<3�R���I\clwao�>B�еg� ʡ��՛-5��[Q���������yel��f����z�>�8�F9����� "W�GjS�O�3Ot�(l��r1v����(�N8��%b��7R{�Ȱz��Fw�~��l��m�E yeۛ�7Ɋ���bl�Ef�c���n��O`k�OR�Q�$��e���D�n��$塚�� e�vT>��at)�(�aأ�-�'eϦ9���I ً!/E����A�Wާ,�$�k��'�(N��|O/iBօ_�����xV7NL��#�#T3�[y? ueF�"N�"��oF�>I��hHݼnN�X�C�ū��͖��_���}�%|�($h�$��0�e��b�3(^]��]s�3(.qH�g�C���;qe���c��*d��W�C� /��,��ߎ��  _���\ ����! �8�&��H5��X�+�Gs 2���� ����~?/�a� l�2��X�'�s]��N8��"A-�-|R�xjn#�Ƶ�f˄�����Ϡ��͖��7h��?��6mIē��y4W��Ҝ֯�o|�AqE|暦������Ҫ|R�f���V���'Q3�����;6���t�j�՘00@0P@��bN�4p�A 00 x� ��]�����L|^>D�����h�����F~4������Q>@qq�A�O+]�ŵҕ�lU��~t�u�u���$N`KĻ]�5>�xH� Xk�O�ݢN=�F_>?��,J5�k,ՓT�(�Z��rz�{oӢ�I�n�4]�iU��D�T�T�����>�����D��X7�Ot.��+����'�] ���"Wޏ ��ȧ�V�SB��2�r�Qv0���|n� '������0�T�=)�愜�b�y��mԔA�Q��}:����GH�n�41ik � P%�!e8o�-�`Xx�;��lKdK����)'�{ɵ �S;؟;��˙����y\�en��F��r#��K'�9�E�?�L�g�1L��Ύt��VɎ7U�c��е���ԍ2���ʩӕ ��#T�V��v�$� Q���@"tK� �M#Vΐ>�Rڠ��iK%!�|��� �'^鲊%G��Y.��j���22�����"���I2�˅R$�V���a!S���a��-��}�Ի�D7�C��r� �P�wM�7�e�S}F0q��7\����dv�I�_������B�Pw��U�OI&�#"�T4��l�e��8+�=df䅍L t;j��<`�™0��&&m�� ��3��>z�� $���u!�\@������󤚣ӳ������ڭ0I��(�䘁�м�'�I�+�%�9F�\��1-�,�I����ra�����3�nS����;��P��d,?]0 k��tf'Ux#�Q �!c��vh{IF�aF��O -��� ;3�d�/�Aw�\:x�F��Ϲ��?�)�)Bo=G�������ř { // 初始化认证状态 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: 'zgzcszt', chapterId: '54672621', novelTitle: '在港综穿梭诸天', chapterTitle: '第42章再入虹口道场', 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 看小说网 版权所有