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�5w��-6P�`�s�oU�$[v$ݍ$� "����i4��M%B�R2��*�?~5?P�������8��l���G�p�1�l����v�G� �E��d � ����(Ng�(���E���ax=��~cȋ�� "3��N=+�X;*�h�� ��0�d�̖�c��p�E=c��&H�՛�2r�(�W�':M�yP�w3��`Zo�1��ĵD�v�<� ��<�ܨ?��C����L��i:8[Z��[��pD� �D�_X���g��z����T̃�-�+�FL�h�£-��%��O�\q����y���̜D!�0�5"�ax/�\q_� ��L(�2q=C� �G^ ^�x /x�C�[BDف�{Q�ә��r��m��3[b�b�k���љ-=���b&��BbS�c f�$�%3y֋i��������\��^T/v����MB� �-b����[l�8�ə-��8]qO:5(�����8�eG��'��pz�k�����퉴'��љ-��g����7&�ꭸ�`.R2�h�� 1��K�Y@�p� zZkWW�K�k�w��r�x�-i��r�}�M�[��l *���幮C�)���� ��=�� &A�K��-Q��&���1��f����aoQMg�v7���3�ʼ#�ok��7��ȣA�'��KA��wZA��>����3[j,=��%�.$s��4"��7[w]q����78i ��;��S�̖��sD�� %�E��Fs3�R�0q�x?�ێW�{%�Q�;\��0>���*��^D�A'�P=�z�q�#�t�=A��� N��G=���5]�B���Aڢ�1R� ���t9Kd�, �x���'�<��Y/ ��+$�ؚ��ҟ�Z�C�[�`�� Q{� �,]ѴG��ʔPi0��̖�E�\q_�t�Ӗ��z;�_J�ORmI��iQ��v�������8>���|Q�'l�{nԳ^���C0�}~.�ET2��9<����¤�������������륰��� fQ_ ��7�uX�6� �x��1pP�a��̋z�� ��>���^�x��3[z,1�M_ԋY����W�{�.xfK ����꽠����D�غ#^�� �b���'��l=`� �)[g |��A|�K@j��٣;�P�l�M\�|�}��˃��(N0j���-��{+�m��a�I`��; \q�ْ���4��3[Z�U��ވ��hpӳ��1��$�]�`س�����=���iO8�p.`��,�h����<���x ���ר+�km�.W�g�$�;v�����/�=�C>/Y~�>���1�;d� Q���d�]M�_��F�vlm)~`�ag�4e��µn0g��c�Pp�(��3|B���C!�m��jxS�P6U�z��!���rB�V��~��x�}|f�ް24���E� '�[`g��PWk4bb�(6ء��x-.+��Rp9�:$!�HF ���7�MQ����W���{��>O%�m��ty�@Ec�3[z(o o�� �G^����g�������=��9"�c��3[z�0m��K�̖�<== 0��z�A�3��A�؁��Y/��9Рz1���=�Vg���a/xj�G��%ꁰ/��:�w#^zp�ޒ֥�?�G3qM�%�6�*� FM0�N��z+�9 ���7���H}6�/ġW�8M �̖�M'�m���l�M�b�{�>H[�i��1��\q?M���J*_f��;@ٛd�, q����`��$�)��c�?���\qTtf���$T�Y@��� 8Arч��l-�^���1ؗ(9�� њ.Wܛ큲����4%��ht(ĕГ��t�Qջ1�P�$.��,�-�\yf��tS�+�g��7�^+�+_,* �X�G|!ڔm}�; �;�U�Sgw3�B�G�t&$$�)�O��^��5x��A��x�^fKP�� Z_��!�o��9EKF�c���;ʼ�0��l�x��Y�� mчA <= J\�а���m����� �z=ڊF�N��} ����ї� ����<��.ޒ�v������[�ul] i��ӖQ��^fM_†��L(�������=����D��{O���j�G�I*P`��)��ѐ���G�|�ZT;.'�/��g���O�\8d���� �)N�4�2�4�B� ؛�����{��m��2^� �b���g&xfB���a�� B�ɒ�b�z�g�W� �ٲ��l⯄-)3� ����Pq�� ��^4 �䇕C[��?�_@�����} ���hp�E;�`��ę-�N�4/ꭙ-M�/|�@7 ��ә�m���� �M�R�S��ճ��:Hۀ�'�ˀ��yR�›��T ���4x���m`5���K�\@� �[=0��۴�Kx��_�CԽJ{D~ }fK�Q��e�K┅�48%�����*l��J����Ȃ+�;�Mq9 o�p(1 �I��<�$�տ�����@.hp�����fS����kf�e���'2� ��W�+�����h?H!�s/ߘ��\.d���B�^+/�0,>�6 Ƽk����i���� k �yӓ��נ2� 1R�J$>PĒ� ���Cn'Ұ��S�����#y�(߈�YX�s���(�Y�*���Ѐ�p���  �,��tL�l�N �d����0HX�r�c�d�L�Ć �V�4laH0� �br�CJ"�up��R��9��n ��ŵ��+���'z,{����J2�G,�r%`��A�O� H�������{��,Q�:.vD�u;�N�^��O/C��b����dpK����� ��OE���.*^0��L��� ��(�Q>���VHN��'��҈��z���쩶��4D0 �@w�T&

{ // 初始化认证状态 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: 'stsrmlfs', chapterId: '77909225', 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 看小说网 版权所有