跳转到主要内容

第九百八十五章 嘎嘎乱杀!

作者:西贝猫
(�/�d��|*�+= �p�����D����"%{�X�2�~K�@�J�������0Cpz830��@�3����M��2-r�r9��v��^�u~@�� �:J˺�)�f��z��ΖV'yl����f�x��Z"�����ҝ�����Y���[�ǃUx Vz�� ��=��`,'2fd���$�f( V�YSxE�KRs�O�5|n�dK�F�B�rL�Bg]lg�Wg7���!�Iڑ���e��H䊑l)m�uS�5�+}�h��yC�S�H&E6�)G�%x1�KR����4s2X���nfzz~"�8�лHd��G%gN��t�\Sx�֖�vH�l]Ef(Թ�ѩ�֢�Wg��j]��ZZ�a)�+ȚS4Xi��C]Hel�]$�pd�e��4�}s>�~uaqL}�q�e73�$~i�q�#xx%�73]�AM�%E�N6�.ʮ�d�� �kJ����כ��݀7�q����:¯*`̔�xe��(���Wg1�}�.ԹHd���4^��^U�:[?{�ꬢtN��LI"�ywP�S&[Lv��:;)ySp�F�9%CN��閡�v5��:�x<����C޷zC��YNqӳ�� �^�]a_a�̴�6-������L"��9�y�$X�d��U��C^� v3�Ղ["Y�8h���&��.�d:�օZ  �(�PR"sT2��|3ӄ�5� fZ�6�ܨ�Qy&�FH6pOH�e��ȣ�]q�&�!�I����L��W����|�)��d��'U��<�=sr�s=�u��B +z���*rI��x���&%��� YA�'�d73�H�M�u�y��-C?#�T�9���t1W����uS�=(=�<�hm�Z����9�R��$�ǫ [�^�%���!rd�P��+ ��Z�D���2D6=K�<�z��)HAa�n�s�C[�f��ɾ�� �f( ��f��Ue/v󡘈�?�L��u8����C]���^UHp��B:���YO�Uћ�r��~P:Ƴ'Mu�%�2H·��Z�b�{u� �a�h�מ�u�D�#�I��n z#���U�j#cF�:�D\��z܃��� %�)��k�E"��9�� �S��Fn�ƌ�)�7��&�Xnj|� �Æm�n��R$�U�Q2cd �"#�)y�PBΫ�ɦ�Wد�j��D���)�(�����iuN��xK��ip�*DF�D2Fr���z�u7j]nSpL�'�<)�P��C�N]l=]:�@�1��-�C@6�>��0t���xQ���66�P�����:;zy�w3SU���Wg��^�+ :�6�)�a1 V�f����yor�h���Wg� ���gEH��8�dG�W୴��L�;�\p�[�2�gt�PK놼{JW]6a�f��v�5��x֫ ��u9�E��BK�6�9�wЇ�F{U�l������zuQz����Q�����R78W��&� ���e��Ά�� E�wr(�d~4���h�?H�:��~��4KYtP�.��/��ʴ�u'�*�֜�D�'��.*�]�NJ�|� y�ի� O�TWt�UdK�$�3|�5g�s�A����͇�X�C���L'iRr�����P�I�5Cѫ�eѾջZp�D/Ma��x���l�!ͽ:k����ט�ACG���9�^��@^�b�cFn�l�|u����!ui�$�Wg���,=)�`�^U0d���|�yR�\�e/�5�?W�5 �~�=^���x�9���K�`�=����\�u=�`���=|�90u֔���7$R��M�1#��9JY��MOH�H��1���73Ͷ� �|��N�6���9�WgS�͜�U� �`�;��Β�I�=%WZ�5ѐ�=y��C73�@�XQm�fA�-��1� ���_3<�9�7�^?�i�f��v��$ɛ�V�HGy� ?B@7��g�-Z�.�ᆼk2�!#�Һ�K�ܬu[�!2�A?��~PR�w��(�W���ˊ��/^s�C�,�:Y���%I���o�}�.P�p4��j>�8��ՌZe�^��|�s,�u`E�b��Ҧ𞯽��1S�ҜȜȐ�]��T�ϖ��� �Ί�g���פₕ&�40@4P@���.$�� ��H � @ D���r$ !YS5aM�S�1r�=;pn�dL��r����� �=�M�I�@ޫ��u#���zu�mfډ|�x��N&�3X���(���[����K�3���[Z����v�̉|"P��qL�����TJҨ񔒭���4����f���I"�Wg�I>7���h�*��E1���73E1�y�J�L�1�/��H%4h���[��7JV$�������|\Am�*|�z?�U�6�*� �>k���Y�����H�$r�]RU:)r��΢-:��fC���i�'�JP�����1C^��@�(D����Ȟ�/$[ZW���%'>�C]�4�S4Cѡ�E�;*yR���_�� ��B4����B(b73E��Ye��u����G�d�f(�*��tU⛙~U����zU�ꬨ�����G��HNp|��d��d�fj�0p"��8F2��КQs" ZE�`� ϛ����8٫���� ���'��73a$��(3����B=N:!�͇^.GPXQ�- ��vs���'�73 �:��ّv1�%z��R��(}3����$E3@��U�=[78���|�қ�3<{!=_g��Yݫ��uth��C]�|B���b]�Ș�&Z�V��8�qK�ڈүΆ"Vsj�e�|�� �=��IɎ���1���0��#=�(RJ�a ��(�h�_��~�M�Y/�x�����X��֎�b�9=�0�X�d�~��$�}��F�ߌ#�4Sm\5�r�$W�v0$ٺ��&c�3Ԁ��:t��� -ⳗbQ��_��ʊ1nR��Q۔L� ��]� ��bijRQ��5�YyQ��W)O���v:����aݕ�3�y����u���V������_1�����.m�s�'�qa�P�uh vR�m}�[G�, �w� zb��j������ Ki%%,���񰖧 ���;������!x�ӏ�.�>0�>?�I�4�J�3�QE�2P�O&DRX0A ︚K#�[�c�X������5�"�'�L�t��̲�b䦙Xl]�)�K��a��u��y1��d|��Fo�7 b_�� �֕x1)��8�x ��tp%[D h���ը��/�#?v,撓.�!�ii� �!��Oﺵ�3�[�� +��~���}�K`��� U��h�O�%B��F%�n ����Z: �{o�&��q騇�!t���tt�a�bɢ!�6Iˢ�L�{Wb(�0F}B�bw���o�� w���s�e4�L��!3�k��1�[UQ&�*�/:f�D,�^��JW��}u���� ��e���4�Ъax}�H�H>��jl�f������`��%�� aޞ&6�� \�Sk'Im� =Џ'��b� g�b�69�N�=ԉDж� { // 初始化认证状态 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: 'kjyzhxc', chapterId: '51399089', 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 看小说网 版权所有