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
第四十章 学校修炼 - 星河之主 跳转到主要内容

第四十章 学校修炼

作者:会飞的帆
(�/�d"���*<0)L0��{~``��$|X[�@&h-�&� b%�mo�f����MVϞ�����P�CC *����������� |bb�砫EG'$rH��? ��9�]J^��O�!��08eԕ�"vB����w�_u�Xɵ<�/��:_ap�� as����!�kyb��p~}�Q�g�Z��GgZ+\�B��� ޘ}���e �&O��&l�|��Q⩽�<)�k�&?j��>$�{�%��9���4i��'g�r�)7@���� R�#�# �0������kyf��_s �3i�GW+���L\����&�kyn@x�}��fo���<��� qtO�<s�^��2�_S����l�pFi<�+/�ʟ�'\�C�4�1�sJBFx�u�յh�Х(��;A��7ٲfo-O���� f��hZ�������_��^�s����d�`iʥI9��n-χ�E\��;tEf��S{��\-)��hJ#(�0`�8����X�Fѓ���&�ً}�t���� �w�~2h����kyV�+\:|h��mn�X�7A#����)�;�w�8��ky.Ƌ5<ܞDe���W�+P����˵<%�Ip���OLL��xeShޘM�pH��&[�`�������m]��a��6P~2��ѵ<;O7����!��� ��v��0�h�Ǽ��I\�3��#ݪ�z�G���>��wb⋧��\����y�іY�3c��y�]|=��R�w"��[�~]u��tHQu������x Hm�����#$d�%�')k���ד�7M?�^��LR���`��|�� �2C^���&#$�Z��S0ܾ��ӖI&QX��Da�)c(��3�Ԝ���OL<�{�`�� H�܀t7#�婠X��c�V<����H(��y4����hD��D�� �J��ˎO/�+r�t���v�0����N�0�ʊE7��4�z��Қ�����!��R���뀺f/et#$�U�����>N�Oy�"g�X��b���\��U�r�ѵ<.}������ŧ���˫�!W�����̇��L"s�^�7{Ge?:���T�$ SF736��Z���2��'��p{�C/X�rt���/H������A���ߘ]�!!�_G> �Zt�Bý�����)O��@ĵ<��5�ݥI�^�w��+��NL�Q�Z�a��t���ה3qH�����t-�Џ"��|w�I�D�D�t�]x���Qy��Y晽M6��$OT���ރ"A#�\Nvo�����q�A���zo��/EG29A#�k�������)�#]����p~�9Dǻ�z1^K�"�$ ��je�k�Mf��"��������� g9��Z�v� �'�?:]+~�[���� ��P��{��- ��j�xuսB�u-O�6E���`/k�ʋ񒍾}iͰWsiRS�%�缧�����~�P8��&�Q�y�h?.OЈZ�%mO�JOZo�-M@�\:#�G!��)��O��QZ8x��)�k���-�g�y5l9p�3qc��ݥ��G�5{��m�9_�wR���ï)�ˀ��p���O�|�}F������G?�?�� 9\��&?����9#r鵠I�]u~m�_��@���<=�^�O��lq<\Ͱh��.~m�!���`��O�G�E���ɰ�����{Ţ H7A#(���5{��b�����&Z���U��g�`��n�|�`/k�l2�<���xԣ�x�g�.u��'-u&¢�-�)��:I�T o��(�,��g��H£�c�#�bm�V�!V��,z3b������D�ky�B�C��h���՞��L�}��%@��w3�������$N? RQ�����>/�p�Tt�g����G3�00@0P@�@�F �� ��DA @� @A]yn�6�Go�V��ޘ �����ע�4�bE�"�x"^9`���Slv|z���^��p�R� PC(�D���P���k�xAhD�F�����|��Zc n�dR����Տ�-�;�ę�e|n�� 11����4�e��xݱ��� �P0����}ڛpս���Z9�z�~��! >���Y�1 [�S.t����?�\�e�gZS�_�;1����+ ^�x�������(yq5(��ky&@_�;��3�%�?:�u�*� y��I�PL~��2�^򚪘���Fmq. ��l�g��)�{�� �"�Y9jjo���c4G�[)�.�(��Ҙ�΋�;�gx艉4b��ѝ�O4��>B^ ~]Ȕ¥��P)�p��!�`N��y�蠽�eV�7u�^F�O�b+���%��� Ԁ0b�y*�>�%$"p��!�"$h�;���['" �gu„��j S�L�YD��zd,8yF��& ��p��_.CȤ�cȝ=~!�&044;��U��vt�>�� ��K�]��$ �+D^.%���qͺ(9��������E��S奍�x����D�����a���$�hp}߼���i�p\cMn��a, f痫-#� �4Ě;�u_,��:�����}ϋ�\$Û�.عQ^1�hOun>��D��(l��Pc�u�����0�؟ �E�0jA9q��(118|Yx�\XrI�ϓD�z|�� o]����d��d�!w`i��4��ޟY�x��N`�@��5�ٌ���_� )w�od�~�$�!��޵�������vn�RQz��M|/x�FC��RMW� ;�34�h��֣d��y�(��мC�����|��`���V��,}���ܪWQ� ��!(�D2��o����U����Un��p�?;m6�@��LO������ A�~��|�L�2� ���dl(8�e��Y���La3��T�!�3�Z]�@�Wi� ��m�s�V0P����/T�9�(�/.ʣ�-3���~L����{�x923��.)��)�dϭ���FO]�DJp�"�m�=T�UӃo]V��o�R�`&ծ�9�z?�?�p���K�F�#�qoH���IUV?�9�!.�K/[q�,������U�Ϛ��,h���X �=�)U�#!Iy.��4�ђ�[8�9�_��I�K�z��b��H&[oJ��+�N� �t��/��_(�����u�C���������Y6R����qh5+t$96��N����ܪ[u�•�} e���XR��6 �e컰�F*Є{x����S����2����L~\4,ߒ��m^��"��<1�|GA���@���H㫵(%5� �� �J��7`�� q�H�*�2�������{wV(E#F.�v��S;(ÙM�2RrǕ�7+lPA���JV#%�|% ��<���ZR�K�N���?�3^>�υqH��j�(�97M$�pʀ���{�d�^j��EKA��SǮ�6;��]f��X{ S�?�a����b��n��EX �X1�RՍ��p�x��.r��q��]��������+�V��X����_4È$��h��#>N��wp���\Y9*�?���װ% � { // 初始化认证状态 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: 'xinghezhizhu', chapterId: '51140448', novelTitle: '星河之主', chapterTitle: '第四十章 学校修炼', 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 看小说网 版权所有