跳转到主要内容

第五十九章叶辰是我兄弟

作者:海陈
(�/�d�Mo�ȼ%=@�h%�{��"�̠���:�D���vLZ�"A�:����m(��7�,�h�IA��P�FHF�{��rxå�G��X�$�d}��t��'��mEɱ�v��@רW|�Y¼-�O� e��Z�l� ��\���A�{lW� �������t.��u���rO�my_�>�>$��l�l'|�=G��3_n:y8���D�l��_��x��TQ����0OuXT� ��G+�<<��僱�v>��-�걛��7$����C�/���e��x=����s�����.A>|#��`즣��}NuXR�e�#���j;$:�sсGɏ���nJ���E�;��H�g�n/ \�������|��c7%a��L9s�6cB��6 \se��&N�ܔq�J�/ۖm���ؔ3S��&_�]��c��J��p�6�s�r43o�;���Ht7�L�(�n*:䱔�mI��MK��y{8��I�-gN0��v��l�&gWf���2�aD]�PE�S�YB��0��z��G�׺��$�� ��D]��<����� ���i�/�/��',���9��{J���ܕ{�lI�0W�lWN��)g6�ߠ`� �����I�!�ض���rH��̌��2v֕�r��z�>`�����j�zX={�GA? ���!�(vӮ��6��ɝR�$dKeM}��C��]����uG�[�&�8�:l�|"2䓐��Z ��2��L},cy��i���~2��=|��aD����O���:���{GC�ݴ$�X��sG�!��戺��0W=b�;�<�䐫mGf�5��%e� >i2�a�࿅+��i�yH�l���Ƙ}y4qf6�aʙ%�s&�5���%e/D�:<�|ra�� �c.�)�Sު���ƪg����!T�N5{�!T�%\�MQXr��{즛�)g6��0c75E�=�Lub��OB�8^T��M�3p(f�𧛊���"S>)�<���a�� ���l<�x�k��$�~��>@.Id�Û�9$O0�C�kl� �I�'�G����x�3۞�9��B6��b)K2�$d3�5�9 ��K�q0vӍ(o�|�]K�_"������gD����I���� h6|e��GT�"�R��6�t�:I6"��4�N�A뒲K�O�|���>R���2�?���M��I����L"�j�豛b*~q8dB3���ް��A1fk�W%���p` é�d������M�#�c& ��ǘ Z�4�Ę� ��(��9S���¹3s<���p��T�Pq즠0O��N����=�o�7$���lƙ/c#�]�^�F�(s즜�c�䐫�6�l�ñ�u�I�E�Aūm��[�������m !WȮ��7��|^=vӭz �=�l��ӱ�*���3�ly�@A5 77�4ۤmLe:�kl�,��C�E�O���X�x��$�*��Ud�b��ß��#d�(ز�1P�e�����!s���Ò� sc��MJ^l�H�W$eg���?glNP�Þ��3 ?+�ݔ�p���;4��( `Q ��$��DA �@@�@wӌ#���+��l��c7=�ݦ:<�|�P�,��L������)g��dx��nc�=x���R�f"s�/6MЅ�Q/:0�� ۖ��M#�G@x�����n*�㹅Y���X��&.�RQřIٜx�+�h�)2H��#d�&�Ÿ�n�a¢�ϯQ��í,���� .1��nmg&h��d�C�7�9r�� FІP��3?��@ߪ�c7 ��ܶ������͉�g[�T�njk�X�*�Y�Mvxh�=�n)�3w�, 3�z�s�1Q�=�s�;l�-�d7d�cۜ4�!��WW%�������$�m��k�$�1���D5�6Xa�c蒲3�K��`ߙ�"��`A�W ��>i�e��Rr�ȸ��䒲��Pm�z�"[}D`���[��=SƘz8�𶀱�n�Wە�-S]0�7�YT�!ѱ�z�{�$fк��1��.�L��M"�m+8�~y��&[=lRpy�{I��g n-|���yf��pe�E��M�?P@��4ߪ_�!�3��#4>mr��1�q��%̔3g@�Mސ����lJEԁΨqa�0# &!�0�jl0 !H�@̀���aϫZ_����5�ݩ�|@t�$�o�d��[�� ��}v4(��P��^��%�D��f,\�d4��DF;��L�� ��,a�G�^�%n���VU(Ѯ�#�ǀT�A4�q�=O�K12� �S��%��:��K�8#�`�5!��>Ԍ����2ZU �E�>�)�q� 1E>s`�Z�!O�fc۬�]��l��xpg�k91q�Au "����P��w�z�� �� ���g�.��:�ծs8-�2@9f�@,��9��-�3�>�v"S)��J�pD9R���� ����k�$}&Gzd ����f�0оt�d���(�AA,t�P�|CO;`���i�q�� d��c�M�˘��a�t�/9���q��&(3����"�ONd�7���ŷ'.J�$YL��c�n%������ �?r����d��~GL� ���� �ܑ Z�<��ޓuS�m^j"�.�Çn��*oS�������~r��"Of�އӼ�ʞ�m_\!7$�jMc�'X�Zcp϶� �uCΈh�o��g��=��==Q�K�I��_9!���7}Q%b�m\X��2&ܢ�דu *�����C�����\ŦQ1���0X!g�W$��Nhԡk*�9�i�ʟ� /\6JQ:��D��,9���އ�cT�A\�%�� c�v�=͞�&������€OxC��pk�[ �$�E��h�`�1F ���K��?�+ն\ �pa̧�^O���I�#挿�ɞU+T�ڜ�=�B����t0nGxEv]��[ { // 初始化认证状态 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: 'lingtianshenzun', chapterId: '71566992', 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 看小说网 版权所有