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
第46章 要出事 - 女总裁的顶级雇佣兵王 跳转到主要内容

第46章 要出事

作者:天下0
(�/�dn�lj��">0S�%�{�v�Zm�įO��� &-��I���&b$�M �u2;3D~�˳C� U��w���G�[�Ux摡�Ϲۢ����uO�mZ�$yz��p��#�s�)Cd�־jwn�ܾ1�C� <r� '-�a�skI�_0���c0�8,~ΰ�M���X�~��,q�uO%�r�mG���;8Y�������-��<s%6��>������� �!�̍/R^�ʢ�?�G��vhdN���ʜ��L�������{^�<���e�ֶ�����&� ���Y��0C8N��Bg��.���#�#]��J�]@qXc���+�i��6�� ����ϭ{��S����Moݓj�Y�#�7��R6�sR�/�k�Cd���=!2���<#{��T�i��sQ:�Hq؃`�.wtO*LR�3��tb83�V}G#H�Ъ�� �}���ΐ n�(�U���uO��);(>C�uO�i�JeQ�ʗ fC���C0L�J� (�B#t�6���<�8�]>��*�uϰr�;�Ohxp{�Øw4����d��< _����3l+���s��o8�B#0��D�a=s�ֶ�9��e��ڴvF�uφ,7d��~�S91!�5Z�h��~a���E�/�^��^� �*̝�1��mk۫�/�Lqx���f���C ۆ+\L�aZ�D�N���ӹ(�)����=|XC�s�P�s�aB0� � ��*9�� ���SDʇ��_�j#�� e����#�c�&Q����=Ʀ�bX˜�p:�s�*���W�����C�A���Yb�al�(��� �>q��<�Ni���a~�j��������y%�&a�B�A���=5��ڟښ�9�`�[� Y���bȫ�â�G�3<�֞6������E�S^h�#���ΐ�� o�S,��y)��0{�rE\�0���Ç no�l�s�H"�������o(c��g�w��^�|B��M*L���O�C:�]T��t����¤]�t>�"�ۂ�)��mI��]{S0C�~E�[���2��tn���6'�%��mZ�^�템a� d��g��<�6y�x�Vf�z�{0L�O�|�&?�h�B�!�8��vn�]�6���6w�j�W%Ljmݳ$��L~�p람E�yΡ��`p{Q��ڷI!�l'�]'�G��N(�Rr,SVX���M���]R��ފT����f`X�y4ʶv�zx���m�"�H'>�O��5�g�~�J���# _x��a�Jɽ� �lmO��xp{��Q����O����k�;d�v���y�lz��_����C�#���7v�p�sQ��6�i�w4B��Q[T�r��3d��Mΐ�(�wy�� �D~ն��"����R���� S�>�p��!g���2w��- ]�>���'�zE�%�_5C�wy�(t�a�w4��0�=���;�ظ��E�fn�P��H�U[�~�dH���cL���C�s<�44��( ` A ��$��DA �@@�w��۶��&�&Ӻ��A�V�n�S,eMœ �eN���1�R��B$�Ȧ8\�����O4#�a��F�x<�����m�G�"H%���3r�猆s�[��n%|�3�{2l8�r�w�����=c[۞P���mm?��8�0)j‡LK���(�v���#��[�,��� 1Lq�T�]�A�Iqغ�y3O=dG���"�\��-�x��Q��B� �#���@d��� �(�hMp�N�S*��M&��㹣��C�ڶ�#��C05�����'֫�(��x�pRa~�iNq�~o�Nd�1�[��L���g&��Vf�3,fG#@������u���=�w4��.�N��J� ����c��r�f��Iq8D*.��vԮ�(o@�A���v�:�B�j3l�$o�s���I�� {0�� fNq�1�L�;�[�4��Q�A����-�a��rG/X��Gm��)�R��![�����[�����%����e�X���2�o����0�3 �� ���6��a@  2MEa�@ �%�"bB `���245;:6�;����K�  }��6�8Y䬫�R?�NÚ���H��vP&��I�@�n������5Ik����W���58�ԑ%��Ge`�|�n�ڔ�G�k;��j4� �!���S��)&#��b�g���x�[\%����|�C��# �bv��ʂ����C��*#-�7fYda����lU�1�;$��>~U2Y~�|1o��p5P�r���#6DZ��ٙ��M�/qV���_If�A߭X��`�ʭ=�u[A©��S)��n�50i���2Q�X���`��p:W��\�Y�;8�Yu| "��, k�_Ik+s�L���-�ny&��WQ�i��;�m�(�f�v&p.du( �WG��u�l��@a�u;^Ѵ�L�>�t� ���ڔ�:�S��9j�c/P� ���W����D�MZ�g�&j2e�l��*���C;�C��`{ԉ��Ù ?My��S�x�K�<)��/}�����<�-��Qi��_���%N!�������R�NM�G�b�S3�S�� ��x�i���^ByQ�տ&��: { // 初始化认证状态 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: 'nzcddjgybw', chapterId: '58772734', novelTitle: '女总裁的顶级雇佣兵王', chapterTitle: '第46章 要出事', 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 看小说网 版权所有