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
第308章 谭家菜厨艺,锦囊妙策 - 四合院:力推淮茹,丞相甘拜下风 跳转到主要內容

第308章 谭家菜厨艺,锦囊妙策

作者:仙子饶命
(�/�d�-v��H,> S�����g�x{�]��b�v��`Qq7���U�E��L��+��J�� ��t!d#ҭ�1ϯ���g\3��j׍��el�r�ݧ9��EG4�S��[�"Is&���W��鳲%�����4�� � �z��;��=�O�%��5y�X���53M��Ӓѷ� �5%x�����'6v���=�9V{�8z� j!�Aq����~+��4gr�ڙw�,U�a%�3N�̔�hQ��Xm�� u�e�ʤ�FXV�I� �M';����jOӞ�#F[�7\�m�N�* ��S���%z�8� ��_�Pe�L+'�y��3���(;r�U��5Lckf���X j��$s&w���'�^���d� {V��5����-MW˛�}�(9Bq���gؚ�2DXҢ/��� �%3�y��}Bɦ�OP\3S��FL��RT�jp@�� �~��-�s���G_��[�g� 9�ubc�ʉ����0�B��)�53U]�T�f���&6�?+�f.U���Tٔ� �9�[�'*o�K���4�����4}�mR|�r%;��r2Z��u��u;��B;�\3S ��� \s&�\�h��ܯO�U�,ky_A�A���$MCJ�(�U&�ʆ����G�����h���5�?�g�S����u3�.KI����)�[�/,�i ٖ'6����4y5�d�P�4�}O�/�~,Y���v4M�J���gm���^� {��<8���� $������ߵF^)�Q��p�՚�c,}V/���0�v���G��$���� $�L���gGHܳ`&~1q�ل��ˣX>_{��R���a. 5�UeI�Q�kfZ-t���K/э�[�#����u8껚�f����>��\{��̴j5]�LG�.A�ƽH�E�#��2g��-�K�;L܁~a����D����� �5���CVYS9��W����u����^�4����$s�)>r͠����L9{Ty���ʓS��K>yW�8xb�L�����4�1��4G��7]kf�e�ih;H_!.*u粖���O��Hn�ubc��RB��PkR��y�ybc�Eo#�E�&+kB�P�H���v*[H��V3�mq?�c]��[�Gwi�L+ ��f���׃~��彨ԑ����I��N�2�ћ�dŵ����u]��Ar$�-�H~��A��aG�3Nv�����Q�͔�1��*�4�P�#yP_�g8\����kf�I.�������$E����A���I���$�B���+�^J��8�� �����]o(�M ~� ���Z�gY�Ս�]w�nbc��f@6d�f����� �-�kfZ>ڂڏ����Iri���n�tBm~OB��l ��P2s-c���w� j���@�?�H;2�ʇ`N����9Y)��l�dG��+D �\3S��1'���Ԇ`�h�f�d�w*� ?+�U>+��^3S�~��p� ��xIe����N��NK�y��k�/ ��aNv|�9�3S�h!W3pM��}~�ܨ�����K]���k�'з�+�E�g���Ժ���ڮzG�ȹe��:a! ��ģ�/&ft(���Vh/���5��K�Z�/,|�,��dG�w8���� ��,K��V3���#�I[Ġ`n�����̃7�Y��$MON���Ӵ�Fe�A�G1زnT�8�r��b �Te�����&(K�/*���=cswB�'�����a�^�=�53}�K�S=Ą�eG�3(��(���!��hK�4Z��=��ˏ[�w�,X�Ž���/)wTf�6!Z�� �a�ʣ�!��DŽC��+ ?U&I>e>��"�c�!�C��Z�U.��F��87�Ijɢ;�7[�k�h��(�i��*cN�{�c<�}~VV��F���N�C�-��f�3J�$g��? �ע�>Y�� �9Y��� ]��9l�Hq �:���aC ���A��k��$Jkf�p2��5f� �UAmB�G����"�1k�r��'�kfj~O� �‡�;%[ޓF��Z�Z�2Eݰ�N�Hq��"�Ï��|T����g���_¸�5Hy�f �a��h�ɞ;9u��ZƆߜ���l���pv��v�E�#�1'#P�]��)�I�������tI�-���� 5f� j�H��F8��b��p��j��4��M��*W��I�hі��碭��,��tS}I�S��*����M;`��iΣGaS��ܝ��|OAm�m(!��s0��40@@*:�y�p/ݽ�ۈ���{�7 ��1=���†S���X�z�N���No=�%�5A�^m'd-�6���a�� `H���KB�HJ�5�%���#��"��"�@�� N ���0�ş00 ��H�Ծ�6�y@o)$ɪ92AY���D�s�q9�@�Cac�/��AMf�X�s��i��AQA��G��L��4H��k�pL�i[�W���j�!��/��h� �?�#װ��#E���'5�A&&i6�(xM�P�5�ʀ4&��15�k ���0p�y�E3�s�Vl�l0K�p������x �4D�����W6�e�١AQqM���!���"ы��DP0R> 3Ie$k����$�-f���y�B�[ <��@1�bɰ C[� h�� �l4�^5� ��F��9y4�M kp�aU:��Ldzas*p;����6 A ��`UA,��~�S[����I�{�]:`��>�4�[:��W^�%u%�|��} G��Af�-@��m��-�;�9 �(L0*�@�(����f�DVG{%��%y�7�po9I�K��H_���E?�*���) ���qL7V�PC�F����X��<8� ����Z��o`�Ɠ�r�ⳳ�����4�h]��6/��8v��ߙ�� ?�(q�4nǂ�=x��MJ.qG����X ����HsY��9x8�W�BR�yh܀�4��Ƿ�0RM@/�>���b��*Up f7����g�.h��9�2 #}��Eǭu*� t(R�����[�0��5@�F�H���� { // 初始化认证状态 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: 'shylthrcxgbxf', chapterId: '31480008', novelTitle: '四合院:力推淮茹,丞相甘拜下风', chapterTitle: '第308章 谭家菜厨艺,锦囊妙策', 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 看小說網 版权所有