跳转到主要內容

第十章 【大决战(二)】

作者:二月惊蛰
(�/�d�%��5Q9:@� ��s·��p��S��!HlmdhdcD���FIR�$��7/u����̔�͌'����-ALmY![q–�k���G�+�mq�bnA�3�k�OL/�C�t.����*S[.�/oq7Q����������%}x�7 �����Ļ���:� �"9a�-^![`{�턐�/�=0�bK,l�n�ٲA���Ӻ�݊� � ��>��Ԗ � &�E~��������Z�iȩ- m��}з��Y�q3���,@2����؏�_ � ��+����%�F6B�O ��]��="���&��n�zz���Puo@�%��+dS[f��A<��u/���\ �gmJآ�%�%��nP3 ��.%�]���1�W��#P���䫓/�'' "`��ׁ��h�@��� <�e�6�yV��}��S��|e���SX;d��b��n,�\z�t�>j;�fT��|�c�/�� t�s� s0����|��O�<��zds�����ӻ � oq�v�t�� �=�e��Ķ�7D>���)ad�Zxzנ:� S[j��H�� �v]�e8���.��K�A8�{���d{D<���%6�v�{��@G�pr�R�I���d��)��j�l)B��5�E$��r��6�t���_����ڦ���]Mu��E\q݄Ƨ����c��{@�����7��զ�DԮ���{�y#�p�$�7�lq�t9x9������'��.����!����-|B��������?F�G�k0ީ-9��ؤ ��^�g���9ۙ�S[� �e\�xþ3p N�c���ْ���sjb��ȦlYB�Z�Dw����L���� �b���+�?��<��c�%����9�1I���l>�%6��ޥ�����f6h/��`Q�K��I��_ �`��; �xYb��,������.��׽�]N��Є="f��e8�zJ� �x����!{D\B��%��![�񯄭�s��6\��^#ļV'��]��M��� � ���M��K��Vbrm�� H^��uʖ�ᅇ{6GT^\���=��21p�t �%gO�\�p��6�sK �NmY³6�q��'@�TbN!� ֥:�¸���.@>0�Nm���S[�|��Y�q\��Xr������Om�a���i �L�-mw�=(9��B���y�Q�_�'��~�=��Q|��w�{q��?$��M ���`Nm���S$S[� s ��.��%�[K<�%�sK�S����t.;�jGN�1�{[y�|���e���Y���H�ď�=,O��W���-9a�Q�O [;d�:t��"�?݇���Mm��g�K��+�[I܍l��&0�=��Z��5qԖ<��"^��I.!`s2�-�:���\�Mmi�KJ�x������:�� h�X[���1�g��30jˏ�;�+Y2ތ� � ��Z��"����$�%%��|����۔}��z���x/<�]��d�E��|��y�w@ť�Čm �b�K�N�?i� ��2���r�d� O�})��Ӊ�-Oy�ֶ�"��|9a�#�ʭ������r����-^1?M. ��ڔ�wY��/�A�V{4�?�7�|a�Q`\��p� 3~Ȣؓ�7H��{����Ș��gh���98�v�����Z�=dOVy^�p�w!6�%��3�����>Q;��Kl����d�jC����٦D�xpo:��Eس�&�g�B��>�{J�� ��sP�k��*O�Y8�Є/�|� "`Pm��f����,9���{D|�-���ӻ �1Q��a�� *g(W�-���ԞL\�pjKN׉/�+�t�c����$�Jx.(T�A��xU��� �!'�(oq�Z܂���Y{��sjK���kHw�,a�@|���?�!9����5� <�%Uaj�w�s�;�J�d:�(�G�t�K!O�^���]����d��e�� �?�G6� �4y�6�g[�M � yB�Q���!�+��\E��̖�[�'�� ���I�;kk�o�;c[����4\�Q��Y���z2�s�V;�=�8���n�lJ [ o1��K!w��I�K���I�đ;O��r��b������Ԗ5��U�`�;�p� �[�\�N O /9a�0�R���m Ĕ��mqW�MNp¦���`�9|$�M�0Y�҃�� [ܵ�W\2���ĹԖ� ?*LJ.)�Ԗ.�_Ɨ*�fq����C�W�Nt��=%��Axēc;��0�L��rӹV�2�����E�/������-%�q�N�=��`>��&0�<4�N�����-���L]�\�]Ql�@�$������ �"�"���y� ��Lm9��r#�k����[������]bW��̗8������R3��k��SV�'S�L�3�@��YTc��&� פ{Z��<�/�!�L ��ɣ�W�u:�{����� ?�r(3�hb퐵C�Ė�Wz"{m#8au��_�)� Ar�5.���ϵ�1�+^�qjxD�w��Q|�{j�I�q\��)!��[�5y?��ڲ�}�_��y��s ��/��_� �@��� ]Jؒ��G�_b/��hoq7�tj��=�٦�-��0 �� ��w\ �Q�K���i��h��䋅g�d�in�=Ye�[��𬳸K)a�����s�)a�S��n���[��K �s��cwjcjg�?��p�� g�@�3�nx �Ԗ��w� Dm�-�j0��8�vurq�y�sE�1�M���K�ӉP�[B������¿ȓU��36)�T�'���kx�R[�$^�|�� �7`$Y�! ��ݍ����7��u�E^�^r”��B�F���Bm) �Tz���95%�L��_�3[b��8.� Lm�Y8Aȩ�%cd�t��Q��S�0.1��~��G�c�w��K&��)[VH�['3�uY8Ӡ�}1�B�ǂ >�������"��(�1f�%B�Y��<@�A-h�0 ��p�`\��ux�Q��%�����G�9�To|J�_v���#�f����J��x��B�,� ��m����4H]�ճ}jB�դPxT(��*B�'��)�I^��;L�[o�m���О#Έ��ED�;2��qNc- �9�T[���PR�|U:p��"!��{�_��5\�g��fN�� F�Gc�4y�zX�;��BVh8z�1Qe&}��������� ��h8�jǹC9_�˙F%9(r�;s ���C�~ %� J�] �>ُ��?Lm ��y�'�񥻵w+��R��e� pA (�ol,�4ʐ��C��ζ � =�G�-ڷ�=�h-@�es�K��4�]Y�Z���=<�7u�t�,�$ʿ�RÁ"�Q�q�๕g8L��!��r��V�����J�R#�^QO.~5��"H�T�HL��fO��ë�M,��ϯ�^��n`,X0iR$��Ge�3 b�U�b�C�B��ئ�~<��4�j�ڤ��A �p!����<>�W�h`}�Ԑ1��j��ڒg^/N(�t��z�ݥ@�/�S�>��Y!�K�%[������d�b(J��tR�ϋ���rgª�W�cs2����@W�0� q�� �I%� u+�y¯ ���m=ں�;p�� ��)�&��!w�6`w��lz\�pT��l���ܩ)�p��`X�E�ZI����̧e�{x��V������=�� �|��fk8(���M���ڴ�+C0فa��,(H"��˫qㄌ�����JNiN`>B�RZ ї��2��E���J>��g9*�V�:B^��T�m�+v���iav�¢�Oǫ���g_U� }Q��C8��V3rz9���!�p׭a�-��G�j��cH|W��kv�c��xl"5��q��e����7vRn�����4�8��XH������*��9��qE��|+�QC�2w[e���JS�/��wyX�-v��H��i�����I�!�8��J��A�G�v�Aj��,k�����м+р(���"B��.o���ʨU����G�P��+g�G�7d���V���e{��߅���.}�1��*k�,G;�1�#���F��2��]�I�fS��d ۢ)C� �Z��U*J����qH[.H��vk �=�}b%c��t�]������P�$mD��@�f�c��&%T{н�� +2=�SN�uI���*�J�^Pk��UC6 F��B� � :��I4��6�<��<�i�?\S�"�קǩ)#�&[5���q)�FG�"ZLS&7����MJ��a���4W�a�AoY��B�mF' �F���]с ���1h؜�^S�_Lx���B��ʃR���� { // 初始化认证状态 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: 'emdyxt', chapterId: '83310211', 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 看小說網 版权所有