跳转到主要内容

第1030章 劝降

作者:未知
(�/�dc'M���0+>0 ������UzU�������P�4��!o��v��,Ydk��3bL]�?f4 ��nT����w.~��ĸ���Lm統I�� O�l f���㠄��{R/ֹ���f���:$�!�ʹ�=��gfZ�MyQ�΃�;M��gP�R���&�:�'���W��A{�ݲl�(<4��L;!��np�g�ێ�w��9�Ӄ<�m~� ��b� �<��W��@���7�c�r��o\/ep�33����}�]mS��p��쭾�_}��S���Y���:v��sG}���x�����)�>� ��������Mx�6vhr����D��D^T�J��̔�x�se��+��lDF� �+�� ��9ܻ�~o8��33���.�ݲl�}�$� �l�4������ֱ9�; <  0@ ��D@�@�@ �S�OI(���,x{� p�8��KP���e��I�W"_1�!���r����!�f�ĸ���v����+ :;O��α})��2:�� �;L���"�/\<���I�%Cػ8���� ��V��p��y%(6�<�r9��w wR6�q� SyE�_}8%W{�<�sl7�'�INb��s�`�>p���5I�gXS:�fʻ �]�f��q�Wj&C�̔�n�~b\�#���<�:v�8ے�����33�@�c���`x�p�s%g����򮂲E�m\v2\rb���w�[������33m���ҁ��õ�'�=�����cױ!�p�lωq ��#�R7���T��Kӯ�W���42rm�>pv��M!;D����x�s��L-kc��{�?@_��'����.����+������i�I�/ʦ&{��)��]�a � ά<�����xf�����j>_|Wb�!nWc��w.��ݸ��\��/W" ��-�����M ��|�8�����&�q.�n�Q���93���7�/�~�3:hz����v�蒙�d�ul��3ӵe�>ݓ����y��:���������&�$����{f� �����)sls�@ʔw;�K��+D�2� ����w��Fd�۞H��vD8/9�B,u�l� �������7 X��rD��+xA��r)scK�� W n0����W�礧POb���E�#2.5��'��,0�}�������)�n�c�?������ ��m�Ģ�M_��؞P��4~6�rpE�հ�m��|���L��?����\S9�qʻR�A�=�;�`���L��3��|.n�)k*?(;3� ��(S2�˲�؋�V��]�� ��-5�P$�"J/i��!�˶0^5��̔��Q�Cqi���۔�j�ױ�C�S���J�e'6g�vO!��q��L����ĚJ��D�M�$�*^,x5�r�f�a솱��\�=|�Rkc�e� �-��<�v�S�5�2�r?�l������-)c@D]��8�]ls�؞�����?�Sn�9�{��*��ƾD|����.�6ȓ(=X���LC'7Q6��a�XS��W��M�:������pm�33�L��Q��_#WL�#|2�D���KP �m������M�.A��_`ϠpJ���K�Y�~�{��T��eW���ܓ��W�Œdm�qt0GF���P�3+3`<��I����E�uA���96��%ͳ�?����Z8/A�u9�r��D٠�+,Pʶ(��>���A{B[|w�] ��� a�ʍ���nhr��Y��Ig� �j�w����C!�p��mP?E��P��W�u"Tyi��J� �(ݞn��~/�"�M���I�\ew(M��%W�C�w�2�E���UaJ#L\d[�b���'����������)_Ʀ� Q��tD]@mW�2Y|y�уe7D?�Ly�C6�k���/�F�B^?���� ���;R��x��W6C����)�S63D�Ʈ�m�d�yi9��G���y��U"y|���/�#ꂅ�f�{��g�<���}�p�5�>��k䙙.�9�=�Qޕ�^��9�{�mD]�Xl�w ��=�]�m��v�Spf���5}���)d���ݗec#ֹ��᝱E�#�A''�w�`�.�@������33�\*�9�e l���l>EJ�)@ &P�|g�����f1ȊK��#Fr�� ����O�]��.ԟ�Fm�5y�~h5�HXb5!"D�>���{j�z��>冼�<��X����._45�Y\�O�(+��u���J� ���L$��@R�3j��἗��4�n2u�TJ��},,�W�9"=ߢɲ��o����A����#ɯ,Tɕ"���Mŋ&�'9êE<;$��x ���������8O�:B�Z^U���d��ŋ�,����� V�\_�[1{=�bD���: �#�h@i{�����9�1g��W���g=Q�-*��e_���{"N�O�.�׷��G�� n6���{ }�Z�Y��;x*9 �7��Y fSء74 p:�ߥM�t��af2�� �T� яπ"�+�� �dz�]/�$�7��<죞���qKX�4��$��_�CO�Ɩ� m����^��ZΔ�MD�Ө~;�A���y��� ���Й���G���ʻŝ�y? -1��� �>���@�¡����]�|�Pp%p�ݍ��"��{Ř��ƅ�뙊�j� F��X%�?%�ۈ�]�h!a=��.=5D��Ϡ�2� �g�J��)��X��/����{]x�B�-�^�-C�K��"f3(��"���N0 F�7c�_� �U�GȻ��U�H���V7��:��P�Zc�/M@FK�BZX@M�=2��;l��&Ҕ9ll��[�젇�,�6}!��ڡ ��m� ?|��^{1���<^/pj��7I"h^��YC�S��?b�4v���b��x���qUs&��i[ h ��j�x�xV lD�N� $�j�1�ۭ��� �$�%�})���C�d�,+B� ďo^���oX[ ʋ_��.~�#R���rv#�P c���Wh�*�9�5�����6L�ȅ���C��"j)������eq0� L��7��M�88K8�C�I��ZVt�b� x�_q�uX�p���Nn0�Y/��5Xc� А'�gH��!��r������[�Q���&e��X��o+����Pu3ڃ�u|H�4��t�t��w���v�O��L��t٨W�ķZ�LC��H�d�p�L��/��`����R��MT�T��DH� ҈XoF���8�tEN �s��TA+)�}-ƌ[ǁ5E${j��F��ۏD"� �;��R�����\ݷ(Mn��A��zv�a/�����dÕ*�{���O0���3�%����7 �,� �� +͚~��L���h:yl�p����~��U}%�P`�8�FO�v����Q�/@�N���l�^�7p,���&~DM"(��B��!���ܛ�\��R|����;��6�W� �d�bM��X���T { // 初始化认证状态 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: 'liudaoxianzun', chapterId: '1670727', novelTitle: '六道仙尊', chapterTitle: '第1030章 劝降', 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 看小说网 版权所有