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
第250章 入营 - 兰域王 跳转到主要内容

第250章 入营

作者:卿潇
(�/�d4�p��'<@)�k����{�5�~���@�m4\�4�FK�j�@�yo��J��WM��;n�H���|�3�<\a_��` )_7<ܨ��9���p���v��"v ��y�"��=�`�6������fFlf�G싩�Ao�Ȟ�O��lG>��0�����-#�8~f��`�vg;��-#����F�k|��˶A�%Эm����Q�T�1� ۜ�����)0;�2��g�i�k*�йv9�%�c�/ ������䌇k�� nP�Np{I t��R� �a�yr�?�Lo9�������k����T~1��v��-5��/��s>���lk�[۳6g—):<�=u���+􇩵�#�9���Ƭ�����/S�˶�� noqX���#<|wy5�#tzK�k���-;��)"6U�����w³�'[�T2�V;�'�:�����{z���3NY��`�أ�S�<�sNp�<���9���X�=����)�_������{K��-C���8<�e����kW���mY�88� ��邤���ֈ��^"6�%B�gmʘ-k�_� nx����+������w<�0`z��Y��ǏDO ����w�>uo)5��H��� �Pά,:�r"5�����E���|?Q�����&�l���^��ڂ�Զ W��(�f��zQ�%�_�o�p`��C�7# ']��~�!)"f0��� x�|Q�a�����jτ[!< �]x��m�D`�`ϸ�����M^S�Mu��M΀���(zd�^pr�Ë�?x\"��C* �Y�r~���{�� �{ Oمk�/�4U��9]8��-GM��퉇��$HoF��R_�K ��g�/�a���-_LMo�5p ���-P�DlO�=���~��fDbN�U� �������3 �Ⱖ�$�T�~��rK*̉��"b�� �ψc�f�z��ɏ�޲��Y[�yB���X��ؗ�mtG����{�_��E�±�R�nBdoF`@�"0�_��1!2�]{��;��lҸ7#J �Er3i�vk�w&��2!? %�F2jCL$�D�[j��./]>D����$���!���viB�*�`]49��$�5�g�m}nqXq9G�)'R"����#mm���j[J-[fM����-� �a�l�xn!�Y�Y�i�邜'��p`zK�i�E��Z����=bH��n�ތ�ঠ���.O<\Syp�,�Z��萑����an@��0<~���� ��-?�'6��0w{<��-Fʉ�@��~��͈���-/$����/X0{́�[��7jW ��\B�|�|`�a�y�� p{�W� ,�8������%b����S�N:9��^�� ���NOo���Y��� 6�&��Ч@���Ֆ�=9��)����Yy���-{�/4�I�Z������ f��+�<�tʳ���ն�BY�������>��-{!�-��[V ^:���I�g*� ���_\ �����-7��lCP880�8`@�@bN�@� � 0@8A p��̈ ��1ۅ;x��ʥμ�<�Rj*�� �h����v׹�~V���b̞ ���^�8 no)�I���INg��`�V�!�f�%�8�9|�Mn�����tߩ| �Є�lH-s�y��Gƪ��O��[�TH�������|.��S�O/�3N�X�4�!��n̟w�+��X�8�:�%��3�/׵�M!�0\�=�� ����������X�~�~`���{�>+��<��_����ݘC����@>&���MoY�찑"��[�l���x΀�U�"�+t�皩lS�3(dz���)ͻ�)��.h��[.HH�3�;Ճ�$Ȇ�!���^�� �As[�Jxp����N��M1��!tK�����-Bxz�H��'� ���8����H�x��|Q�������z�����D�O�[B���ʗ�톰"�1qq�}w�<����Ra�~�v���lOn��i�}ɤqM��'�o�T�S�ESMr-�o���7U�h����R�|���"�1�L5�(��g){k�b2����y��ֶA�����0!LOoY�?�'}�nmbOOA�R��6 �A������ r�8B  F!� IZ�`pQ�*���EQC@��Cϣ������L���`v��Ρx_k�T�J����G^q;�psm MUq$��j�������/��5� R��v(, W�ꌒX�7��j��V�H��t�F���n��i[`�CԸ��b�z�n�SA[�`q�bɀ�����Cw@2nɠز^����B r���%��%F���9j'�h^�Q� ����+�ݍ�I���y}X�F�vQ]x���@���0�T�ɒ�D�g���Q�� h�M�}]ʱMp����2@���V?���|ء6K۔ܜ��0"��d�G��Z��u'�N3Iִ{@%S8�u"�y�O���9 �Oor��L �aO�+Ŵt�TH�$����.]��:�u&)��pEQ�;d@Q���퀍q;��υ�F��&Ο�>]��8zy�0J�EmE����/]�X0HG����珛E���;2�A=6m��l{-�P(���# K�^G�\,�P�)B������� $��3��i2Y��(p�������,�$(�m�&!����b8BZEO��?3?.���V��4 ����ڟ��ˢ�c���+�-����"/P { // 初始化认证状态 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: 'lanyuwang', chapterId: '63524718', novelTitle: '兰域王', chapterTitle: '第250章 入营', 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 看小说网 版权所有