跳转到主要内容

第五十七章 太子告状

作者:穿云雀
(�/�d�t�$)> bp&�;�&" Bl$�ID�b5��n�"U�ي#�a�m��� �� ��F`X=1Hn�z{dx��r��-�]���\ALO��".�Зx���?�kIV�e����頑5�_%oƋ9����d�ł�[�-G�P�P:vW���W������݁��Y;�� ��Ύ֍d�@�� m.�u*���S���z>T��`�J���?�~��0� �(9�PY{O�x�۹b*���VgO����::5��¡E�岮<��Х�]�l9���� ϫ��$xo��&�+���s �{z�DXmd�s�s���JS�b���C��|Gw;W��JꚂ�W�����(muV�8ka-�RЦL�*�t��Q-�F���C�'ч��H��saC7נ ����7Xv;��d�ijL��\=��ܵ:{��ͨ/%k#����kP����,&���jPN/ݝ �z;�D���5(�k(}��J��+�_J����}��ƦF��1:J�Vg?�M�?�3��JgH6G)0U �?<���s�T���E���۹.�}�0��Y�;Iq��^ա��Ղ�vɌ�+� ��9�:�Ԓ���n�z��:�}Cr�� �N�O0<�B9�^�hK�J[�Ův��"W��_%G���H�'R��w����em�QO�9V�Z��X472籖�f^�ϐ�9Wp��ȚR�.��p7�Q|�x� �hB-Kμ�������R2�U�$��W���o 5��3^�YR^2����� ���!�E^[L⮸8U�.�i"�a'�̈́l��Iľ��S���TJ����Z_��aZ���ȢǿQk.�`�ѺWɨ� �"J=��B���$j��&QSR�\�&s#o�jɬ���P�����������B_�^�כ\�r9rx��n�Q���S<�@�wr�z>E������$��D�4�H��, �Dr$k����憕w;׎�tI�a�-�1�b�UV��W 6�s�۹j��F��H_�X. �(r���+$�Z�K(� ���8��~�v�?t.g�۹&hg�lu�ڎ������a���;*��ι�3����|;�Ѻ�ĵ:[%n��(�+�zb�v�ƞ�{�\�|��ѺJs�I).Kfl���;�����r�C0��� XQ-8� �� � p��H�;��;zo���t���-� +M�ǘv���]%/���#hC�ku6�Y�ĂD�(xT� )��wb�u �a�-�F������hB]�7rP���J�|GHO�#�X�e�������H���=��#�� ύ��+&�d�����hB��+$TF�%���F��|��Z��VYT�@z;��ۑص:�hT:��E&3F�8V<���^EN�W���#[0*�2e��,(E�89i�3F$kR�\v�$n��Ħ ��j��E��=?{�\.�6�%Et�!�9��T�H_Um=^��Y`O���ٰҙ�={;�����&�ڒ^�� c/�K��`��HXi���\=U����܈���E�K�n52�ɡ����u9��3���-+�%��R=Z�:={�l"~���Q 7�T�&��SI�PC�sF�9^�LRT��j���b�C�.$�Z��{���5��ܑ� Y��lX���7(�AmI|��r�� ���w��=Ŵf�v�����A��0�!}wr�d�g���Y�Eg#�A#��o�H/�8iB͜+Frer�5���!"{���I�]Ht(}Fb1�5ȹ��*b9w��&���<19Y��"Å`�A]���9$bs�J&���1�aF)`@ 1#Ii�`�9-#* @ل  s.���2q��Cʴ�ș螚��^w -�;RW��̀܋��^c�oOسr�뒃�O���JCBZ�DmdXMø P^���d���Fs�'1�1.^�$UY�j>\��A���@VJ@��E��&�Lj#��f�����2&L��Q�*�[\j�j�L�i�]d=(Zd�c!����A p�����C�d� ����G!�����}I�h��X'�TJ�3�����C-iG!�If�e��Bn: �T����Y���p)9Ԩ1���$�5e�`�G$6�d���ԙX��η�(-�;Y1���T�B�*�l��M;�g� .�k3�Y��-H�Z�J�' �cӏyK>����`�R(�3A���y��H��[x�ȩ�G �~��� �ܲ�G�.:J�)��U�WpEV��&�4v�Dr_�y1�z���ʆuL7�u���F��4T64�N�Dd�n��wQ�B)'�]���A�u��,�t�i��h[Voc���KW�Q��1c/C��L"!y�5����P�@j��'�H{O��H�<�� '�C#�?e�o�1�אTO 8K� ���4�Mf�80QCK��h��>�aLj3�*?pC�y��h��� & H�nͮ��%�˗�Q0���#��Q[���g��&c� JED�"V�;jjuJAS𬈺��t X8�-W|��d�2����p{Ҟ� ]�2�i� �������s�� �xߑ1c����'D�} ]�W�c���,T }QT�jƼ;��㘴��(d���,A { // 初始化认证状态 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: 'dtwzzyszyssn', chapterId: '69959848', 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 看小说网 版权所有