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
第335章 钱粮准备 - 一世富贵 跳转到主要内容

第335章 钱粮准备

作者:安化军
(�/�d)MuJ�t*4P��`�s淪j�foOo�����$܈�Z��5�]F�� ������?��I�Ø�^&���^�>xk�13�x]��y��G�����Eл�9�7�QgK��2y��R^�Pm[y�i�Y�� ��� �.�V�Vq8��bfJ@���SojS���=;�� =��wH7Ԗ�O…m��OC�x��3Ӆ��%�[�roo�|�Sw9��Nj�w�k<�.���(��y�#��z3����A���u�l�L������r�ɏ �b$��D@8�u���13�6~��8�h����g�/L�bp�C�cfz%�z$�xFy)fj=-�jS,��cfʁ�:2g�!�����FԾ��6��� "�l~b���I\��p���X�>ȝ������{ ٔ��6��0f����C���>? 3S��\*�c��6��j�y����0���|^-��]-���[�@��8�菲;�/��y�rk�2���'l[dCe_�_&_���JP�j3�6���sDٝ3������KP,*`m�Ԇ� xϡ�I�)ۈ��5�w�g�13�6�}mn��嘙H^*�ڦl{:��7a��L�$�M�Ve����ʦl?ʾ67��6�� �.�Dz���K���e�����P�!�]�܃�̔�p� Q�l>u�޲6ɘ�b w�pV[b��C��q�L5����:(���rSw)�Y�F����-��T�8��]�L��{@ Y�����pČ(��[W �AX�>ሯ�R��۰.�upL���cfj@}S���pY�� �i�� �P|��spE��+�c��T㹭]�x8�rL�B7���\cș���@% /e�b�� *rOY�! @�b �Ym�ǯ ^�N��>�n��{2f���{"w�n����CB�9��`4�OC�D�|~yFp8�is ^ƥ0���d蘙��%�dF�/��4��4�݄w)f:u�c�����b�r����K$>1�Fr�rM�F y9���jcf�Uِ9�sC�cf���9��vvv8b ���o(��ή� �#Nd2�Cz�vH�*/l�"������5� ��` ���O��\��ŗ�{�;���+5��U���������]�y}<�ڜ��xrap)0z�s���s�����^&����� ��IK�����E�!�Ryv9f�ʭjG�7lS.�p#(3<���W{�y�t-|�L��?0ك�����R���Mm�+�nɹSw;!�jwB��\T\�L��P��t *L�.^9L�y�.V�)cfZ5w�oo��6^1={C���OC�X?7lmC��l�1�p̂ *< ek��v�r2��ѝ��Uـ�vv��}��s�Cއ�#�>u�z��3SE�l�S{Ӟ����l>��y�����=>W��U��2t��򩻗�KP|)�3��j,��9)]m���XN^�qz���y�L9���&��C�||v�}��3s�/�0�>f����/L�k܂�A˽�@od3S�^�_��y�� co�����]�v�v�/>l���P��-%�C�m�H�*����4��0s;���צ'���)i�����/��D��_�5����]n�P����"�S>u����x�p/�13�4�y�z��~��;(Xn8b҃%�#Z��MI��]M�r(> ��}�`�x�nG⚅SFL��i\���8�4�3�� �j����.Dϸ�s(���d$�V��~x�,J��-Z^E��]*�ۍ�K��(��;�w�[dGP,A��9����G������/�)#F=-0�CQ6(��L��Z� om� �}���=�t�ʉ�%��m^�x�=�x�v�s�v�N�� � �G�k�S� �и����&j@^N����v���]�ǭ��)cfڙ զls �},od<���!�g�OCyb��{;��C�S ����:����W�+�`­>�H��߬O(3S����2%]+�G����{ٰ}"��2|@�%����0��/ k�2��m�'�r �/�# ����ldN�����Z/!|��c��La2J�)#�4n�}V��� )�n����z@l9ʖ���e�L��W��(A��ہ����13��r��|a���@O�C�P����Rv� Ţ�^�'�m����%�s���<�����h��<�9������>$>�����IG�0zU[�\`���;!�>�(�jW(�x܂��;���X�#h�zk[�p��)���_l�@:f����Sf����9빲� � ��Aqe�OCv�]����C��'���Eި��8Wfk��13M��r᩻�u�l�WN3�x<�mB� ��At%� /��eH�ku �p(���k].-��:f� �$3S�� ��F�)#���=��08�P���v6�����O�, pʃ1'��; e ����6��6O���%Ab 4���#| �T8���]펣C�W�b��a���!�aAC##C! ����4��E� &�� �난 TȘU�o���|3IǙ��o�ёteُ5��K�d��•�0Y�^'=���UmF�@0LN���^�ilROYF3�p�rK��V�p ��K�jy�;�d?���� �����ж��c�"�}l���D�$4"���&M�L�ktSbi��V�s��>�J���<�Y]�"���Ӂ�"�T��`X�m�I�duo���7!2��qͿL���L Yr�E2So�b��6<��&��9�ݐωK<Иf���̅� y�+l��f��4:������Į�(��&M�8����4\�����C��鼀�n%�\�����LO�ys���ԯ:9�$D! ���u�p ��������SFg�5��H(�χ��Y��W4���8��x�P� { // 初始化认证状态 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: 'yishifugui', chapterId: '81555254', novelTitle: '一世富贵', chapterTitle: '第335章 钱粮准备', 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 看小说网 版权所有