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
第五十六章 站在你身边 - 漫威之英雄系统 跳转到主要内容

第五十六章 站在你身边

作者:未知
(�/�d9�s��0'<0)L�����00@���ݬv4�A!��4b�jl�b �ǫ����Pg���``����0��h`_gncs6��<�]m�f��*؏� �K>Q��g��2{ޡ1M9�-���}��:��/{�x�6�9H� ^`�,2|rr��#T>Y���u]���۞E���(���v��(_m�Ayҗ)�\f��-��y~�r��m,l�� �nc�K�A����Ǯg�MŶnw"X"�ez�ٮ�]N }c��yݛ�u���j�������ՆCY��:��L�$b��3�/�3 /��ԗ��I�h�9��qP�(����'6����V}�s��T��#�G4�6��xy`J��8������EvO������ �])����оTa��=�^��ڮ�\m؄�J����@� (���@a��'k@�ЙՆ�*�zfۺ�Q>�N��v�&rυ��(�����l{&������M��A�jØ�#�$��\dr�"{b��E�M�2�V�%�� �Ȧ����4Ǹ�6LzN��.�D�'6ɂ�m� ��/��nk�&��󼎧��X�ۢ�M'wd�q�Cl�"�H�� �D�@ @�p$ЀD�����o�2�t�Ն�m�K�7��G�U�����'� |T�}��f A��r���.O����%b[�e�;W��6�� 'Y�r�{"�bÓ�nON��d��|oC��"���- �T� �s��zѶ�6����I���=��l {�MŬ�9pwC��C{k�d"S�_�?ʋ@� ĹG���2��7��w��?")6Õ4޺-ix9��pBg^�w_�6 2��p��IՆ/�M��4?����'!l�yBgVD\��c��j��u �R=�y��ԶDA���!ǔ^m�xOOs���N�}x��T� �E�߅3��!������l{#�1W�|�� �G��n��ч�> ����X�&G��4�Lҗ��I���s<ɂ?�W��xv�����ꗰ/��+".����Lq2e�&�Fs:zO�G.�|G.�9y�e<��^�}O��f�6�q�E2��Ł3.)�N��5�;�k@O�x�|y`��av8tN;�q���xr��Rf�6�c{��6\�0�� ���� S�õ�}��{��^_�u�`t��:�eñ� W�����M�x����:y��u<;s�P(oc��;����3�lr���ۤ�W�� �R�+����9������L&L�23®��[z�já�Cї ����ހ����Ym����)\�3�����퓂u[M�>�ڰIs��.|�����X��lۦ��4��Zp��,|���Նo����w8��<��x&t�׽Ƕaf��\"vϻp�!WJ��k4��*/��s�L�[�;�o؆<����A�A��{lS��ȵ�py%�mr���)��2�@���,��Y 9���{l_"���L��M��(�F���k"n0��L�S�\m8d�Ն6� Q̆+�*�}5"�`���(� �S 9��i�[���!�gH�u<���S��َ�]�h|��g�cȶh�3ۙV$��Q�E��cH�mOl�S�!���3��,'m��2f�A�Ȕ�Dn$>QV�.�)���x"��̐6Y�Q�yf��~i�eƔ��ʗ�m� �����+e��\ /2}fyG?Qzϒ�Q� �i��[�01dWD�!�alB���35�!e0�l�>l�m�� ��|�f�2�&fi��d�u�}�r�r���Q�3ۥ�;�PV^��8��!�As��)׋@�00��� ?�|p���[%�*S�&�la�:A��3۝�_�� 3 y�ᴓʼnYa�u<+�K�S�!��9�Ȥ �7�< ��5Gpȟ���f�^�������8S��N�n�������ϧ�Ն�Y��w�;��H��3 ��8GJ��H�����s����O��I�?�g �O�|�9 �@}��I�oP�"��S�\dz��I�\/r�S��!;��NN~q2btΗ-���Ð�Tɔ�, ["�aJ��8��4�L�N�@'#Y���_�_�2� G3{붖=v�H�* ���z�%���!��胣� ���� �(ǐM; �`����]�8y�ȣ����C8��<�p��c:y�� t��d"�@Ǯ�DpCsO�0\�L��)ڦ܃l�^qOq�G ��w���Bl�ؗ�.%o�|"ٸV}�:� &�4�^�lk�sd�n}ٻ�j�#�)�ф�&G�����/�o����G�\C�Y.1|�—�>�`��)� ̇,��x�'�8E'�r�mi8Ʉyj[Kx�Mәu<) �D0�������(_+��Z�I�%b/ʜ�~T�D���C�6��xJ!���&Y"Z�3���!�]җ%bg�G��D��,�Cvφ�ml��bMd�!o�����H"@#31�(���; ,U��@:{~�Zh֬�=��,�*�|F��L�>4�P����=�I�]��GŘ�;?�g(!d�=~[y��TP��|�ě]�^�p�z'Ӓ��D�: ���M�sa2�U$� �IA�qnZ��M_v�l:٘ ��Eǀ�,X��^�������@�sX7�����!���1)��nn67�5T�\��6`"o�UR�Pd��ip���}?�}���w� oN-V��X��9{ϋ��\�!F;T_!��A���0��c� { // 初始化认证状态 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: 'mwzyxxt', chapterId: '5699013', 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 看小说网 版权所有