跳转到主要内容

第920章 我不是导演

作者:未知
(�/�dc&5�Z 0A p��2 0#���R'�����0�'DX��Z(���S���I.�f@Do�T���a��<�qj�T���ϧ6H�|Vc�U�"��\��rF.�#�'|��gg���y&�'5�@EHYb2B��+�1�R�do�l2�t�Nn��"����8�@�h�ҳO%?��2ldFz�����S�������Gr� �X��{hp �xah��P:�,��X��?/rx<�gCI_��F�J.7��xOx�:���� �SU�,��Fjld/r@�kj$��G^#TVr�lr A�!N�����u�^�0���Ր�M��ͽ�k�\�>��F��d0�Iq?�����.������ C5�\����R���'�� �b�׹���mk c9����d�I��9��νΕÜ �������8Q$��0�t_0Yb2�\/)��[�,q�b�����IY�> y�b��\b2 qp/��H/q�,��� x�g"��T�"� #K��LNq�[�h�I螈�FF�u�!��k9�u1�c�����))6r泉�!��(9Tu�kO��-��^<�龥���dĹZ7ot�,���j�N�N��/P�3 �!vC��NC|�i�a�su<� ��^���z1T��nq�s�,b nYh ��\7�=���\����y x��������ȣt�s��LI���(R Dw<�=:p#�z��t?����� W�4yhp�� t���L5 o�� �JL��_�)�hdtq�e���V]sF.KF�\��^�fTG�[[ Wb2$�QՖI��ײ��.1Yb�ABM����-��\)�)ȿs��N�'@4�;/-ޙ�aw�t��4ĉ��z<����8��U�ѽ.WS5e��g+%�[{�$�D��`�D}��u���n.�b]�tl��$?5Ĥ��7��J3�{ahT�~�:��E������ ��7�C���cScd�S�Lٵ5�7�4�^���ε��Oj��Uיw��(� �?8�����`�{�_�:� �zյA�!cg=�\��у����%Ύ'��Ky�*.y��(:��P)� �k���� �܋İ��`6%�_�5�<��qp��� ����?��_�s�^�� �{Ա�t?�)�^vAВ�����3�=���k��ѕ8[v�:&�Ҍ�ј�>�IK�A �Irl��aM��� ��uAc��ׂ��Ul�}�=C�a�g����jT_:�s�����%�v*����[z�CO%3қ0~��,J�� �j���8�K��#s'�_4�3Y�sI+��B`9̭����j���(Z��,Gn���qld�榑��M��Y��O%%}t�� f�:�����*�2���d-�#���.�Q�&�\R��[O:��)�m��t,��6W�EZ2�,�g�����nmY7!����s��=�K��p� 1�b�M� ʩɚ����/f��9#+҃Nļ���-����ε �у��������M�0��Y��(eW�n���\�� jg-�3�}1��\%Ζ�ZNj5���=��3Q-(k�)�-b//Ĵ�NB��Pp^�U�19��:�Ez�)��dP�F5Cg�vB�)%����Ö�7:�ɓu�q'������U׊�zQo:;hz�i���u]l1/���U��b]S�'�N&���+b^c�/P���ڡ|Q܊c5�7]�6H���KOv� ϸZ{\�pWȮx-���$�\��ȡ�=r� >N@��^��'x���u��� �&c#g�)oA�QE�V]'d��<��e��za����M�s'G#��7ڽ�a*yA`�N-&�/�����\���S?�=��V��`�o����Sɗ�/Gs�G#[#��5���;Q�0^u= }����T�W¦��Xդ�=�E�b����4=L[b���<�@݂2"z(Ў*ԒE�6H�`��Aٯ�A+q�3r�8jA9��x$l�hld�h��7�q*C����ܨB# H�5�cF��B FM��q1�"c�J��Ʋ�,؅�a�)(�`�f"E�&���:%h�6^h���hK���e�1�"�b�V;���K�xu<%ۆ��B�MfV3��Q�8܈逢:qr�s:��1����C2�2Z3'�{�����ZM�K~�!�km/ ��l� i��&�O�&��o r(���aʚy�gUr���4��S�O5J}~ڰr��X�XE!���a�I�Ý� ��{>l����su���f�������h�����Ix2�?^�%�opQi��%?>������\�D֪EC\� 3G�9A��u�k� Ewk�mI��h�,�[ �&�� �r�IT�D/^��k���f�A)�e�+�ϰd�6q�P׆0��A-j�*��Ė�R=��MK� ��E�t�CX�x��4N��v��������.�p]�u�L�Q}�AJ�U,Yh��s����z 0�-O���3SE(�� ZI�yV>��Sـ2��� ��&wP Uم�^Bɖ�8gq5/E�V�B4*{�=��J#l������Y����ʰ"�@!P�j �Y� ���P���D��(ލ���r��t����K¸���,��o�S`�~Kܕ�g��vՄQz4�O�"On�wB��R�t��/����/�:���V�YB@�ItM ��9��u����RѶ^�3@�QFi�:o�D�B�`���L�! �5g��A"pbM�I��Y@n^'n-�.E���]�Dz�i��f�E����$�s������uyY���[���B(��e �-��d�a��\d`��Nx�w[���4⋑ut�D�/��1 t=l�K� �����YB���y�<$&�b�/TV%�G���o��u�(�)w�FYӢʹ.��G=�\��u�c(�zl��<����(�7t��SL�H�������ٳDx�#���D 7\��d�5N3��)1/��gu��-(�'��R��,K��L4d��ˏ�\t�X��?m��\�8O� ;�"'g�6�˃K}L�fy<�c���}��|8���Q�&�A�d��*�xe:�.�K��.�-P�"a�w ����-& ˣ�TT���W���j�� �"�[��BqU�ZUQ��9T=����1�:�w���:�s�I���6Q�T�J��ޒ���-U��Zz� `�x�&�E����՟��-�&w��h��k��&m7k|M�մT����|�.%n�@X��6?>c#�N$���ƿ��]��dy�1^�H����9�AU�I��PUB��Z�K�A� ۱�f�f��������F�A�:��|)�����):���TՅ:��V=�<�?$"�a-��S:�k���}�`h�^[�6��\k ���?Z�90��d�gM� o%�A���8�=�Ͱ��Cd��]Ԕ��k�F�^����JE� f3��W�%j� �Ը��a�������t����-x=&��QhL�� { // 初始化认证状态 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: 'tieshenbingwang', chapterId: '24510266', novelTitle: '贴身兵王', chapterTitle: '第920章 我不是导演', 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 看小说网 版权所有