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
22.亲征 - 清穿之皇太子宠妃 跳转到主要内容

22.亲征

作者:湘湘兮
(�/�d)ł e1:@P��9�����H��9m�ūEP �lv�PLZ��%��b��1/����e�լ��#F%?P�!�ljn)�S�*&;��B� g�;��~T��H ���/%��t����d�Y^ٷ|���r��'b;ƮdZ��پάYN9�r������W2�|����រ�$y�{ �Ԇc?L?ˆ|?���O@�J����I�-���&���i�ۺ���f��#ۘ«�5��#ۑ3W2�l_���3 ��=�^�TSq+��Ԇ`�,s��,s$��W2�X�u��q��+��2�V6o����I�3-� 5#X"v56f}s[�a�0W2 ;�:o!��b[�KA#X� ����x�'+Tn��){��J� ���2t��G�J��G�Yn��@%�[=켳m����lF�UlK�ܙ��"�S�#�oZ�干B� �>,u�rx�p)Z�:�]���0K�W2�|yN�~9���bo�DP�G��O�W�g��.dM"���Y�-� $h4������#����Ȯd�P9��G���C`�0y�}%SO�����L/�P����J�ۧ���K�A�S�Ύt�9(�L����h!�P��-�)��.�a���E�څN:iNټf9��J��c��k�Rre��yE����$n������K�$}�ʧٕLC �#�d3Wm3B��!Z��٦6��`�����v�6����D��-i^oG,�ޝy;����\q� ܹݨ�R�����=4��f��OI����7�#8�0��3�(<����)��2���?�-��B�h�B̻�AV�� �х8����B>qc|?B�r�8�l?L�� �E� %?Lװ{�?M��%�;�M�b�t�7�{,?M�lGQ�h��)��c_� �7�/��P��\9s���#���9Bl�m�?���{����%G��5r"� �l�:iB^� ;��!�J�����=�W2Ex���!��$y/�Zƾ#X긦r�ؙ+7��L?�~9����̚m�_<�<���R�6b~I�'���O�|��1�e� �-'O�� P킳���P��2� � I�>��Lk�;�n�ƏeNy��!��7-\t|Bȯ��A�g����C7��(k�g84��;q���k#D��|rd��^1�J�������TPň;!7D  ��|p�s�j���g�_ɔ�pw況>LGt8��Ý�0}S���T�dzo#�N@��`�ؠʳ�!g1�L82b�A�`�`̂���s��:����%4^�=[ s%�˄?� D_�*/x���T�|�u� � ���!�kn�\9��C��5��3 �djȠ�O�6�H`�uK���x��Lh��"4x3v�����?ؾ6�EL�Ժm��Щ dOm��:&v"�J�� �����5�у��h>b�}o�:�l���h�e�o9��xe�LL\:��6D R�/ۤ�C4hX5��i�����+�nٖDHd*qxP�4�xd[7��O4�~ٕLA�=�p�rB3>&|"vX}eCm�RP������tI�4���l[��s�8�9x�/�[�c '��1<��r��<{r`}"������A�lwQd�5�( H�l�(�p� �-`)��B�'��S.'t���x���Øؤ����[���d��ӹ�pр59!t��)��%�)���y���y(��;�J��­��@^,-�U������n[H������{�B���m���slz���t2�L��s�+6��i�9�y�Prf��ޔC�=�c��k�k&��g��p��|��A�wBNy�W2���.�cy'� ��W2�0y��������`����������5�^!c�o;��p�z��;�2��`�W�� D�˯3g<���lodBG�}f��������@5��>|�m�>��,����ѶV�g;2bj���yW6���L8��\� ���B�5�"�å��)��*AP�����~�� ���)�u{�x��+�6�a�g�=��I�׆+�R�#���y^�t�9���B�6|R��]1�'�;�7�A�S�t&��l��)�����%[HP �B^|�9��}��s�P��'�mr��Y�"�g�n��S`�2�d��q��h�s�D�l��s�{ؙ/��h�@⟵@�+Q��9��'#.'T�L3[��T��hA�>�-t..9�����;�׽�B L�P��R�0Y�84�<�g��%�[���V���)�^^�!6�9�{S^|~m� ��0@@ �`�&dzY8���-��ȶ��q�^���1ve��L9�|G x�������q)�[� �-��p��i��������� *Sy�8�rB�� ] �nP�*���������J0"�3;�)d��Z���bk�{D7�ޠ�j��t˩�u�^.��N���Lm����������ls�O�'ns�G��x��W�LS�g�϶��x��>&�^Y���NĎ���쌓�y��9��̕;� �κ^�t:�d�f��i0�n{����m/tቅ_<0WQ�,7D ����# �8~5Ѕ������y�� ��HЍ� �6�Ex��:��]�fn���׶�f� �gzog���ԆE�S W�}5�r��=����rl�찋4�����V�W2�X�6|o_g��(1%��@�i1�0 @����B��@v������@R������b q K�7A�� x��7���90��g�#t�GAjyg �W0�a��UQ� �Dj1������4�^c��m<�!����Mk��rݲ�4��#�g�T�c�n�� 4d�` �JE E{�����TGr�#�}�iyD��b�5�F��Q�}�ʂ�(�1\6�����$5�@���m==H�l� ���K�Q5؎�J��xX ���s�|���ώ�0A}_��L|$W�W�^�����=�z`x�YkQ�pu��'Lʰ=S�F@�` ���^��= `9�w�04����hR_��� 5����bL�0~���KR8�,@�H[���G �P����gK����jp��pyA���#�kPp[N�gG�Um���"�zL-��y1y���W�Σ��B ��vK j7)�� ����P�=s�k*,%�����7@�����@a.��P1���nI�8��o���Kg����kO#E�}������*�c� { // 初始化认证状态 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: 'qczhtzcf', chapterId: '35530130', novelTitle: '清穿之皇太子宠妃', chapterTitle: '22.亲征', 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 看小说网 版权所有