跳转到主要内容

第62章 诡异的城隍神。

作者:秀山第一帅的老白
(�/�d' �vz�@);@���.�)���&F��A��t�t0jI ����`��� �B%'A��K�2X���i�/�5�)�\�<��w� � �%��r�9����n֤\�r)��_�@��/T�@|���D{�gY;�B�a�î/���L�}�G��i��z } ϰr�����Z��p��=�5���3#y�{�rK�C�M�s���,V��S�pI�3ӂ6�<:�=h�8zb�Q�=�,V�4DhJ� f��pie�K�d��A��H�i�=�q *����z��Oi���Zp����� "�٪�P��y8�<�A�2q�^�,�}�2��B׌�C�_�y1�Ŵ&Q��|�d��e�2F�}#�Ŵ� �{��6���4��6PZ4Z����^3���"���8�2'Q�Pj�i b� ȱE{����r���g�.�|�����8w��V�U�Tqpk1N��6����� �=Eo\�j��G[���+k�!��$�^_�q�W9C���X�?�AXZ��܀�<��9]S�[�5�*�S�����<ô���$3��@��>�V6!�V�l�q�e�u��)� WQ݁���%�:�~�Lu=*��aD�"O��R��ͽ�� �/��8�����W��U����B(G�n�{J���%�C�/�8VC9�����0��B>�'��2� P��@ h�1�>4Mi� {�Y��`�"k&/���2����~��Ǫ>�.�5�խ��{6���*�LK�<�}#���� �[m�Q{�g&��੮i�jsGeJ{k��� �G�;[c���y�>�}��"O��I����P=�h��M+[��;��.'Q����@ܪ��/�=$X�j�G,e�e� �!Rz~v!r)��� ��n6 �FO�g`FԢ �`��^q��la�4��|��"w�+���=�dDB��]��-�"OS�#D���ƪeb��g�̱�!����+F`ܺ 9��Ȍ˭�;�D�݋<%���-�� ���a5_���y.��:��.�=i�Yp�"˥�gЎ-w����) �4���H_��|r�n�t1��i/�/�.�&/29T���;[WFm��* wrp 7�,�^z��4�ɉt��Eyoѥ�/��l >^d�Frg�̴ ���|^1�u�0�lA��p7z�VvT�t}H�_�!֙�/# �31B�=�/���<��"ό�a"3�<��z���{(h���E�9]3L{�؋< �ڍ�.�$�kc?��V�Т�6�"�G�'bc���/Ѫ|d�FO��p�b܋<+�Mi/�K+� 끴���!֍��拒/�Ĉ~��`$܀lQC���U&)�;���'ڏhI�u\<�M�I����U� J��B���*���)����S�FO�JSڃ[{J�[X �c��Ϗ���"h�і�rGi�Q����E@ڪ��FO ��,Lޠ�R�?��T�(��y"@����e c�s��M쌞 ���;������/�Ī~����R�{� �r/�4�/�B`���kL|��5j��]ƴ#������&A�S�n0+*��r��Z6�9�}�� ����tm�D�����6!~!� �~v|�C�ӂF�2� i��=�=������yb��Y�g5�>P멜`yed�j�d� U�=��u��t� �W�^�y �h���ND�l�5��lKC�"���BO=�"]���Xeu �9]����hZ��,�rW2ޭ�n�_��Hc�/�w��H���FOܽ�ҞA���"�'L n�`\�5ت\P6�-Dmm�8� j��H7LL+�k_YBMi� 66zzhڲ�#sK�=���юʒ���Sr�4Oi�}��w�?� ����F�t�r��l}����J���-����M����3H/( �(p@�� PڃJ�t�)A���/s�g)c9���3ӆXg�gX�"��%w!G$4 }�gy����bG`�*'�6�i��$�(�s�g���>� ��ȳ�,F��A���8��r��ǹ�2���n8d��R�$�&]�Ҿs5�_��9>�`�$���?"=6�Qu]:��cì#�VtNio*�s*��'�l�f�O�}}��h ��X�F�.}v����Y���F�6�@zv�J�b� �����g^���4)�*����j��`�5����V�_L�1h��E��ē�k`q�{h&����2����[Rx�<-��fB�u_�/L�J��q���z>d�+�5��v�Q�Xx�������ʾ�Փ�����q4(헵N�=�'x�j�mO�+���6�;�p�UG�� :���)�P��Bg}[k�L�x�z���eh1�Aj���!�QM� F��#����|��r��^�{\u|~�W��J�����n�ųSf}q�K�wD��` ���Sb�s�c͈P tb!OQj��C�P0��7n� ��]$��94�H.���Wv5* 9j�# �7� |�6��~܇��M��#��V����t+�ֲ`�� �2>�c�6� f�F�%������+��&"���#W�~ndr ���U��#�%�RV�m� AI��K1��$��(���HMXЪB}_���I��-�wװg���x��d*+&�a�O���9��>3�R�A�q0sS��=tnS��)p ���G8 3 { // 初始化认证状态 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: 'pddxxyxczl', chapterId: '40959834', novelTitle: '贫道的修仙游戏成真了', chapterTitle: '第62章 诡异的城隍神。', 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 看小说网 版权所有