Notice: file_put_contents(): Write of 3449 bytes failed with errno=28 No space left on device in /var/www/kxs-php/lib/ZstdHelper.php on line 81

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
第17章 影帝! - 全职法师:一个能打的都没有? 跳转到主要内容

第17章 影帝!

作者:执笔成圆
(�/�d�]k��x#:P��H�{W�a�%I޽l�6�����6�m��fӊ��r���*m�U����JR%HT("(�i>�.�������+��#jӆ�.Rd�-�]q���!��,?3� �<�]1@"��'c�ȇ� �g�?�k� �1�]���}�pL�g�;݇��@0��hHo��[>H9���Y�� ��'h��}@p얐������}Yx� �#T�L���Ę3� �{�ѯ�1c 2��ێQ��xG��_.G�f@��&[�Ok� a��'���,���R��h��GR+�����W�x���M~uY�Os��̢ ��?>��a�ܗ�EV�d�"�uO�A��$d��>iO� Z��p�]q�����#�E.62���ǍW����� 페���Ȝ�y�6vKk����}� X��� w4��� ��t.R�uȚC�8�m��� ڴ�x��#!1��uvN�p(� ��8��8擅O�=i���6ҳ�yE��n��xe{ ��hko0� !�@�x��r�閔�B��&]�ݲ��!��a�p �o����y��tKDm�|��� Yk'�yq��3j[/\�@�++����]�БպHq�uD��-����8� ��ȇ���3PY�P��-�O��?�ɕ�A�\2�ve##����:���(>�E}���q�'+��X <��MƱ[�*U\?��ɒۇM�8�8����p� $Ɯ�9i?����\�R=!C�=3v��) �i��_����� ����mѧR�Oys���0��� �>b���J�V،��+��4�۾�p�Ê���4ox\}2�n��Y�n�=��F�r�p� x�����u����=�q$��E�!� ���n�����-Xܰ�P�2��,���P=�E��=jȓ6w���n�F��pt�����I�x�0��-^|y���(S��ݲ&|��/��^q��y ű[:@���}�;�,��[6 ��?l!�&㔺�GV�4dN� w�Q�iN�8.R����}Q���5���(vK�� �3����� �*�7K����v�4"p蟑�@?8�W;C����̱�,�Z��������$�I��)h�)N0�� 8�#=��O!yb O,��rb�Ì�s�}Y[Brх)�� ����Ü�A�`i��Q���(��ɘ��A�W�r�Ȏe���-����'�9�'��0�wM ��E�F��1��j���=���rB��+KH>bd��Q���3ښ�mх�8�`����2�־,�f�����=F�"�����!�C�.9�]�p� 5�C����"��pǶE�n�*O.����e����c 'd|�4U�����o2�f)�Z�ۡ�;�X\q�A���K�+m�����0D�! �n9*\d�����9 �ڨ1��80 1 �Y)�y-3����� z;1�h����>��e����ǍrTX8C��Pڡ��C t�a��@p��c�׈�݉�Ւ�BS~X{������=����ٜ��N���DH�x�]�=p�x,���ꪤC�Xl?Nj��&.�$��S�TI���z`~9��H�w� �����꤈h�4�}���9*��|+���s��(��"[��&�<%���,�����\�|u]�����K$ES�l.7vk�^Zx �u?G�C/T��}��rJ��A9��mJ�� ]� rjD"�Q�Th�m��� �S��PÔ��X�7��Blw�.��4��꙾�j����Yewsj�l���g�0�Yu@'�~>�2u��{@?���'a�X��2ۯ6�Ug��8g�8(���I���6�v���/s� �C�?�#@+�S/@p'ߵ�c&p]}@�ҽ�Q�� /~!'�c�v�b{L���� �CiC��Z�AWP���g�����l͵IkT��7��� �X}Y8�� ��2��C�B".,�A��2Sm� nVߠ'��Ү)���" G(� =�( �D��o�ԓI��P6T6��"l�N̡X�1���w�9!f���ЧEūS,U ������p�����I!m�� �~YQ��H�b�t'$㓈1]��/������[�r�YD �aASԭ�"�1D�2�H��bo~o�H��s�� �1��m}e��cLn<|�q�/4����N�@�Um�a;��T��"2. ���q����''c�h��u�v/n�͔�-r�?��s信�H��J��(�T��Eλ�{x(�ݬ��]8"�����fnç�i�qjc�M��� �d����0 �Y6 �o����U=X2dqjۯ��d��?������i�ĭ����@��D�JaFCʼn�_ $0�m�n�� �+e>��Ӊyy��6�=4t��se� ğ Έe�ڧ u���9H��<�8Q2��^�o�E���w� �d��qӀE���n[F� { // 初始化认证状态 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: 'qzfsygndddmy', chapterId: '38140074', novelTitle: '全职法师:一个能打的都没有?', chapterTitle: '第17章 影帝!', 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 看小说网 版权所有