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
第288章 升迁 - 鱼跃农门 跳转到主要內容

第288章 升迁

作者:风玖蓝
(�/�d"#��*D<;@%@E���wއ��ad�!�5��""(�l�(�!��m2`k�����L��v8G��� e=����8F����<]��,�d��z��`>@>���)$���q;ë��qri��A�;���f��LdJ]��M���FVE�_ w�}2P>�b����U�B��LY�����I��].ip%2��4K� }�;j 6�Sr�d�k������JYT�������%hG�j�{�>�aiFB��}V��YFBm&�ux�xe�j����d��7V���j���Wr��P�TƖS��E]��me�C���H����Ȗ� S��� U���3��?�� �����@�8�����q��}C�^��;u��,(|�����R13 5��e�lSǒ�$�� ���K�‚�h�u��$�v.#�b��b������r���9�.Qza�&�� qUɣ��$+�&@mz�L�Ţ�Ǣ��mx�T�d����z�`�*m�8��*i���Z5Ne,�Z���K���^�D��|N�(�*���$s���&`���Ѹc1p��-&�f�8����Ȇ�%�+V��e�X |���̴uR��:(}qX ��w҂ U ��Ldϭ�j�k02Gd��p�s����"���(���H�YRA ;�\ɋEO�:]�jK\��G{0�Z��$��=U�(u�$KO"��*�[���"�13�6�?��w��S9�f�g�f�誗�H�g/%34��;P;y��邲 �;VHK\�q%�7�/���\Rt���U�@Җ�$'P+�28�2VR:g�Rw+�*Hn9�Gr?�[j��^@p�Ȏ�+fJ��Y�k;f����0�Dnx~`��Jq�뉀���W�N���!`cfjuu�|��zr��j������b��Q���F7�N8��ɤ� ��=� r��z�4f�����Je�����ii�� ���'��@�Y�p�� ��N�<�P��j�`��f"��exu ���>3S��\½JG��i�+��R�� Jk0��,����_#kS[N~P�#��::3S�^�DA���KZsD~�G�OP���4�dž����@mI��9Ԏ�E��4�ڠ� �A�%g��ڞy��#%OP��S�b3�an�4G䭺��o��[x�L����;�T�FJ&93��Pՙ��V��7v!ri��vN��3S����&h���:��Uh1�f��p`E�K�ɵ��9�Fi�k�L1����f%ΐ��.����e�O+�X�h|�U�v��Fe-%|�SQ퓒 .��uE;f���+�[]=X4�5�d2�C֠�Th�W���� �˒7�'(1��$�bfZ�j���؉M�l5�hT���~,:��>�cfzIX���S���Ux�� >-�UJ�$�%Q�$�H����:���{F����wG�Ȥ�"�>T]��(aM�NS����\�ƒ�E[%���w����:6��p%`cfZ�*H� �z��d7��@{m7L@ n�Џ?O����(a+��0�ij��r���~h^�Ԓ��D�]Z|4���%��~ZO"M�v�R�)������9��C� O���5��U]��x$#�3��G��ƈAr��gu�H���7��`<���BGJ޺ku� �դ-����K�� H�D�g<��2�S�tA�5����)�dI��u�㘙b��1�;�:����"2��ݏ҈��w�+#�s��k%'P�-��Z��7�/�O��7<���VW=�&M����2������`!�Tɡ�����b���+#O"�9��P"s�V�d�� �If0D� T�̩�*��&�?�7�7��+����Ɇ�/#+:�b��d�נ���� �13E?�luk<9������sK�Og�����*x�z�9I򃺉��"��S >u�Ԍ玫+$�d�A� ����:�Ә�nV������⌑?J��QQ�H҆�W?�k@i�����BUDM�����w�v����G�-=mq�rr�d3�'JUx���Ldh �WP��)���@Jf"�z�x��|1\�L3���CU(4�ډ�jh��z���O��e��'J-'I�w�9(�ګq��ꖺk� d"3� nw\=Q���;CѢ؟�E-��'E�N�o�+�����-�Z]���5���z��n�z@V�B��:�� ���=3�AhB+�1��d;�W� -�|4��P��=�G�S[���ɼ�t� ��{~?�K�F{���ҌL䊙Z�E���VH6R�d�A�'Me���J铙����\��sI��F����GXVa|�j�k�rM�z����F��ѩ�� H�.�r�����]Rz��p�2����Ԃ�w��D�nu5�y�dG�L/�;`��j*c;%[N���&i�A��k��27����I�o��t+ �Ar��VP�c�F0a� �A9Zb�W��rG�O��R{�8:5R�� ��rB �5��%޺�uW1]��>8t�xe�uxe�R{��S�\��r�7pt*e�VWG�&g�‘�ꎙ���d�� ��>�6���Q�39� �VW13e��?g=�܋�j$���W� � �ѫ��Nʚ����?+{�Q*ip��@j��Rv�i�VW��E� ʩ�μpY�kA�$+4����J�>��I���Ԗ�&I�J�z��w&���Lk0�5�X��Zj�jD��侒'I2Zb��H%-��j��,�����#IOP��*ܝ$ԑUE��6U�� �;ꞣ�>�(ݙ�a*@=�����Z]��$�n0��X�k23r�,9Ԫ�U�UZ�N�D�l�,�c4f���a���Gd�ȓH[7� ���I䎲'IV �B����dp;Z⭻��#I����ҽ�p�'�����k&��v j��v�S$k�� �s"�2�,�[�k�{����F=Am� ���;��P�d��e�a����^�L�� �F���Z��k�ȘL,�/�O�ZY\��b��i �Xty��P"?���'E+<��O[�������!��>�̔LdO8�#�R�)�A�� ���F(�6 �ꪃd���H�h�S�22 �(2!g BDb#2�1Q���-m[��,�G��6�S�"7O�LT� ! uX�i�f��w�b-�B��, }C��,݀�����6����6�9b��JF��TU`� Kd�� ��m��p���fŰ���e�fՋc�:Y��K��+d�Z�R\�;)Ջl;�B��vu�2"��,2�%�?�6��f9�M��ԍ`Sؙ��� :4�P��\���Q�e�[Ҳ� �C��rB���ᐞ��g�4e�k�p?It�$��jÑ>c%6�m�@�9'Q�t �,�R��V)�XB�'�#,�V�&'oRuZX9d�D�a,��������r��gS�-{�' �D�h�y��p�,�v�^�2kRs8�]\�c4ƣy�V�J޴�m�[��Aə8�d��WEs���v������K1$�g�;�w�a��@�RȆ� �[M�T?�90�˻˺$�H�t��͎b)-/�E�� [V*��d���<��=H.�]#�D����b��e���_Ƒ�"h���/�"��V͌����'�Q)c�qC�1�F�F��=v�ux��q����|�����MЋR���m؈�Bˁ#������̐���9ygv��+W*8to>:�a �����m�@���A����8�0�v { // 初始化认证状态 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: 'yuyuenongmen', chapterId: '86895695', novelTitle: '鱼跃农门', chapterTitle: '第288章 升迁', 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 看小說網 版权所有