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�*�� �2Gg0U���{�g�^d�'�X�%Q\v7�I ` �X�f��21T�e�דg�1p7w33�� �  ��:}����–�˗&^q |WWN�7_�M�Mwa6e�i3��M8hjk��f!3�4qJ�!�%e�u��?,���G�܃�G�������,�+���[W�K<%Ǫ9�Vܛ�7/i\Q�X��y&�,%���f!�:}��r��a�S�d��u��� Zg@��6�B���Vo���� �$S�v�Ȕ�+��ף�,d�Ȕ����f!{���5,%��=�����C_2��ܕ�`��H{F��>�l�ӆ:���=����P7���:uid�i2K�m��b;�����U9s�iKO[�EN���т��ά�6׈\+wB����8�i��6L��LQ (�� $��H��8N����� 蠮˅iM����i |Sq�� �8��Ҕ<�K/����]wV�b3(8�r����i=��Զ����F�N����an1m���MzC1PP 2��H- �bZ�r�y�� :7n!�4�Ke�i=�@���V�\J�˅M��N0جd���ֹH��ȧ�'"\2�॑��K�C6%k%cL�dc�ޔ�raEZkD� �A�O0�rq!�v�lU�J�FVr�e|�כb�傒������r@h�d���D���+�p���1�`%�[&W��2��N����>�l����)yF.��i]C�y��n�����:�0��?�86j���A]Ž�� �m^q�a��3�,d�e��du����KOs��<8m\BK.א�%2�r��+�9&����|�(��塑�BVP ��-�'��K���Co���^ ���Yɝ�G!h�YȤ���Ȇ�L��y�{��)�z��[*�A�z0��,%Oг�����7KS��\�m�m��"��H�u����r�< ��Y�5�Ce���C"]����7���)�^Lˠ얰���� �ՀvS��5m�ZB� �&l��J.��AK��b�#����D���iQȒ�+�NtO���<�����_].,�yhd/�r%��N�������-a/�L� �vC�bӚ�;B�����/���1��L�����i��Z��"/����aZ��PZd��<J Y�Zɴqkל�����N�:��!� �1�&(K <�h�sosϬ�Q�RY�u��t�}t�̈́�@p��_��ϳ�I���Tq�<#m^^Ƕ*w,�tp-&��A�1zC�\����tp�K�S�q��mHB�<�ɹ�E�)yj�+: ���dr�Ƞ�A�Aj��)�?H͠V+�\؈� W���I"�wu�� VT��x�Ȣ�u���-|#2H ���'楊3F��\q�� �>��h�l����.�k���o�+ �b�(l���"lDs*�ʩI�5���%��(�u^..D�r�RK��P��lɁ{1����'F�a� 핶rd@��7���⢋iM��}���LUܓ.�a�MS!�i�dnԞŠ�6�(sq�GG.���4dsJ�J���k���"�Bv���XG��9e��Ў�7�� P�A�=�<��������Y�<������T�ۼ�4w�Fd���*:; ��ʏ�CXS�����2q�Ê���L:��F���� ����v�r�2����j�F��e�Z�J�ْ�ZL۠`��LM����:-*�����\�=�@-�t�}�ա���)��B�G/0�u�Yr�Bɍ�9�a6%O�+�V��kO�l�q��)��yb��+��4` &h� (�@� H� �D  ,`�4PG�a؞�C"\��ƻ�1�Y�W�ozl���r�t"kM��#�+���W@�������G�9�2����5mX(Na�-fgH_{Z3�m1mFRm��8G>HMɓ¼�]J���#��fS�8_5]q�m.����V�L70��<����I_�=$ҥ�RA*���:��d�SS�2��a�[2^M�Z�G�:�4|��_�s8h�f�O?0�8���<�ztyo����b�a������'��gF]#@��Ln�4r��GW���i9�|��a\��=���U�c!{��Ȧ\Z\�G�9��g�ՠ�u�e�Jp�dQ�~�c�<}����� F�X瞇?��"���r�[��+`n�=C�)�L]��d������'��|��>����C�gd��lR4yJ����)yvFME73����CС�F/��'�iMu��\�I�#�rlfԦ b46�J� �B���"��\{C�:����kn� ꠮i�SBΌNMMn�?V�6%k�����Y�@�ӌ �z|�����nh'�����t�Ak��&F{�P���>��F��5�2�.U\�����7�=��ԧBNP �`z dTo�5�r����jH��������g���~��� �"�bԭ���Q�T}�qj�!]qo1�C�y;]~�]���{�BUnŁ��4|8�V卣3 }��9X�5�� �Ka���6���޴��-.�jjT9���3�(�1�gf��1B��1�*j�@I)�CP�$ �H�D���8�&��C��NIU�]����Q,v��1��[���쮜=Ve:�xm��[���3�a<�D�z$����E�.#a�$��� :����=\'��}�륗��41c���S‡z�������䙤��阎�+�ONMK�� <e%���������-��W]����qhYP".�R�~�ثhZ���a�@���,n�`�]T01��q@�K �ޟ$ o�!�����8T�� ��M�r��7�P�gϳ�0�^ ����@��qT��g8q1�f� `ޟ$�yE=d~3r$vIh�e���YN�ݻjŁ���me�����7+��E���H4�c��������c�D�6������3�j�xgRI�`Qߛ����@Xè���u����F�x-(NM�M9Bqj�%���dv�65���sl�'�K�r��9h] �53�A�l���7��2��Pc��X<�����W����f�Z�+�ɼ�5��F��WR��[ȉJ�;��>�>���S��S���_�� D��$�������L�����˺����2v5�m��0PX�q �lfIa-@2�� �>׌%�CF ��H#���k�����NDSկEsB�'�b ��G>r���jS9}�xKؗ��@p�$ KC%�y3�|#�#�P����7ƣQ�ŭ����$I*��\��l�b䏛6�z���/7�����-T7�>��0�(9�d:�'�ow�p�pM��T�Yk%�����j!xP �C*��`��JL���<{D��R=�*vA�� ��p8>j�]k���^�Qj��E�F�@��M�q̔`4[tp�WXԜ�- |z`^Em�34�#��&�����m��׆o�G���p��̔c�b�+G��m��A���,��I�iI�5�e���hb#a {W\5� { // 初始化认证状态 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: 'mrncz', chapterId: '67749116', 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 看小说网 版权所有