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
第51章 能玩超级马里奥的手机太强了! - 大国科技从山寨开始 跳转到主要内容

第51章 能玩超级马里奥的手机太强了!

作者:樱满博士
(�/�dJ�eZ��!@0 ������E~�5)S��|��bqls�Db�l�۴�Y,3�rN�.��Z�WMj� ~�y�� ��X�`5(�8܁�F}}Ĩ7#O�{�y�qŃE>1ZC�]ɝ�7�My�0�vCr*e+�^`���� �MW�{R8�ᝯ!�~���N,:�uV��NDD.+���y��r4�uF�!�!�����#�ʹ#G�*�:g y�� �'�V)[ $29�8H�*2gd��)o85�B$���՚�5�.�q���e�㍒3��H��(:�|�eT����9"r%�T�+�7Ӟ�/7�P�F���E�=� Voq_;/�o�o)���q�T�(2+^V�d����R��RF�}]E�Kq8��-�i��3�,���G,�D���z�/��x�Y�Q�fZyN(��(���8YI�G�Ww�F� �Lv��g�k��To�6I� �)Qc������Ȥ�H?D�]�$�'�I�o؇F����K�7�R" �z�vsq��!�=]/�ڳ�e�7�f��+#�h�f���"<ԸDd��]�h����?�)��tb� �٨\�}];�`nq��tv���v�3N�#����_� ���0"� �Ψ�hmqn��Ψ��� ��H8�S7F�0[�:�蓨7�:�lf���L�g���fZ��-���_@>��Gd9#�N�z�u1�ȳ���ѥ�V(umM"rBٞ�9#S�9�uҠX��L��.+[9�VC�����g�x���@@���yRJ7*;0Y�׍�3ee5(愶RE�1��<5�ɍC@hPlq�,=�}Ɓ�T��nF���:/��Dz��t�����2��4�dM��H���S�JG.3�a��B�<��h����K����G�U(���+F����HN�|3m�2'jO�O��T�8,.�^C���5eԥ�f�GO��= ����hj�D�Zy,� ՗i9z�ț ��w�VD��. ��e%"g���� 1�1�A"��:���k�cA���̑�����٤-�������G���e����9�&b,����3��x.��6*�D��Ae1���%�����uh�Z��^��H����u���fZͅdm�Ӌ�(����o���y^�6��z�q�[p��[ܧ*6p�Gd9�CD�H|��Fd�Ck������vGGg ֔�z�D��כ�%��3O���,�ʥ��ޤ�Uf%�"zA�"��x^���'I�F�t���BD{��` Am� ��D�~�a���Q���o�4ƴeu�ʒ0�%X��I�5���y���m|�k���׎T[�0��=GrY]�� �-"\�`-�I����2*섑�اl��N�K���� 1^�Oa�����&To��| �ړ�"��L�BZg�Y��Yc���1�� j��S�Q�f�-f^2iH���p3�̮k �v5~6iۍx(�h>��&���6*��u��r�ȑ�zW+*�c�L�X� H � H�@��X�5�!��idF��E�7(xD�FUxoqZ���������)��՜�3��#�ФKN+l�d�Dc(]�,$͑h��!�3j3��0��b��G�5����G�˴�3�$e<-�@�*��t�4)�J���@\��7��hME6��#y3�B�'k~�ZD�L�[��CW4�����pڹB��LA��lF�y~�/:�8Dk��S���Q�t�)٤އ&��]���|�{��F����j%GD���2��(�#�n��G8,��ѡ��8]��XZ��� ի7$gץ:���p�Z�0�l��[D�yf�̨� ��00@�1`GJ��@Pa%�!�� ����'�O�g� 5�FҕY�1:d�b)k#�6��$WC�"5|V� �m*3?�%�/���f���*e!��$Yv�Ė�<���c�!�[Hu֢.a+4�%�� 춺�W� v�]-��i(�M\6�l(��K*���'��"7�b�}�xc �[׊��Q�����G�Hy�mX���;SB��v��3cלWpq�#���98�3bK��Kq��mJP� ��hף���M���lg�#A�7�!d�r�?Ǚ�� �/�3����E , *�Y(��[�6hM�$�7����'T�W��*�Wy����"��>9��]�� ����Ophxv� o���d�4���q5���w��ьc�R��5p���Y�Qr' i�� ex<�=wC@��;"�d�ȱ�n�0Z^�b��pQ]�� �30��u h7�S�9��T\LL.�S�b����h��:�4wv����a}�O=f ����<�dx()DnʓQ%�A��B�ЕҖ�!\�ڣޡPI�)��y�Re��+�� ��.a5���������Ğ l/V{�]3�@��Ũ��*�-A�+��h���"�x6��Y0y����L0;�6$Axd� �:�����{��֫�e����3):�h�Td���VR ����*Jnfex���;����˃�9���޷�.� 3 { // 初始化认证状态 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: 'dgkjcszks', chapterId: '38649746', novelTitle: '大国科技从山寨开始', chapterTitle: '第51章 能玩超级马里奥的手机太强了!', 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 看小说网 版权所有