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
第五十一章:心痛 - 漫威之喵爷 跳转到主要内容

第五十一章:心痛

作者:废庆
(�/�d�!E���/> Ss&�{��>ZO�&5UM � Kv�����Z`��ӠZ~<�*�F%4�Q)p������M�4y�0���H�U�i��5$d��/�-�d�F@�P�&���Ʌy Y��{���9���ݚ��9��8i 3XM..fO̞#�s ���ѵk�~赦3-��F&U�Q5Ytt��6 |#�T�M��֜�+:#c�E~�4U�rO�E�3��JgV:3qH�[yZ�I��s�t��6 <�q��E�5D9ݱC�2�ҡו��U��S#�#]�%�_�S�c��6mq�qm��G�ȓS����/e����� �3�.�i�~�j��3NA�D�rN~}��U�غdy 2fO ɏ��� ��X��:5�S�)� �v%cH�"��ܑ:���+�S_�Fȴ�� $c��*�����8�Rކ�d�bHf��c�=5 �!�b�F�&U�~���Q?t��s����D�<_)/fO2r/�驳F{&ޝ��������u�����w�LMgV ��8G\��1{��"U�g�s�m�\ }ibv�-y�]�� {�Hw���=5 ��n�.�T�!�f{3���9���� a~��pZ�� ��t��T}Q�=���3@��/�=ys�21�'<8f�jY䜪߁LA��\?k��y��G��@�������{��$�U<@�B���E��5�PZ��(h��"7��(N)���%�CD~`�Gq�֘=K�!s�n��X�Z�K�W\�I��4�} y���Ә="�n�t� �c��_S,��\��l#-�LAq~�t"g��`ۤ�s�?��ٹr%�f��ab /��uGpt��s�����\)��ug�����?\�F���(�ގzF�&s�}�w��/![�Ӓ�/��L-�Lկ��Nmq\/4ݍo_����܄�>,�"�����V���n��r:sp:=�����]j�G�+�hL��\P�r⻘=Cś ���3"�.�;Zs@��k���LNV�+�]9]�\)��u����+�?\_�I�8̍��C2ib���ٓ�y»T� � [JnE�"9ʛ� ��\Ψ5�)���f WR{��U�ywӚ\�T��5/Yz�T}J����=�G���*f��k�/˱��H�!���h̞ �-Zc����� �.��)�32����ȭ���i��A�K�orq��Cf�� �F���Иҭ�E�+�?�x��膯��猜3r�Ȏ�;�'�o�����1z�Gj{=U_YdЙ�+��$N�����\���|��1!���D�ř�E���i��Q�\\��"����F�*fs��KF&�}� �h�©�^� ��z��dd�n�s��� 'fdԣ£x�%��KN.n� ���/�!VBOZrzȏ�=�.y�3���%���ʕ| ���֐���xHs%�HP�#rP�5���5fOˣ�GgDNA�����E]Qd�>m��:�9�z�x�½d�λ�H]�.(��r_1hK�T}O��^���� ^�|��F� dҠ)�WZ_!S�9Mv�V �^t4hY�����b��X�x��p�^�-F�&&U?�x���(�p!ϻ�fV�Ψq�՚�\�|����3�3�c����8O��s� �nZ��Վ3@�@���i} 9A�E٘=!�>���Q�A�e��h�� �# ' q��9W|U'�~�)y7<] �$ҕӐ�S�9"o�{���A���*��Wu2��Ş����A�{��S��:ʻ(����א�Dp���9���𐍹����Gq{BDf(5�MO�;�Q<��R�������Դ�M�&�W��� �dlzj,Ҋ����:5fO���d��i|O�>eބqMgfV{ DŽ�U��D��.U���H^̞��!�VB��ĤS�NMկƧ�C���E�o4|��"�Sj�.O���g)~��T}Qd������/�&W�@0�@`@���V���� @ 0@@0� T{^!'>�niti ��d��NC"��317�n.�!$�^ {�5�E�c� ��qK��L�Z���(��U����U^^^m��D���Uƭ����Ő�X� �AZc@�cH��?Y���uuEv�2U!i�.���l����rҵ<�B!���⚂l).�R���ߴב�C��N7�+E�����7�/rm)��u�B2f��R���BE����畸"����ߦm�1{vޥ�#���.���� x��y֠�CHZ2r�6���5��O��j��� �Gb?��22V2<��g��j�3"����B�R�M7#7���� �i2�0;�CF�VxdU��*��* �(�Aff��2 �g�����-�  ��L"(�0�2T�?�E�+l��sO*Ɍ�P�]� %8� �;����;h%ą�k�����O�{���)��&Xu�º�Q�/�zume�p�t�XBJ6�#?���a旃~ tߪ�4}��vOvB<��$$qp�#��+��R���Aj�ZtM�]ۯO���ܳ6��k�Y��ʷ�9/��PȫD�M�6���U�:s��Q֚�O� �y���� 3�7�I�fX��Y��=�fs4�D2/G`/�{�N��d�B ��w,��>�~�5,;a�f}h��f#��Ga�.+�K�]���qQ��Ӫi�*U\/�5T�J�3��D�������^�5�ҏ-J�� r�t��@��_�I�Sy%�<|.�W"�S]��3���Ȧ2�0�?Q�TVF %[��7V��rצ/:@�ŰnOX��i?!��ŝ_Z�F*G��&E�d�����sѷe�z�穷b xu�a�΢3���}��u��# ��L�}��Fy�A�a2�r���]Xs�!2�W�ƥ�g]�, �3�Z||-h�Q��QMڂ�����vւ�u \K�(y��V)9��[I�H"�U�婢���e���8D JF�����wc��>a�&�E�KJ9%�L"����t D(TB=�W8����;4�H.��SM��@@ �v8����tes�zRc�9L�� �*����O�,���+z��l���$�� 8M�Q�׏�8�Ÿ���+�|���Uې�#8W[8O�&����Z@����� #���. |�\L�i̫?,�A��,�=@�U�����ӎ<׷�$�3�;®Ě}� )ڽ�&a��SSd��"ߓ��O�5Vz̠���0� ���^R"Dս�1�-\wP�v�G(�>���B��O �n�<��e<� �Hy�\�l2wJ#�@�:�O�V8�ѥ>��ʿ�fvr�~R�l>>�����Ɔb9�&H ��B�ѯ�k���P~`�h�=D�-w>3p9}�a 8[` �����Ï�۲[*��^�|4S�p� U��L\�g�����倣ȵ ��b۶7� { // 初始化认证状态 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: 'manweizhimiaoye', chapterId: '67005107', 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 看小说网 版权所有