跳转到主要內容

第63章 东方小子

作者:推窗望岳
(�/�d� *�*9@��H�;�0?3b����5�@p�%���[%�R���5�+s3#tL�Y��*F�����/ϯ�;�t��_�r�2b^ '�ϵ�W.H�g�����:�hdq�y}f�g�X-G���4K $���s���k2�g�D锐���=}�đ%�[�M@�&C����c�l,��8VK�e�Ƣ=��:h�f��(Du����D����=�,v�ji*ݐ}� �e�i�ؽ�m r_�,V���ʊ�&,n�cQ�?���gP�օ�~0�F�Y����VGD���Ҭ躓��t�Ҙ���N1[7�u/!��}f�Ҟ����RoD�&$�f"_&6r�%���H���Z~��^K��� �O�#�k�/�ވ�!ٌ2�q蹥ٍȚ�3c��jY7+b�׽T�nD�.VKQȔ��e�e� (���(w�^(p ��`Y�b��䜍RȤ����� �%h;Vˑq���l�xA�mw��y����2޴u�ԢC�3�x��!ʓ2%�ȗ�"�w�h�A�@b g�/R#�;\���rc�8�2�J�ύ\�(���F��@nm��ki��l�t=K�SBV����t�rNuY7�6��}L �e�x�r��Z����Sw���� ��Z.L-��ɹҳ� ̙p@d&���d7"<7�li6r�6�j��n�����,m/VK���w('@���M/]�s �e���x Ȏ��yy=w(HK����`=K�+��s�Ջ�碻L3B��w�� �z�YK���R�]Xwr��s9����1]l^�rH����Q��� M��Ψ���Ry��a�.}��>>U����gi�r�u w*_�o�&@T b�� ȓ٨����Pp3[��V�ُ�M� *�I��|^��r��ƛJ����]F�BA�I,BvK���$���󪾀��u�\wSY��e���M�#<��Y���?�ؼ��_�!'寻h�\�3�>x������Կ�ο���r�}�e� �'� �[�M� R�ƹ��Z����_l�Ih�uG��x�pm���2q��5�+ nA �#����el��EȽ�B;��j:��dv����E��h���t�������s#�{*�=.vQ�(>���8V� ɚJ?p���,-VdB�J���C|��,�Ig(�Z��,mi�˴r����s�! )^,H���M���*X�@<%䙱�¥P��%X��eO CL�tقI[��\���Y�t�T5'���1�0R���?D�Z�}��23hMg���7K�偡߄���t�rd� F{��j99��jK���skMgM�c@^lMJ����b�,`����4+�ƀQ�h��i�b�'���]2xDd�ZFD��nD��6r5�Y���Ւ򡶥مM�1~P��,f��� �U�l� jK�cw7ʥ�G���U�j;�0�mP^|.g��Y��|LZ2rb�8JkpkSvG�~��A�2^��z�!��q��Ό�j �� ʉ� H_�,$s�ugՙٖ�E�>v�^l}�W��e�ؼ!��f�Ŋ��n_E�����]��M,�r�2jҌ�Mٱy1�u��B���rD�=*�M��t^���,�l 8g@��W�:7d)[�E(�'��$�t�A[��Qo0W0��M� ��e���pԜSs ��8q,dY�����r��A�Z��d��g3�U=�pd�Q�8���Y��3/v�ڳtF�;q����4VK��<��eA��� U�tFY���k���T<�Z������nz!dˊ�k*��lA�t@>��%�"�:O�LɎ���ȩ��.V��i��8�s�h ��,�v�m�p4VK��Ͻ�MlΠ n?�<����,} ��Ih��ߦ-͊�<�2^DȈ�7M6���� ��}, 9r5�pE!oD&a.�H�YA��R3D�n�y} D�}\'y05��Z�t7��$<^'i*=��%~0�r�Ό�T�Y�*]�,\�b@� �wfw�6����{\��Bv��%��n�Ym���(�=T '߀\���cI�� i�rHq'� H�n6<�T�6/f���3� �'�7���W�c��[g7��<��&��|i�������}\A,͚��֞�;V�м ��h����H��Â)��*��0�!� �`�dj2(DM��Y�� �@p���ş���=7sʓqw?�V/���I��)�����M��A�sň����c���BHy~v�0�!$�� �� a��+I:��<��xX��s��$'�v���0�{ ��I���7t���� f.#_N��d��Q��5��]�65skJ$�0��J,�%R"3h&[< �p�G��.%F��V�c ��@�C)�k�B�B�K��4>�_ �H�f2kٛN�%(��׃Ǐ�KH�`����"f�^��dE �\ V#�*|4ͷ�֭�79q�9F��.0׻l�i��M���*/��7}���i�1�4)̔o�Z��-KUH*�.b���ms��~��C����Y��"��X�>�d�3495�A�MM`��i"�)�(�E`șWq\���p�(�M�C@������sOv�*ц1 � I��l%i#��'����ü�5)%�ޙs�%Yx:� %�BSĚ��6�S�e� k��y9��N���"����|*\ےf�'��+s,�L����3��S*���(���r�̫�!3�����8����7E�� o�+3z�;�H $Dq����=���,�yMPB��:xXStŽm5H�<5jA����06l\�{ g�5��x2y�c�m;��nȎ���{&�#ir�r���p�"e�]ѽM#U�����p�1+�_��F��:�(C 2|�,�a�n˰�D�#I7k<��"����m���#��F��y;�Q mш���N��z������b��m�B̓_��� =��MC�+�dr�+�����O�Y��T�Ea(Eg�����|����o�6��s4g���g� �1��� �p�xt���@ �%��CL~uJ�Ȃtl)8�b�� { // 初始化认证状态 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: 'snyfswpbqyntsm', chapterId: '17315314', novelTitle: '是你要分手,我平步青云你舔什么', chapterTitle: '第63章 东方小子', 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 看小說網 版权所有