跳转到主要內容

第二章 扬城高中,谁能一手遮天!

作者:灵隐狐
(�/�d�}m��<(7@����sr���+-��)"vZы��G���J-Q&)���N]U(ww7G����j�tpv~�VK �9���U|��k �nDC�j�U/&؍���f��偱��^Nla�Q/L|{�VKS�I\o����GĽ�x�e�a/ o ��WgO���/yDq���̆!CBn��'"{�'ڭ��ު�)w�/� �(rBs �[-;^d䘉L��xq;��jɍ z]��(�'�j�4�#h�`�Trgr��_���g,�)��ho�Ty�Wg%"���2G�t�2�s�e>��D�C��\!�P�� �2�s�g��0�x�[-%"�D�{�97�N�Z35Au��-n�l�kͳ�?���y^��[-/�JOZ|�[-A��K� 6 9� Y���(�@�魖 Vwf�>)��rh�(;.���VK i�E��Z��K��j� 9A�M��n��hn����VK�I���I�\���5S�SC��:[)�w�O�+�=��C�V��i�!Z��j���x2�!OH�ƣ+�o��h��}Dz���hͳ�G�$~uv�9�2�rA��� �� �Zzr�so66EwH>���8Wg�!כ"�y�rJ�?�;��,��L06(����3�5\>]*���������%zGm�7���%��'d֕�y�`�!1�9��=�s�l��w"��pͳ#�j�z��4ꭖ �w �dY� ��"֚��^$����=�I�[�ܭ�Wg4]�.�~R�P�,����;�Jv�B���n�Q��<sEș�V1=tҩŐp�"��,� �����#�`|>)KDO|�4�������/������|w����3(�Aъ�K��0q��b������F���i��o��f�����\֟�g'eEț֛ �o6lVB�ꬕ� ���q�ZJ(S�/KA���l�� ��yW���Œ_H�%�%y�%��L����聑��bF�p.z��7򆡯�&��De�͆�sB.4��م�Xc&� D��� `sB}�ie�2b�V����%=b~G�`�[-��<�f�����}`>"nhs��Fu����ZP�p���\�Ceo�[��f��5ذ �bɹ�!��09���g1��jy�i��f*��VK�jM��s��g5ϒ���_��(� �a0=(�Ck��Z�Uo ��,'�s^�h�TE{A��z[��1�+�{��3߽:��z|�V����!�j�&w����D��[- �� ��Y��!���=)(�IY__˜�����!�G�ߌ>6f䭖�l8X3U=K@�S��Q�$�Z��%�=�z3]!{z���F�*0;�l>���P�M�K���D6�r�� ��'�12Gy�h2�� n���A��� ����A����聮#��k@�sYC�ղ��IY��]����K;`��u\nq�R˒�#W3&~T����A�cF��-YzD�6�sI�nj\���4Bf/aC0w,���W�&�sB��4B��Wg`;��x0#[3������i���9(r�熔7"�pј�!����<� �e��Ө��.Z�����D�:KB��k��m�X�ю���_Ւ�pN�3�)�^;q�k��I�W��81&��2j��/��jiY�$G�=P]N�3�g� :4�[B��D/X.�bg'��M�U"w�%fd�#Y<���b���b z���i4P�@�[-! +B5�v�#�ىI��D��?#K��; ��K���E�A�~����� ��L)0�6�{tWy�V���7�cF�N� �-`��#G_N!e��W�nj��N}u6zh�"����X�5��M���:��VfüBw`d�l�`�8T����$Z�����k�hA�g2 (��'�^H��hm�35Z35 >j��:.z[p�7 ߾�P!hZT]mD�V�Q7>����)� �O$�Pt'bɑ3!�8v��u���Ay��p ��� �Iz��� P��lir��O������z�h;��F�$z[pk�<�7!��l�t��9��7 �f*��l@���; �Lu�ȼS����~��B2��<��[-/W�2�Ub�΂�?@�ZY�N�$�I���r�ǡ �Z,I�������hp|�f1��H�_�m0`|{4*� ��S0�f�A�Z��9C{����qC��^[6�Y��U-#=?#~u滏��s^���l��Jԇ���̂zR�0zD|����{�{�W��NL�|rh�gPf0=h���fG;"�6Ss��"h�1S�-@�Y��a�8zR�ji%�AӤ���&]uz�%�I�SYE��Z�� D��V!�Lh?��:�!�ɷZr��ItB���M���X�t�GS�.��\M����]�h��\"���A؛"�3�'�W��] pNؗy3c�?T�Tt�`��'if1##��Dqt�#��)�SdG��x���؊�[��̷Zz�� ���h�F<��,�� �8?�8f�w�! aA �3B(JB��0�1�������P�_P_{4f!=�Uo+١��N3T����WIiJEŰ�����T?U�^Q;�c��?N;�.ܙ����4'������XD�M�6��q�������P�^p<�ޞ�H }�'�)�ݔ�1HpQ�×ѵ��+�j̴_t����ǐ_xjlftmބ�!E,��xz����Q=����3S� �� ��+(o�|��2�[I�S�^�E�IH`�@�z����mc���p���+�*��P,S�􁦐fj�a�O[` �@N�Ŏ��;g��p�nV��g��Yt�ik=Q{ad.�H$s;�]�$ ���+x�ǘy��D�'�l6ߙ�2q�j�-'u# 9V�����(��!P�X���pW��2 ��a�n� ��:�}���OC &9aM�~ ��q�|���s����/�*X�9kV���>\�w �'v�ᗒ\#�gM�^�oY�wI��2+�78,}�q)Swd���'(=�ɵy<�e�̗Q�Z���d�|�+{��~�F�v�2`4��Фϝ��4�� K��7Bu��9��\�S��&���c�&cߠZYE����QH� { // 初始化认证状态 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: 'damolong', chapterId: '83040690', 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 看小說網 版权所有