跳转到主要內容

第二百八十三章 出大事

作者:初落夕
(�/�dN%�� *)73P+���9y E6�k�I�0���� Yb�=�7ˈ�"��)M ���_g\�q=��<���� �k�1�/��-�/5b��U�G��U� �4����k�G�+��nO���@�%���ۏ�� �� �n@b���WA�ȶ�d�"����=���&�Ts�(�"۱�����E 1���m���G�8�$2��B�R��!}�_uxb>���1tT� (�� �\�Բ�e� i^� :�#�P�#͒k���c�4��lIA��{}+qg6�E�i��g�V�H��l��'�v �}v��F��@����L������҅�!��G�/�Qv:�� �3s�?C=���ٕ�2y �����;B�x���!���({���M�aɂ� �`�%��m!� ���CǛfg�a^��t�r� �.nP�A񙹒&O�|�a�{�A�(p��� �I�1c��I���C��m����yl �w�9PI��\W\?a�f��\G�5�� ��`癹����^u�d��N���AD�!_�[d_�'8�l����T�� �%c���\7lo���9�*O��\)�9�{�?A�|���l���$�����E�$��${r� �� j��C�� L*(��v��̹<3W��t�t�*0���ۙ�r�^u������!�s��93������k�i��}f�$�%c�S ~4zfP9�Wj�aR�I�' �x9�ɒ�Wp��8�U�= 5#�ËN�\h��pzir���|�v��&�\�J����G� �0��U��'g�7P?�и"��I�(۠��c(�٬�V��������!s�0�jr�P+��a��G�W�,p!ü����^�������[d��4T���t�a(���+�y� k�[�C�X ��U� ,Y�2�ۏ�Y�}�f��X�i��A&X�;�? ���Ňr� �����o�sck�I��:|m�1��dW�2V�s�l�=��G�%�ZI8~3�G��c�ܙ �;��}�̠R�k<A0�|D����:��Å#�V\O�^@�f���[� H�T A%��^u�_ ��k��E?�N�%�Û�'�i�x���U��E_�:~��d�â0G>>*����T�@��n_�� 3��4��l�����3[d�:ޑfC�ن책g暘�]&\��&��/ >��(�5�-�c�.rx!�A�T��s*��\q}�5˯���g�� 2z����l����]�5G`�98'3��H�v[2�����#<��k���E�EO�qB�%�I �Tn{͠j�`��O�?R�*��\�M�>�>e2�Ie �,��9d�x^�~�y���ٙ�JHYq}��Y���Y�K<{�`K[���ϲ�m�{G�EϹN�:53� �g n�� ��C����OfX,�=a�d��mC�%<�:i��3s Cl�����o՟�[���C��gwʞ����Hp>��gB��ۈ����#A�Cf %W�xC<��-[d[> ��£�k���g�:��b_&�3{r�(� 1���z���G��x�`K!D��� � �s���̠z����h�y�y��R?�0� _cW*�r��2�$ٜ�+D�:5��m?�9�s�l���l)�y#�ې4c�?�ކ\éd�� O��kuq� �st̃S0[����\��%@?��� �98z{�l !�a�d�쐕��k�0q���— �nk�\Y�m�\b�3[��\�P�v�`K�Bbl�����+��#<|�]�T %�d7�ިt�-�[ '��J�=���3s% n�Z)|��rȼa��y�M[a�P���]\�~����w�a7?h���еۣ��'�8����2��w�P�s%�䓲��� ѻ�k� ك.|��]�>3����E�'�Nb�̵�8��U�E�w?"�W��5�����ήx~t���Hs���˿0� �|T�T�˧L�x��2�r� ��c�G^~~2�����,r�g(iwf3���|P8�)��\��F�=*��� "7PG�y��l�Q9����[�#艱I�� ����cH�ɚV6T�}����L�؛. ;t�u6��(iN ��vj�!w���?�L���3{Ta g�Zux�8���B�&�H� p.�a}��Ñ�#���~����&��1� � ?�p��#�G)����m-u��G.�\��l��"�c8#E�a~��*p����'&򄃻�� ���8qQ�l�x,���@qbQ�7���P,�� u������� O6O��|s��f�a�-�0�Żx�"[4����x[�2' ��+v;q��E�@n?�7�Pxrd����1t�2�2=lM�>�H�`K��� �x����9",j���K,l�|uʇG���H�='�Q%c���83����5�#�d���T����'n��g�C�͸��|�d͠Nb��`�CI�x���~j��k;A��#5U�a ��s*93W�k["d�}��5/͢A��<Av�a�����h�@A�%K�9�'��<���l A�B76i���"-��(̤ o���� q�s��2�ę�Z6��e[dsݲ���0�����M�o�ˊ��9���U���gB p�l Av�f�{Fٔ���\�{:���� ��3�F?� �E��H�I���I 5Db��k$� B�H�����g�U�D�Ev&�������`��m����'�H�u���d[gg�J<�ٲ�����={p�D����]�Ͼar�H��\? �J���R��i���H �l�\����e�C�#<�����v;����*�0�A�g���2ñ���Q9'��0q,@Kb�Se�J��4��E��s��� %��* + o`�@ �M՜�x�x�)^ 3���;B\K8��;�֗�:�R��N��5�W�f��,>�WS���馣M��/�)����t�N\���V�6��{e���1�e?ɚ+h�z!����Oτ��ĤhM��fH���8K���?��9�g�KP+ɋP?���S�TBXw�F;B�uFݠ3$9��-7��>fӠt�B�f�� ���bⷻ�����J)ň��X&+"a�ϙ�����)v�P�� b֯�,�L�lD��ف#�N�'��Xb##�X����\�� � =�b�@@���͎�-�z��a�Nd��*y�y ���!�ݠ�X���P�٨�(�F�t̟�3�N�E �Jɶ0%��ӄs���l#� ��#��*�V��[�����"�+�8}k��,_�����д�8�[��d��|� ��'G"v�1��l�%CK�H gC�WU�l����V��Tq�t�HT�_��6�]TQ� UBr��Hf^�1j��n `b 2�F���F���|���Պun :���B� ^�|L���/���+} �8Y9x��|�D�Rv��Snj����+�� �UF���ˤ��\�$�$��� �ƁV6�� ���u���𿒮t��J0�[B�#<��Lß#d‡p ��i��8թa�t�Gn,� �� cs���-o���F��F��b�����%(�]P�]��q�i`%�����g�a[�/bE����S��c7����!OE��i���9l��Zc�ݸٓ�j� ��(��sn�{V��8��o�"ra�L]c�%X�Rg����{~qYf�Fnrp���(O�����Ϲ�T�� �mUԒѱ��,�4td��∵�5s��ɴ���?�y�4^�%F��Q�i�q+`�B��s�)��L��|_2]�W�?P~���F�VNh��^@�x ���y".X��I��Lf�?S9�@�!v|��eG�B�%&�LA�@>P�P7�%�"�A�� ��8��R�'Q���j3���M�7�ׯsI�7+���'Q�9 ��5qA���� �p�>a7��k�� W��햭HG�ǒT*Qћ���0��(�$a�#Za��J���[p�r �\~h��(DL�*�:� { // 初始化认证状态 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: 'dinvhua', chapterId: '86834815', 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 看小說網 版权所有