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
第0001章 开局就死?这不科学 - 开局碧游村:从一人开始加点横练 跳转到主要内容

第0001章 开局就死?这不科学

作者:三舅来修门
(�/�d6&���m4F �*L��sn��Ih-� ��ELڈūWc� ��l-�-I# ȴ��-��e& �{����� "1)/iЀH�K_M}��4h�2�@+g.�\QP� ߰.����HqH=}��9�I�-tRb�P��μY�IL]-���$vU��i���랬o�#1sc��w��<�xúQuǵ �E�_n�I~bq�� ����rS���|*�����t��S!8���B��� Q:�:s r���1Vk7�\|��BL�%P�� ��S?*y;�rS�B!��%����$�v�H�#$�HL}�ۀs,�"�'%;��T�P��Ĝ�!��$~u����JZ�`��7%�n�a�����BT�i7���Iw�?��QA ��:�u�;*w4��Z{p�+�F��8{ ]"�U�����C��t�vS�j��!�!���R� Ya���4�k���� �!哖��,��a���:0OмZ<�P�r����I�� ����� 1:>Dr��%�wT��]-�}�8`b(gB� �g�D�P@ AW>cs���I��^93�z��5��T��Y>���v���;�[���� J}�5��%F���n �PӤ 5Cl�{�j�����GZ-�4�!��� V�q���N��Pi�Jw$�H��pA��ܴA�˄k���$M}/���< zs�{��?���2�� �3�3�=`�d)~�� ��r��{�� �!���{4��ʩ�3$.A.R�rf��w����?��,������b ts�f9!�3��V�����S��s��쩺�/b.1p�����!Գ�n����}��F A6@$nj�>.�nk�+'�����h�ͮ/���Y��{s=Sr����=���!DG�>�ݰ�"�ϥx��+\�Q����FXg>E\�z��Ak�"׉Pk7��!���G� �n��NP��MGb6�����}aR�J�^�!�g\���'�K� k�{��r� wXxdtK�&�'�WpzӮlE�4� $g���C���������ń��zn��ʖ�צ1�3\y��ib���/d�ļ1�;�������%����ћ���$�$�DPH��Ţ�E��^$�A�OJ��9�ڠ:�����7M\�Ƙ�qr#���Z��vS�B��1_n�z{��I�� >��3�� ���y��Z��M+Fw���)=����4��/��Ab��7��We�����5�=�ʛ*k���t���Ļ�S�g�`/�M'p=�40�f������vS�ݰ��=��Et�D�mQ�7�����nʐ���Y���yE����r–�{��j���R�$^�c���Uk7}���rf t��v��M�SߏWC2�£= /]��I����GǓV�����@5wcW�5W������=�Y(��G;z��$ Z-ބ��x��n����&�5��"�l�}P>���d}��������R�M'j)�P�f���-��Ы';�L}�9��u��ĵP{���VO�_4m.2i�&�7��v<�a�"��;[S�kB��|R��TP�/*��8���� .w����ש��Z�n�pƢ�}�� �' �7�/��4���u���/7��n�p ����+QSߏ,F�P���bs��M3Iw�+8>q�m��~)e�7��K��ͳ=��o�&���=6��L�k����ީ(P�x5&�,���p-A�ipʙ=Y�#�V�D�C⍘7�1�c��c�����c�_&\9����&q��b�I���� ��K���b��3WBm��A:��b�O��n������C��S䑇bh���W�����U����R�w�_n�� �w6Gyi�M��5��>��gm�2y�P��k7�h��d�CeA�GS�s�k͕�0a���;��X�ru���=ټB�SV���:*�rB�LZ���A��7@�x�BD*�(�ɦ5 D�`ek�猱��>jDgY<¼%�j�L�e���9 �ٚ��9'q�B-���U/X�`�� ��zFb��� D�ݔC����M5�C�~Ԉ�ii��G�X��F'�k��e��3���.��$���oԮoʸ�$f�� (��kt:��Q#�q�������T��i+�E� 7`�XC�1&�n��&��F�2Gy��E�� �f��:���Ş�P��+!J�XTrP��Z�xt}�:3)1iu6�l �a��Mͱ=��B=�|B�J�1����O� �sc�P̈́5��a���,{�wuB ����b��K�\-^(�Z������o�5�k7U��v��� M~d���2�̷����9� \�Vw\w��n�(e�RN,~�C��I�l�zAҷ�`�0��cx���Ə�'�n��3�-���:T]o7,�47�rI�t���M�#)��k7���);����jK�L��v���̬�z$fΫŷrc�6�@ �E��@ �.�<�$H0d���wSK���X�^�&}6���`jӑG�n\Z�i)��1E�Y�)Õ����;Xk7�0�5�q⥘��5"��Z/��M/��:t��� ��@�Pp<����?*��5� jh���Dm�eؠ���G���i t���1�+��¾Z�����6T����h�ݴ�9i��xA�%���r���3�W����4��ԗ ��E��S�Č�" V��ԣҹ�G�N�|qx4  �,f8z����y���O4��r �X�^�����^���n!���%R�\���Ś��7��Vg�rf�� :���ٙgtߔX�:�{��@+���ט5�GSJkp�{��K'q���E���rs��u�p(f��"�GbN�� h��ń7�[g�$�ݔ���/S9�I��cL��T,���I���n*R<��}4�Xt V�N�ף��_(fqbk��^��>Q�Dt��t��j�ÄI�I+d�����'� �T���[��i �"�4m�ݱxd�z�� �N����XW�������ݔ���q��נ�a}��g��+?��#irA�P��5f I�R�,�0�Z: �) R�y,�.V�U�����l9`B ����:I:]��Q���W<#�1_6�=�Q����Q� ��4������ՙ괞�5�M�ܾD�I� ,�}@���wx�j��� { // 初始化认证状态 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: 'kjbyccyrksjdhl', chapterId: '47403576', novelTitle: '开局碧游村:从一人开始加点横练', chapterTitle: '第0001章 开局就死?这不科学', 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 看小说网 版权所有