跳转到主要内容

20.血腥暴虐君王×病弱小可怜庶子(20)

作者:泸酒
(�/�dF&��j+-8D �L��sΕ���?I$�-�H�0�H��a.�nR��0Z�u�㝒�L#��:����!2UUuUrhl�Jڇ�_$G@����ň��̔Wr&^�ќe��I�$�W�^�j�����hs��p��)��Pk�-�J�H����)��CM��~"҅�MKЫi�������OZA�T)l��ň[��W��$��a�O��,;0��T5�V?�v]-C@]-?~T�f�F��\q���G��Ҕ��� $���0�&Ij9y!t?��4=�} uY)�y��Ǘ%#@�h���Mw,K�k9t4���M� J�O��<�+y3SS��[V]� 8��U]��݌��C�%�.v])���D��إ�V�'�w3S򿚖�7��J�����ٸ��I�W˖����;#'i���W���ٛ�"�za��p;��/� |��nf�"^�x3�/ �8q��^ɐ��Kl�73E"];yMu��$k��=��M��������P��u B�Wz���̭�1�Wd��V�c�A��h􉸒�%���=f���|5��ܱ��R�d�r�ě�2y���"ya]���h��/h�Z��O��f��k����w,�G {���`����4�9��3��������JʗT���>U_��r�lnU�F_$s��\�џ�t�y�{��e�p�2�z?�W��)R��2E���´r}�P�;�%s�Ů=�?U/:1w5��d�� �N ��*��Oĭ���Y^���x�uUT,g��~S��H%�1�����l3S(��(%I��ߠXcY�:,y�� �z�����3Uz�!|3Scõֵʺ�ϰ5˕B��f́��d�(Y��!�5v�p��73��:�jHר/�T7�=l�nH�!�f�Гd�\S��t!���Z�[̷��]0񼏊�퍽aw3S!��/�G���/h�(80��!\��hl�9 �4�� �YF���ٸ�¹�OH�@�L>�f�J��]�߉މ>R���c�F���(Ybr)����E �҉�xB� �k�4,��c�V��&_-&���${%�8��5��ݗFІR��~�+F��J���.-��6�w3Sfm�KG���Z��D�2�z3S `���ٛ��xR�f�Ҳ���`]/@�����)ف9� ��B]-_P�4@}!n�rs �$�� ^)�u�f�&ٟ-F��ls?���)��6/A/I�$����@�I ��d^y|��˓�.�ր�+Y�z3S��jd[߃�`}��oy A�f�2UjCד<����G?(\�k��b��j�@��S�^}���Ku��� Ĺ�;� ��/�v�/,'�Ga����/�r�Il1�e�Vo�nx��zd��2�I=�̾���RϺ�獭�|3S%�MW[���T� ���-�fg��@�l�� �O'6M��T����������<����f ��)q�#ؤɓ&�9�9`_J��x��d�d�����L3U�YF{�K~\#I�5�i�э���?F�@'iZ��d�ñc<�����G�G�0�²���L����u{R� `�Y�@p.��L=F���w�n`�u��)�Z�T� N+8]�"ҵhl z!�fT����#،�'�4�ň��M�6@m9��`��E73r�Ak0iy���d�2� � u�r���7IZ�e�C����MOH�܌�T#jz"�ODz�8��M'���I�4�E2��hu1�A{0W�hR�KV��p�����b�/6] �J��N̨�L��b�x�hβ�=�?�W��H�$����%�G��7��t����of��萑I;Qs�F=��@��Ly[;�t���Q\��9���ī��� p��U]  @�@�� l�d��>3e�_��`7q���G�-7=\\ŧ�73u6���R�뛢�H V D�E��?���Ȝ��!�9�bį�73%�j�(���E2*s��9�������LA�����ⓅK��,+��4�x�ꋧ��A��I�9iB���3l������M���Y�C����(nj\�|� ��3��Z?F'}9\��K��'��Er�h�t��O�^������f�L�o�������eF�����6�,[�n���'I^2:�5��X;L�r�$s+� ������L)����6� �b��� �5��-� ���F���֫%�(�̔A" ��{�����؇z!燕W ��p��!�_$?�>%n�hD���[��岺Wr�J��I�K�O��=�r20_����a��F��ʏ�v`�(��}7v�r���L�~�,Z8�l��S�ɧ�I��E[m =F�7�l�Er��3l��tR�2w�Z+�QrH���*�]����asŮM��%WN �q/��pԗV��HC�3Uj}_�x���=�55��&��| �jy��>d�T%�-!s$|(^�ə*��9��?J{%�]K�� �$vXr�W��P�<o儵�5cs��#��ƆKj�$��j�{�$7y=:񛙢tä�wh8�� �A�"}B�F����C�;0�����Z�)��M[��6_-�%W�c`�ie4Ѡ�Hs��s�?��,.�1�c��r�s��e��6tEc�U�of�Bi�I/���b�;D��V8���ū�.&�Ǧ?�n@��y�/�#%Ki�z0��7�t��Lq�D� � ��B}���hu-W(9i��ഁ�����U�1ӕ��/��* �(B� ��$�B!�8T�y`a%C"�@$�� 7����ӝ�x~8�G�MK�u�i����vԼA�uH�����*Q�~K�͡N��Z_/��Eh�c@b@���3�*#�5>`�z,��P[�G_��$Tt��&�F�<��{�d�Y >��2��qE� ����� ;���,9�V�����I���j|���=q<��D� E�S�Ɣ&�Ǎ�\A���'9ī��F&���N���t��+O�(1d,/�<0#��u�l��� �9��R2=JK��#~���1s@�?��z�$y �:R %�ʐI�C�ɝX�G��� �p�4�W}"Q�c��pz���MZ庣� Q�sqبw���=P��7+�֞���,��m�p%w��ЫS�?�H�����L��]^a"��� +�|5 "�X����jE�� -RW���av�YyC M?��3��X��ݛ�UԑO�:a����N�]�?Fa4OW<7�"e����u��LfI1�0򱕆q,(/��B3��޳���rn�L�d}��>�f�/���\�-9}�aO��W��.zV�W?���:���qh��)��B�|+�QF�Ȇ���>�ә�gbJ���M�� AV��x)�g��&}>�������E�r�3e��{K�//>����TJ )=�$}�9H�h�pR�2�v�_�6�6l�PО�����Y�c� J��;��f}�PZ��p]4�₆��{2��U�u�S1t�6l�a$�)c9��W������(�)[��H.��#����g�� ]}~��8�ցC��c9�*Qf�Vec��&G����=y�Jպ��e�GB[��������e���jzOF[4��<���H��O(p��')e���Z<9�� ��E�m�o|����Ca���>�˜�45ע��q�X� _�� 4g�d)f^��3P�����Q���c�ԫ�E�-}�j�D昞�O�n�W����' ��t�zJ�X�"�s���ؖ�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: 'kcfpsgsjj', chapterId: '67554753', novelTitle: '【快穿】反派是个撒娇精', chapterTitle: '20.血腥暴虐君王×病弱小可怜庶子(20)', 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 看小说网 版权所有