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
第85章 83传下去,德思礼只用了一个魔咒就 - 霍格沃茨:我是哈利大表哥 跳转到主要内容

第85章 83传下去,德思礼只用了一个魔咒就

作者:比雷菲尔特卿
(�/�d��{:�<,?0 ������Uz�27%e�,�(�`�[�!�*�~����!���� ,��H��/9�}�����*�VH��:Y ��� ��3�k�����^��ȝ_A5 Ռ�U�݈�1Y+[`�m)� ُ>$hL���G�3F}��h�li���:ĺ����&�q����1V�����l]�+6Ty�`'�W�c�M��¾��R���YpSqE�Ħ�5�-U;/qݝ�Br�)&�0�����C�� �U6�b�B���)�K ��?���z�}$� ڀ1r�dN�K�F0�[e�le�o���2L��G� ��<"� D�>)w�����X9�����ik�V0��VB�ieGe�G�;Z��3s���݈֔���la�b�1e��z�&a�����Bs���CD.K��V�ڭ2f��sҎʧHOBG���>u����g�C�6x4X���NP��>�� b!#wN� �f>��B�V�.��U�X��JP��@��F@� �*�ʌ�G�/q]�>C}�j�l��~T攼`�8�'��������J�wq�jF�C���֦����*]��ȗ�r�/�:AD$M�V�<�ƌ̠�����B�Vy#2"��x1��?� �X�f�͐vɆ����Lc�F��פ�Ǒ��!兔w�5k���-e+6�a-!��=j����_(��� �=�{yo^~{X���r/��.��0}s��ʠ��`~yO*�CdJ�g����Jw�۝6l����Hft�b��wM�e~y�Q�F�-�l��FY ������V�~��M��T�NU��h�U�^Uf ������e� �=��Z�@�y����� hU���rZ��[���Z�b�b��^����lH�~�t7�=�KN��}����jh=���D�$g�w�-%����ʣ����8���VPo�{X{XsL>8�����"،�;�/��|y�-.kLdu�s��fm��2����@}r�p�%�G_�@;{�}��Q� ����Hz�cO�K�N�1yz���C��G_keK̞dr鴫 *eC ��J3CM/��'͟L�8��8���U�T��X�|�M+g@ ByB'0V�`^J:i�Q���z�,��ĵ �>xף�C�7N�Uf� ��-��erM\{%K®`�����ȥ��ʧ��M[P�E��^�9cdlף�kek3yl�U�e1��������f�M�!�.�`�чP��F_L&,����S�˰0�s@�����$�[����5����#o�8R�`� ��j!�zCܰ�2"�}~"Y����}�*�J0?p�>�|x��猑3�-�����X���⒰�����I�1�.9Z+[��ߟ!�� D�i��LBڡ����Wi���e3�s75��P�/�W��ǑK���?��y��@�崍�$����Z�O� Q�<ۃtB�cB���x�a/��R &l�d��T�'J�ͳ;�5�IOu�r%�7t������aM��(����{�q���޲�����s�0/V�QY�x$Y��>�y��L{0M+s�����Zٚ�����k��+|\����q�%�ZChħ/�}���KƖ�VlM���TYE�戄Cw� ��|ݨ|y��Y��Y@ �@p@�@�6X`�0�� (��0@&���l��+$�8;s������5� qM+kek���#}�EZ��Bs�]`.���Ǒ%�M�Al�d��E�@]1/�\ChM�"���4���E�=E��u�6P�zT���*�k�C�-�V[+[�ie�l!@��z.l���|�#sλ\��keKQ����{λ*�� a����D��G�ϸ\��jek!�Vi�ءE���PWa���R�R�s�?Q��h�O$[X}�|9-�sh��¦��b�԰��U��S�ָ��;W���VY�U�u4�Gd��_e�f�R�AZ�q�82�B2 ��ƪҳE+��԰4�U��ȊHc\K0ߔ- ���zA�>,>"Q�j�� fM�ˏ:�keKdY��gўEw�w�GP]QX.�P��5>�]!��`瓰;��ZQ;{�c�Z�}�YY v��<��(�7+[� �|y�1�I�'�U{#�Ȳ��je�5cd �#���v�0�f��+Y��Jf���ָTc_��q4���&Y�r��S� �A>���ke+�����{,� z/�9&��^,:Ա׌�M�kekZ��c�%��h�f`���rE 1� �Ź�$���Z5û}��f�� ?)�԰�Nj`7N{2�)��݀:�윖-uʂ��\_�B�%��-�lG.�MX��g�n �\؟ĭb�������ȥJ���Q q�8 @ �!�`$I5>PY)�0gUPQ�C������x�PM~g�ͩ�}�ٷQ4�ȥ���# H)��V��2o�< ��p���`�M�� $���{�@���7�?�J�P���P?aA��cסh�-��B� �H�:ah#�#��A ��R�sc��q��#~�ɥ��cH ����P7�ݻ��FrŀhZ�����!�?B��[�Ɉ�b��� ���%���:g,P�l�vJ��B-� =���Q��G�ˢ}ߔ:�,l�;�蒺@�r�� ��7S��px#�mҁ՛�����8w��%�lU�©)Z�����Q����0x�B$�}.x1��GPQ��b��Y �����&�kv�j/e�p�J&u5���0P���4om1 { // 初始化认证状态 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: 'hgwcwshldbg', chapterId: '66108240', novelTitle: '霍格沃茨:我是哈利大表哥', chapterTitle: '第85章 83传下去,德思礼只用了一个魔咒就', 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 看小说网 版权所有