跳转到主要內容

第969章 哪有什么腐国?(求订阅)

作者:未知
(�/�d�M�:�0C 0ELH���NUUUE �5�!5�̆� u�dж��"$ ���pLe_:=�����G^���Q�����h� .��a��n̾!�i����ɢ��� �Be�[]w �D�T�q<������x����5��p� �X�N� � �hm�ǭG��[�:�� z�c�=�)�ތv3Z�Ĝ6�e�QYA#(���?� � �i0j�u-�"OǴ*{����]J7�$1��ĭB>P�y~��6K��iq=�|Q�����f�̽��N�0)����%�g��^��e��Y��N��t��t��i��!U�*/@�� ǝ6[.�@�����+������i� �w�&9VS� /Ӟ�-f�b�,=mS���B�о O���r�Ҏ �]~����"O��ު���@:��q4b�l29�6���;�������\I� 26Sy����G�� �d[H�XM`u���YMuFW���Y ��T~��faKG���*{���M�g�6���� ��밠*cJW�\��"�i�c�7�i��IT�.��k�ʴ�1�[r�$12N4�q����H�*o���A� �����m�.V9 ���bvD� �YQu�ʋL?2~Ǵ{�{,-v�������!G:Ci�T�i���K�Tu�¬T� _8pE�-1�"�2�Yr=��P�$@���  @���fb#� X �<0@@� `��� @� h@`u ��?*7��3ZƢ"O���;*sگ��J?/� 9�=m�"O �%�6�}w���k�r�Ն9�N�\�]y�l� ����%|�h� �/��M=mߥ/�;m��Y�{�ùC�3�-�^;���,Ʋ �-y�B�չy2�M\���6k��^��k�����v.�r��:$<_d:���յ�h�dL�^�4�!2'�œ6 ��!<�zɽ22�j��C���� �"ϱ2yX���V�uM��@@+?‹�"�ĥ��Kw*�'�K����v����� z�cXO�X�eZl�`+�z����tƣ��&X]�.��a�)��ah��!JG�S�odE�E����,M+�8�m�e��{�",�(�T�;�S�� ��p�F�V!�ra�8K+�biz�BVYĸ�� �+�G�m���L�̊�ؕOO���7!să$�_�=� ���9m�V�&ߥ7!�Μ6{Ql��]ql<��O=����#��W��]m�KW�O��Fː`�4C�y��"OQ��zYO�-��y���+�L�& V��ܠ�� �H~0��v���� G`�y��%M:�B� m�#�� �_�iu}}�p� � �{)݇� g �3/�w8�6 V'Y]..�ȕ�5��1/��`f�����G���Ŭ8K�o��@����$�FN�nu� ���ߥ���R5#��u�k��M�%��%^.���-\׍�˅y��edK�x������>*� ���c��a�HgH0��4Ә�E�uy��b�7!s�G��u cN��8-#5�ACo:[��-�x��V�^�X=m�¨_�Q�襗�%S:A#D��x���=A� �tP^ v�8E�J�*�4m�13Ƚ$�����Ҋ1A�C��:w�}���W���ț�>w��Eo�0![!���nX؅�툧�E��`���z��]S"{�dM3�^S��رy� .������y2�7llE������Y m��g��_(�"���a�䙩L�(}}�a؆�!��N���u��!w�P;*x�Co&�f�� P��y�����*w8���ceG��f�������*[��P�I�� !"0K��4�Mg7�K��y�6��A�6ڍ���LI�8%�m�U�|�Q�SjF g\��]�!Z�:�ʺ�䎺���/S-%�軗��|Y0����PSZ�â�u�]aQ�(�4CהȚ�#���E���8�-�5 6mv��(]O��6v�44�lu]G��La�CӉy\�Pdo�Vm�j��6��$��T��h\Jd��R�y�׷�����K_ S��ݫ�Kݰ,�X̮�䱘��y~��ʣ�c��d�����������A�fL �І2@0$����i-Ds�@@Q�v`�����G�fJ-��w�ښ�!U |�o����p�@����� Kc ��:,^z�%H3 ��u�W�So����^��ɢJ��ºޛF(�`���cXw}v ��s�x�x��n���Ȋ�uȡҥl���t���_���Њ=j���⊕ȋ���p��+0Dq3�g;1��d�ხg*�A$2�6�r�?<ky=~l���]�T���n�&A#�rii��,�׫6�mH�O�6��Vy�2"� iڪ@kKpCS�b^���Ԍ?񋍰�L0�<��$ Uş4 ��`�S�c�v3�FIb��c�[h%���|���/��uho�u ��>.���.����p*�Hv1=s���g�:��z �Ku� �lj�Ɍ� z�Yg�Pp��{���z.��H��[毿�L�?Ը�%�4�2Y��\X{*W�²�&��ӌD`ˀW���A��y�p���$��� ��ڱ9� �)���eK����N���ۿ"]O+��]��R�ɽ����6z���������A'�t����2�زfE�db)w� ��������f�� �� �m &�R�>�\WRW�"Qim���0 /uW��o�!�v� E`��#cpլP �id��X���v�@���d�؀��T�RdN���P-��/� { // 初始化认证状态 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: 'qjdmc', chapterId: '13022809', novelTitle: '抢救大明朝', chapterTitle: '第969章 哪有什么腐国?(求订阅)', 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 看小說網 版权所有