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
第895章 惊觉异思因果趋避 - 茅山诡术师之幽冥话邪 跳转到主要内容

第895章 惊觉异思因果趋避

作者:彼岸浮屠
(�/�d]s*�L*> �pJ�;�OH�����)I!8u���H��$# A�����I�3䔁�$� ��!���$Ϗ���l�m�A���/�;[+��`����!��F�e%^R]���RЪ��:��ʰ��zbL/)~r�K_Zg�Q�U.���И]���X=7����/3fv��b�uFM�. Ó���u���i15gs���#��t� �~_�֊�v�xgk����;�@�-�-����0 e�L� i� w����ZJ��z*o����l���EѦ�c��5��|ɞ1>��V�B�#� gc+P}w1i� ��y�]���d�)�mWĘ��Ҧ�c��@o���&��Cڍ>,D+��`r�X=�۹�Һ�ា��[N<�����-+a0�ZՆ�z�W�4VOT}�x�c�������ZNL��%�b���V)|41���2VO���;{'�/DK�I��W29er���7,N�'��Sl���FtA������ �u�Lu���dO�� �҃�zn��.I0U���q�t(NM��!�)h��c��|ױ1Cy��&�&d��Z�k4E�3 /B5�'�]My)ת�R��� ��чN=�j�uC��d��������h) V�.V������z��{0�]Z�� ��c�����m91$���#ʥ�ժ����5>��X=/�O�!\� K2������%�"L�*c��c�,���6"jMy7{6��C�����i7��b�ݱ4�s)׽��4X�Xh h; N@�Z�h�g1S}�4�S���X=l1� �:�G�I� �=m�#(�Ly7�ՔQ��]�"�/�)M)KB�a\S���֞w�h��X��]�Z-VOh7��z�(��K��}u5Y~u�����|\/��A&~dg(OA���ci ���\h���v�0�� �"Wa���l�h) ^]���F:��L�9!q?My;��Wm�S���+ _Hk�؃a��� �/���R'�7��.��s6�@��zʵCt#�e�w!y66�k�S�w�M%��zu5�qE�ZΔ�g��Z>^�V��m\�\��KkhU��T�U�=Q^"Z���+��uDԗ���_�/�S��f*���e�`HhW�@�%.&�D�%�h��y��]�.�c^Z;D�ĸ�B|i� ��K&��ڊ��<~��6D�c�,q�k8�q/�W6 G�}@<�b�K��vN5�$����h�K��)o��b�70�Ey��֋�fC "� 0&VO ������'�*���0���V��mbz��![OL�|̰���%��Դ$��r&�av����X�\C�&���H��i=c��G�O$�ճn�� c:&ϼ�э�փ��!��_�K�/���FK���i;���V����vq�Vm�p�&��}���%�eo�O�8��vs� /D��N9��0� ��q8���w-�z��V$xոH�Z�!�K Ou'�*��rQ�����b�w.f�Um�ݻ��Kk�� �7�c��^L:Q��� z�z�&_���<a�@-��ҚÙ+�$�y��@�ĸ�$הw���IA�`5�մdJ�Uߥ�m�VS���#��/��gTߵBD4%��� t2aR���NyH[�4)���_�3�%e��'�+���0w��X=?�)�\Sބ�&�E�R�K��:]29dbz%���KkI���d�~�;���6�E�Rܱq(��������-�dX�]�肛�p�3F�)h=�^1N��c��5&���1z��I3"�I�)מ�.|�L��<�<�M\/ǻ� 2����bH�c���p Zc�彴��.��M�4��Í�J(o�!��bN�uk���>���h��vd钴��5�� �{Z�0&� �բ�!iM��6mq}0���X=6f'ї� �d��eRЊ�O�{ꥵ���]P0@�4x!Z�88s��B����S�p)hC�/�7o>n� c���*ƭ߱zb �d��v�����0&����V����8�AS^��~MɮU;J�G�e�آ�Qa00@0P@��.@"h@� 8@ $�`�x� H@�g��F@��c�4�`r�أ�:��88<`g��;$�ΔLHv� 5�ӏ�h��_Zk�V�V��� }�6��n��J��Sz��ї���#c������Re���S���t-ON$��ץ��8XSޅh�� [� �kʻ8S�n��8�wG�c�Һ��Nžw�+����л��&��yó��+p\��w��^Z�߹��,��]]P��m6Δ�����2d_,F��\S���.��ѥd�S�����!��_��$�ӍGgg��!��w#�i��"~$O&.);��aMy#�{�|� �)�=��Vb�a�h%�]m�\�d��dyF끷�=x��ڑ�3�EUL�qӽ�>5$$�^�z��:���\i!)�CbCB� �����=���Iipʻ�%���Y'���ҺBt�&�ifG��v���t���!����`xb:�RwS�^Zw�;ʘ� �L&L�`��犌�2�{�'��:.InFԜ�(n�n*�_�9��Ő�I Z��V�NW0�r�zp�}!�/��Ʊz*B zw!���ʹ�X��\{ ��|i���-xr�2�d��@�Tݡk(��I��&�!B> �NґIT]D�;�R���Z���6Lh*e�����X��e!�t$M� i� Et��2Z!��큮7ɹ(a��j`~��V2�5�� ābmm�?j���S���{��S��u�G�i���I�Q�W�R�3( �f�p���'d&�,�Ur�(&�� 8�Cv�J��A1 Jfò_S�߁�SQ6T*B����U�`��m�� /�?� z ���@WnUR >B'CF��`�HGp� { // 初始化认证状态 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: 'msgsszymhx', chapterId: '33299115', novelTitle: '茅山诡术师之幽冥话邪', chapterTitle: '第895章 惊觉异思因果趋避', 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 看小说网 版权所有