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
第12章 秘方 - 在三国的非咸鱼生活 跳转到主要内容

第12章 秘方

作者:黑风洞
(�/�d�*��z �5? Pp��9������ޞt������ӆ@0B���l� ������0 �@ ��0HnMEDhV�r�D�+_ l����+����TyQ�l�e�LK���:��U�,oH&M�r^�]T>�tH��'�+����֌�Ye�����'�������2�F�H)�U�t�)вS(��@sq� ZqϨ|p����C�c6(Y�.V� � �(����&(i� =���#kk�LE�=�6t���'x;�{&�2 lkY�� �"l�L M5z*[�鄢7 ��tQ�ӵB��'�H�q���^9oH��� �w���1�S�,�<]���f�[h���Dc`��Ո�"��UtV�4�79���+��t �5|�|��F�h�3t$��/`S�7��g� ��O�MP�L *����r�� ˣ��C"V�Z�=�n�7�Z���r�2ghL�6@mPA=]ce����pCbL�*��z������<��^sy�L&�qz��Y�X=��4g���V+*SYW��U�ʔ��¸T�BB'���x�}�r �1T+=�������R������&u��-A1]�� �ۥK����� �+{$�"��&Bw$�h���&uCb���*��fh����� ��7���3����3�~�!�S�{� ��\��A�ce�P�D�6,�l~$�&!��Z�+�ňg&n��r^�LG�'B��q��pk��O�Ӵ@� ��i���O�v�M�?���!�+�1�7@���w��{����Z�p��f�C��댥1���Se�Wx��4Y��>���࣬í��(.W���#��Δl+w&�[�+�G�=�[�Eg&N{QYR�^�qyŽ�$�+��g���3�&,��ֲ���9�)P������ �o'��Y��B������R��'�R\��|ނ�K/��U��C���oR�(� �.n-�ŵt~!?b�4�0-0)5�ʳ ^���3�UN(�������O�U.iЬ2V�����ҝ��t��>���MX>|��] 7tn���D5@��.V��ʧ����Ac*_�.��{I���S�r�1l���7$��׻x��T����;�0��,�&~j� *n���*ڱ��u����2E8�2yk��y��3��l}!?�\�p�Fce:1������M ] ɕ�*`U�w"���r�@+�� �h5�h����E��2u��qZq^�����3��8 �X:3q�б2]��T��a����8�����p5����Cb:�q�y���5��#N�,O��}�<�8�z�r�NKHFXWB2V��Z��uԛؕ�&L���@ߍ$xf���C�����إ�s*{�d���n ��l�;�L%����n-k�{�N��2Fk��Q���9+S+�W�����ʔ� �Z��0�ᴇ�L����S��e��$[cӵ�]B�c����"�L�� ,ݩ������d��~*�w|�1���+䟋���nwu�f�WΫY-�ڃ��V�z!���4qF�7*Z}u������U�8��\�e�Ϫ����"R���t���lS9Xj��5�Z�jҢ�n�n�MFYS Pp�z:R�;<( ����E���^�r?�qOs�Rg����FOR�֣�6��� �=e~l4Ƚ��������G�՜��)�0�k���(r3��v+�=�� (Xq���2� � �+���qz�Cl�ԉ^D�+� ނ�s����f\n��� P�*_�ceڙ�=�Si۹�=�J�*W�k@��`���w,�*W" ���|�u�@Z�;U,ƈM�*ڤ�)��yF׬<�r��8n)qcs��G�{:nR��ng��L�N��0�jt�X���6�^P�"�2�� �CH�,\��9JS΋ 9#C�Y.5"���k8C[#k�s%[˟GO4���z��M =��%,��N�w��@�c�%$��Kce�q�ys@��|Vy�M�Z6����V�Z��~xH��4^O�ۘ�M�5�kH�,SyHq�B��O�Q�5�L���1eW��*g�N@4���=];�g]H����!�+$A��y[�A>"�N�;��~$����ňs��8�0#[�uX^P�ѩ��������:njL���m-W�8�a���2�+�],|���ܤЫf�7@}�Ӌ�?�VqO h�P� � H�@�&��$ `h@"��L?�C�j�sD��V����N���0���� �5�� 2�(�7\������s�v���L�3�!|R���8�!9�|��=e�y �:Oj�1.V��� wX��.�0|��y��Y�� X���t��`d� |����L�K�A�6�$�j�D�b�����hl�n}9Z�7]~r�"�X�z���]�V���H&CoE�&�٬>K<�]-o+g��#[:U���6yg�s�d � «�L��ZƦ�i�Զ4t.$�]kc>�e:��.f�^��M8���g&3�2���?�ce�(]o�s�i�L�E~p�gѣ�=�'+oH��9TwA�X�5�+�# ^�(��=]�,?aeZq�����������ek�����(�� ڍd�Y~P�;o��wA2��[⚈6;���1${�W�_,+S����H��i��$���ħ��� ���hRx����]ˢ�����*:�� Ԍ��C����|*( lO�^�E��7���٘�7^�4 �Y�����9���X- E�q�f�����E��§ʗ�N�������-�uX�U�L(fB "�U6����5tDO�]G�9C?�6���25i�8�7�kR�k��I���hl*�EHl�ί��Vw����zQY��{F�Z�����NhmiPeOןH/d|J�.ȹ�C�[�  � ʨ����&#�k-��+y9��r�}�9��^Ϣ=���6-Л�)�и�Lz~��hl��(}�\�xe�ѧ� YS�`�I� �k ���}?B+S�E_qo:�rRe� n��x ���i�}�C�'$z���b+ Ƙ���a2 ��D��`Y12p $��:�xP���\�D���5���ښ@�\E#J*����b����k�Zs�X,ļAY|:�pd:FC6V(�*�z�ъ?M_�D�G���ș>:4� r�'�G�z�:ǡ��y�G�(>�P�3&�xӕ�J^�j��z���;O�X�6��D�_�/CXmU�(J���{�2Sb ��C�̾�-R���N���=p�a��vܷ�J�2��J��y���Qm ����g�[n: �G�@�"\�2�Ov19#�6yg�j�&��&v��̼��q��ښAA"\�� �_\�us��Jm�*�B�b���țȎ��@��D�߳0{��@ �Y�Hu��*� ����Z߯]�DM=byE$ ��&Lc}����U&����`�!$�c�8�KGS����ޠsA^��%S�^� `�k�^��( b� ��ޮ4�7W�Qn9�6�z@w>�i��څ�]u�Ԁ&�{�d6����3<� �Ka�|C��"0ڌ_�D���N��W�K2���c�T�+r!YT����ϯ[r����6�����BR3�Ŀ�xO���,^�c��8����("�p� �<��c��2�hv ��}�Vw�a�Y*^k��5�'���(M�At�v/��~IP�F��#�[�r@����Qvo� w�ֵ@&2 zt���]��g��Ǫ���'\8��A����X2T���صF;�y��L���Ӣ~�#Q麱M��O(Ó�IQ�z)��X�n؃���'%g��V�� T�H[��q�d ��{�P��� ���z8��A�B�͛/����¡nK��#r�5�g��U<{�' B�]�| b���:��O�O³_�I/B#�Z�+����u�G��O�GJޞ&�u��Gb.Ɯ!{��1q&c�l��������sѕY��x�.E���0��5k��b�e�bio:X����P�7��~E��Q�پ=�Q�~Ӭ�.ԫH�!{� �uo9�W�d.��=sO�|�G����u�c���r-��,�kh�; �O�x��PJ0j�n�l����*�-�Z���tu�ԓ��m_�U�Tu���?���u��f A�����k�<�?���D�;E#�o�!Y�zE�q�׊��Dp�'�\'0�=����M��{ � { // 初始化认证状态 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: 'zsgdfxysh', chapterId: '51223728', novelTitle: '在三国的非咸鱼生活', chapterTitle: '第12章 秘方', 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 看小说网 版权所有