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
24.勇敢地向恶势力们发起挑战2 - 大秦:我的辉煌从商鞅变法开始 跳转到主要内容

24.勇敢地向恶势力们发起挑战2

作者:燚眼万年
(�/�dQ�wj�)@ S��w��B���"}M�A#���#T2��Y��jw�5"vx�� ���}�v �(_��~��s|Qi���d��� #�[?x�I\��U�ˤ#F�quG���ų[y�zr��47�nh���Id���� ��ƝD^���Bb=5u�Y�����z:D�x�,z��2i�-$&��$�9�/��w����R� �ސ���L��h+ΆD~\M)� - ����4��85#b-��D�y}��l�ُ� �f��D�(�ݹM{�OH\Q���g��i��'�'��$c����\qBsZm���N��4��(� Ɖ �z�z���֢�+���I�z2 �F[q����Ʌ)ʎ�S!�7����9H{�q'�� $��x�(/7��N�Iv�PgWW���4���i��"w��KM@�6{T�eB��EH�1�-�����%�f�� ��L�MC�D��֖z���}Si*�������k��vL>�]M�'.���Y��cܚ��$t���- ��C�"�nB��A9���uI�SŊ��q<���$t�2�ci=��\rab����f"�� n �Bb���i�n�qp뭼g)����5$rA��t(oy@l9C�QB;4܊�#_H.I���4���^T�6���P�:�X==�~@�U�X��M�'d��� ��]U���|32V�n�C�3�{y-y�_gC�ҥ8ס�չ���z&�,C����8���KW#lM�@���3ӹ ra"���\�dy��w�}.K)wT1Mn�M B��,�w�e�#�+d�>����y$��tP=�g��*f�p����G�;������$��"P��bG�%)�Ħ��2��j��> �8���3q��N"_^_��y����cA^c�+8��8�q'�_��������)Ai�Y~,Ź����X=��E�u���geZ`��$r���"�J���y~Q����3��)YK�\�8�u��sbB�<ܚ�Lnn=�,����7x�f�̈́\ڛp�D�Lx���*3�7��kE�X�R��E�L1�Gl*2�� ag�w$O#���i���(~�}4���-Nn�+8�T����E����Ar��۸�$rC��fFa������8��˴BD��AS���Q��igZ0��f��j�ȴ^K�zD��hb�<�Vpmg�S�F,�T��ȝ��Z�X=+V�f��G��h�U.K�02���s4i�D{$C2���/���ن�i �����2yFx�s=�C�&q8�;h-�D/]]�X �i]H�D�M{�����E �aݥ"_:��-t�Ayp뒨iwc6tgt�����IG|�d "���L�Ld��A� Ma &4W9��a�Gg?�+�R���V�HzgX�D�P�D�(Le*2�5�0��D}�hn�'H�K��,�²%rq��f�%�|7Ӹ�9�n,��q��3��x�$�L�r�v��M��zJ���9��[q�35� ���h���m�����k�e��Y:W�~+/� #� Nv�B�Ft����Qh� Y�� "cS�0/����*�#gDW��Y����!Ď�Ch$g"G��|�_�/%�x-�l�|Q��|a둼ɛ���X����-C���9*��li��s��i.�:�>��@��<���i�iNqnH��6����s��!�H]rq���80�8`@Ѐb� � @@ $`� p �����R1���Տ��obb� 3�8�Hޑ�X='����~����]E=FAC��X�Q�T= ���r���”Xm!�2i�Ր�)�Nː4$�5�0���.�ܚ�t"��nќB ���!r&��D[H��,aY�� �P��)� ���\��w����kroZP��5Hs �)�eP�o�1 �i�WꆈfP�����z�W���N)oF��4Տ�0�x+��"�dL�����X= D�_"�����X=�O̵*�f�;@��pǢ�g'�r��h/�3��Q�(S"��H�xO���BW��8������\i�њ��a��lh�����e�wE���)�I[>�s@=ت �2���b#L�3@PJ(���1���L�f��Hhs�!�h\B�Y��|)O�DЬP�Q} ��J��N{�άQ�v̘��(-���ކ��6X� ��K�ѥ�"y%q�^y��DN���Z�آ�=��@E֋͙a�vQ�9 �Qġ������K�Ô�K�*�j� ��5J��]�1�2{lYj���ی��x���J4 r_��� ,83'� �rx13��a[�'S� � �gR�tX |A76=� )b��^/�$s��� J���a-� V?�T��=c�P���8@t�!=����C�t�S��d){8kE��v�"U@�aQ��K�[Q����)У��&�wL9#/�F6݀�^\��W���Z}#�g�C��D�nK��1�� ���@�H)�h�\�V+}����lP�Sn�p�?�zmù���t|�����G����^�o����Pt�EY"IJgZ��� |0�D݅�YNB�Ng9�1�à�@�T���)�"nbe��Ñ�u���[[�1�A;f��Y�ra��Pԏ�sO������M��F���v&$�����vmi:T²6�UIDY��Lj�mq8(��?��b��!�3��R*Dm��� �@:,k ���чI.�(��ku����H%�UY^��$�I�2�����[����'�!����.&w7/ �x �m��fcRDN����,2�ë��q�m|�U9��,�A�˥Z�8�7Ⅶ��g���`��^�{ { // 初始化认证状态 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: 'dqwdhhcsybfks', chapterId: '64451879', novelTitle: '大秦:我的辉煌从商鞅变法开始', chapterTitle: '24.勇敢地向恶势力们发起挑战2', 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 看小说网 版权所有