跳转到主要内容

第175章再见

作者:淳木
(�/�d9(�����-=0 ������E~ kI�c䴊lֱ�B,^�Q^o�u `�L�����?0��;�1� W���V����y&@<�<�\,�2����"�ڮF�ŗ ��"�(t�+&���a�%�/Fw��9H��vẼ��@,�~�'��E��0϶|��U������C�O�+|�"Oj�$;jo�Wง�yf��QoR��65�b�� c���-k{�x�p��Gr/�B� ����B�&s1s�6��b?胔?�6\�㎱9����r�ژ����s�a#O�C&�x�9%�^���2`k�S{��� �� V�� V�u�]Rp � �)&x���9��A�z��1�{c_�|#���=�^�/b_�2-٪m9jk�|1r�s��(� �> }�yv��{�[�o?t�d��E�?-S�-ȶ6�� � �$2�M����1�����#�+�F��9�=J����qA�:�CxD��'�:��KԽ,�O��q#�c�G������զ�+�Nk��E���a���z8�,܋�%��!!�2���� ���zk[�x���m[�D]��"� K�����������n��<�'���fh2�=�r�%�^(���GB�8>��נ���6=-4L�NI��o(�"� �ce�^J�+�� �o2Om�S�bb�B�d!�e�I�/��3D"v�x�z�+6X��r'䔈k֩�:+�p�?-�@���"��� K��nq7q����bbZ[���L`Q��Cl�Xm��%�E ��s�zLه�p����j�(�yV�7Ħ���e�g��-|��_�y}^��hA�����'�Ł#� c�_�^Q?���� ��$|j�!.~Բ��!�BW 9�C_z~��Ub71� �ڠ��rR>dq�#�����]D�R�?�e���__�O�_8^&��� �{�.�� ��S�A=��I �ȳSb� ��„� ��H㯋�'|���y)r;�t-pq-�8�A�<)x`���_L����<�zQ�N^���v5]>$� �<0�<`@��V���@ 0� 0@< � l�Y���!c �І���]ra�.������w�p��wE�;jWL����(�&���A ��|zK�� � �<�0��<�T�i����[���Ǔ,��9�� �_�\Y��Ā%c�WS���gA��i�g��!�Ccʾ�3����%� RS@ܙ}�'�݅������x��yzc�W ���s�+����̹G�dj�� *���;|��<=�Őn�����Z�/��B�A�����^� �t���n���s��+zr�nt5�'L� ��^h\L��18�Ӗ�C¥�KҲ%��-�>?�2wQ6��� �7�\qO��CՋ�K)�p�0�]�rZ5٪M�+"J�6X��@숸��\�ȓ�y�y��])|���� �f&[�5�� ~ ]q�Ӗ+�G��t�`�#�>#-�> N�7/�ri��i�E�)�ģ�9dc�V��0�ȳ�@];��<7 [�v�l��O� �0F��8��� �I��-#��MZoenqOmW�S��9eld�ش\��\�6�]���v㕌�0�i]쉶�;�R�Ŕ��-�~�' � �\�ej��Ǘ�fL���"�Ȯ� �܃�k�;jk'��b�H�'yn5>�aI&����ǔ�y}�t�'#\�\Z;cd��M F� ��sH��v)��(y�"�L�2�/\w����z�cH A�L`��]ɖ;�+c����3 �$ș)� C2�y��� I5�T��&AwDմбSJ�1���u}�M���O�X������l��χ�P�?��Ś�j�b,�2j�23�"Ÿ�+ң�/��A�v���P ���<����<1�Q��eE&C�Ɉ����u �� �*�:f#���]��S<����5ď@ti�C;��\�c&�����\oQk�d�w�WC���M��.T�u�*G���>WtPz!D4��o�'/8э�A�\�:���EX��+=�BM�|����PƱM&2������xXh�����*yhv����Ǧ�m=�fC?[Q�U���C��](.���P4���m�I�R;�ن�a|!2&�e*�6BeK}���$0���E�E��<�h�%O�k�Vi�r���z��3;�\F0����Bh�h�c�O�)��?KP���[3�p h�:˄{�Y8��7QE?�ey�@Ww���I1�+�W�����-�+�\��,{p��$��O8�kPR�( H��[�a}������u��^�y8��#�\H�\ג��4�aw%�_���D�9��?@j�lZ"� �?�h!��m�%Z�Ub�E��%cb�yHP����C��P�<�WB�*RE��Dh��{�(23�m/���%�x��C�%`�&�D��"v��v��ۿ�@a�ЄF�‰UQ�AdQ�8�� w� �?E��B��łᫍ�h��`���P�~� ggSF`6��Һ:��z�AC=�A���t<�}�j������ �q͙��) 6<F�MŌC^ts_MN��U(S��..��L fB:i����<5>�#.��6���*��VO��:�-Lq|�C&���P_,���[��$��@��+�Yh����C��m�y"D�Z�|�4�p}��!\�R����ν/�u��8���-5�� J ��&G��1��t��%틹\�H��*#3B�Y��j��͹D�#��y`,Qo��U�B�IᓱV�-��"2tJS [�� �Ԏ� 2�-oH�N]�{B�\m!w�^�*G���#�� e��S �����7�d%\�[�1,��3� <2��x��豓5�>�5. v!�H�f��!��s`�Q-ީ�����(b �����L@���x9�c�x�[$R��6�8�8gR�y8:(V��n�REC�L!���f�|� �Ă�++�|��Fn�D�.$�F��@�`,;�y�iKV�^ձ���C~�?A���M�[�<�EM�Y��Q��}�1eʵ�P�2 ��5X�`W睐p8+9<����`A����.�(����x������ P&�<��\��8?C�NM���0�ғ��� ����I�m$�bF1*?��[9�{jOwH���$z�N�,kD�T�}ֹ74������F��D��OG�Wa,���Q��@� ��<�Z C�7v�yE��m�%t����:�Y�Z��"��P3/ ���e��d�E�j��� O�=� ����� �RlG6��1+iL��Ѻ�=eK���ՅQ�;�*��<|.�+�Y3C��}$�&ɼt&��m� U�-��u �`�}���.����G�E��)gv��H��w�n"��R { // 初始化认证状态 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: 'ybxxjrhm', chapterId: '70533598', novelTitle: '一不小心嫁入豪门', chapterTitle: '第175章再见', 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 看小说网 版权所有