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
第64章 红薯! - 大明:开局认朱元璋作爷爷!大明太子:开局逃离朱元璋 跳转到主要内容

第64章 红薯!

作者:反游猫
(�/�d�+��JE4@ �p��9�e����,��jbm�� #5F��*RQc�Ȩ��c �s; ��h%�=��4�9CŜ *+,�ȗ��=i��p Y�����n��R�S�A���Q��&��iB�W���|$vb��٧�����m�<�S΋ Argq�+#c�O'i}8��z2����&��k�\�Z���Lgk �R�Z����2U�(� � H�U_XVp����]��n��72�ƀfe*Z�]<�|$�U�rޑ�W�#�2�] �a�fY;�����]]��/�/�?��۳��'ˤy?�kbd��F����Ԁ��IFW� ��m ��r-��hu�Ѥ�W�&��]KH.!�d��h��Hl��© ��0Z�T:+�O��yK7p>�|�\c@E�w�����ɩ1jP��勉Ǒ+�C$?,�/ ��#�"Oڴ�ቑ�.�Y&�$#��d48A�2E����������СY�V�/�O�\˦�����)�1�E>���P�����MW��h��uIF���TBZ*�8��њe�y�#(�W.H'F&-!�� ��Hk�Ě�7�+��9��.U�����j�[8Wѳj�U�^�=U/�h�fe�]���d���L��G,g�fe {T��� �|�~Y���l )���������9f91rGui�g���,�#]d�<+�����U�����ֿ�ge�yz�tW�2�P��i��Y�R���^�ZL���_q8��^���{�k����I����yaYst-M�r�� ᭸���\O�Y�b_1��y�@���8:+S�e�+&GDW�W��I�2���8�x�2=u(iC �����旡��|��)P�y�2�(i��&�:張6Pk $� ���6����)���A�];YN����t\���yV���]��)�B5TԔ�&͛���Y��˫�Ei�{����/D���"u����3���l��zk��}xu��EB_�?�z#'m���#���;��?!��Vpbc�g��V:�lZ����+�$g�8�9<�� �1�/D�P˴>"�B��ge�u�C4�B/H6p:��z�Uˠ�~}~���g|���Ѳ����1�V�Ո\ 3R�#�Vt�9E�=���9�P��)��t"crW��g� oh���-T�bݏ#���:+SM�=��i��?��:�ü㘘 ��� �˦��=�y�w��r��˔�.:���\�L���K!r�Y�R"()�g� �_�F��&u����� m��Q=+ӄ�Y�X�d5��F嘉7*�:܏e������������-`��?�tedn����Ag�杜zk��ğȹ�Vܟ��<��z�>����+���W�1�,<+Ӆe��u �ǺǺ7`�#�ΦIFS�k�zT�u�Lȫ�P���dɦ=31�1H�(nbdm�h��C�g����E�C�[�[P�����1��B��u�HlJ���5T�Ƒ����$���c�Z7-o�˕��i��Rs%��Ό��� �ސn��djnӖ�)�5}�UˣM�Tk�'�N� ��%d�x��` ;+ӈ���h���3Zdbv���+;�.�mVZ��hC���ʔR��bJ������5Ƕ������%$�7���.�hӥ?�+���3b�b�W�/�zaY�886r�dlN oV��hnӚeP���/&΀W,�K<��Q��K)��{��u����3q��g���'��́�YVd��ii��s)��3q[�jY3���RΫ9�dx�ӵ,-��~�����t9Źn�4u�M�iW8�wԫYV�c|�B��sJ�e����3���R�G ^^JA� ��V��Ǒ/�c��.�C(�B~6*������!�S� 7τ.��ԑ��B�-E̯?�����g@p�y^B�����)�\��m����ϊs%T�8wD��C>� 2��� ����!��#S��قfd�l�����7O�V���Y�b�q5<1��pE�\�� �� 扑+�g�SGc�3�d���&�/N��I��@�g�}�@g[�>��/Zr4g5guV��!�)Q�y��z����5D����Պ�R��Յ��ʙpO!?�<��T}���Ĕ�l�� ��G�!�ײM�[�9���s�!��|��)�� 䟞�������֗�jDN2�C�{�|�d�Y��'`�v 0�� 0�@`��� @���@p���)E!$f�vv�6�q��4�9+SJ�)J�Б�^x �+�ˆ�g ����醛S����d������^*��,��|�i��\������O�wuAc@��t^q�����%U|r���H�$��� $�՛��ptDT�����"�M��&�� �b�!G[���{b}��y��yg�#���f�+�;�6�V�4X���h�8�-c*%S[�.�!��]b�Ņh�2ֽy@=� H�A �r^���{}�آՙ�����2q%;I�\��Bu��F䊓A-���D� *4iC��K ��\ ��W�#�>����T� ��K�&��1��xO���z�z.�l#�0��2i�W�Hwu�z�r������v5+SO��/^x)� 77oTNZ�m�����E����ʔްQq_�5�:�=��j�:���,�T��F�ҭS�m$\S�sD J\S�Y"�p�2)���pMȭSs`���6���u��Ϧ?�6܃� �'i���w6r���A�w$��������v���&�GnNq��'�N�y��%l�qEƃ ����5U���1x����$��[�^L\�18�j��'1��z;pp�s=��T�z�����w�xrj��r%k ��CǮ+�)�:��t4�:1�f �����bS�[�h�}£��&�������wu�z/&܊��-����C�j�� �rv��q��э�+Gg'mz'�;�� ���Բ�Q�#���Wˊ�~&��rO����,@�z'��0_,�c����Vܟ8�����uV�e�Y^�zaYL��Mslg�Ө; �(k�#Ā� �#B ��")��!)�!�������@�F�~ˋ?,��7�Fs��� N�t]�#��C�U�0��ڝQZ%c��L��)���/�cMkЎ��{����&oFP�5 ������-ዻ�C���!��W�VZ��_��hF?� �V���St`X�mK!t ����G&K �����$"N�=1���c͋�+GG��9D1\W`h,^�|��{66��X�y8�^L�G���I�3z��'׾�>kp����o����=Is�n�� �� gP:�����wi�~�T�I�)uq8RQ>�Qp�ϫ��������O�[Gx��i�G̎��cYp5A��dk������dE�I|���"��{��2?ܶ}���?˫3�C�u�S���͐��dV�•��G5z�'�u-=�ag�<�`U+R&�J�`�D�pq� h7�zRi?�#r���(ͮ!vb� $V&��- ��)�P�ʃ����郌vZ=��ذ�^�EI;w��!������� ���f�L`�L(�0#0L�eȚ��V�I�E:ҿf?AD�>d�o��B�� 8����:���B�AF��1�x�&|]U��G�#(^3K�j� T����_�VX���N@=�pj?؜��#g�/���&ä���<�Ai,��Zhߤy���#�1k�MM�! h���Qb�w����?ŋ)�� S/�&�'��.T�]f�0ll������]�ĒbK���&9y�uZ��r�8�_��8W�2y�zs7iX�j�soʵ63o��/����q� ur�mt@�: ��YrMK��5J.� ���1a٨�Vx0!6J���A~�dy=�^��H\�J��c�/G:�á9I����67�Ye��w0UsE ��L�`�WM((���ML���V$�6��f��Y4!���%���g_�e�iH��?N �o#J2�\V�bh>hE�]kJ=މw���ȃpzKt��M"�+@^�� ���v��B-\gN����Y��g֘��,��F]��"p��K����f����gA�-_6Z����c���ͬ����,�~�zcM~2�\\]���E`�d�Ӆ`� �?$z�M��0BT��nbaާ����� �V �����ѻШn�m5�'�S$�����_{� ��J6ʏ�lIk �i<�w!� �n��Ps6�[�*��FP\����\(d-|��H �:E?I� �rLXt���3����Q�⧹ { // 初始化认证状态 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: 'dmkjrzyzzyydmtzkjtlzyz', chapterId: '61842089', novelTitle: '大明:开局认朱元璋作爷爷!大明太子:开局逃离朱元璋', chapterTitle: '第64章 红薯!', 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 看小说网 版权所有