跳转到主要內容

奶白的幽灵

作者:周十七
(�/�d�(����4:@'@Uh%�{w��c��4[�ݬ��FP�_�z��I��"[���Dk l��K��e"�:57���Qyuh���Ȋ��7�A�D��y�2�\.~}]n� �� ~mq�5蘸��G����|fYZ����%&w5a���:ay�:�u���������#"����� HfT��)�C�mq��?�${�A>�C��+Kce��,w5a�^�Z˜Y��8oW��а�&c��\>��yn�M�g� Td�N�7H O�,^ThQ�-W_K6��t�i��'[�F=�_�%�Ar�{P� .G�S�s�W e�U����z��ʴ4@��2��H�]M�ʴA�y�Ţ1 r4V����8���OD~Yތ�Ar���P�L1Z�7H�P.��b�k]@� (���y�'�q���r�L/��ؘ���*�+��ȩ�7�����Z�����2U,:!r�Ӑ�,�P.V�4��u�q^ � P �s7�˱���=q�����ͦҢ�'� �W���JC�G>���e�A�n���\�3���ˍL��i�re�!# P�ѣe �-ͩ�-��+���G�#���th��,��˨� t,��3 +������Bbc�b�D�&��n$,#���M��j�yêC�;�f�IE����,s�TZrF�@ZA�ż�l�e����Z�����FT�B4�Ȼ�ex1Zc�F8�l�L#�;���)�p��eəJK�8/V���'���@O�8o�hSBê��+%8\��95B�3�E�ZGDG�pZ � ���+t��Z]��"}vN-�Z�Fm���o � o�>"�a�]�3�Zc6�F� 䘮9Z]��#�Ľ�h�L�Q�#k,W,S �k�郯ϩ��;P@%���� m�{ ��ˋ$^-�_F�x\Ҽ �'n�il��֡Z��cZS#+,�',��vF�����s�*\���#��A���A�A�o��� ���y�r�L-�T�V����Ȥ�+�7�50/��O��3�#�;�r>�zn��Z�hY:;ҽ����e�觱��_� ��i �ͯ�QO�GB�c&w� �rt8V� J]��չ�ˡCce*�<��l���'~��T�����X����S#**~� tx$6��� �.\.��̲�d�L=�"������nJ(�5�2�������"؞��2 p����x�U��A�H�n�^\�Z�X��\�b�/�V��ï�,�AA�&�.7�}���)��aé�+�k�5V�Z[D :�]Kj���.H�{�Y�pτ{��1�& �Hϑ����%&S#s��T�!��"hX�HX��X�6@�@H^�q�kF�M�2*/��t��ޔPF嘂�_[:���|�v��h a�����{���8PMt8W���W!����������H��k�O�A�pA�ݰ�ͱ݈t6W�:�P�L�mC٠�E�[��r9�ް�j����X�.��,0F�]MYN�P a�����,G�F�lhV@��M �@� B�ա�Q�*�y�E,��Ӗ�C�G6?�8(k[Q#7H��R8.v@�H>��YFH���{C�����f��й�/��܏��-Xn�@+�v�5��;!�P�85rh�����UH:\�u��ѦtA�rBd�jD�s��y�t���e����r��:�ʴZF��j�|�]��Pm>�z�z��:]-�e�^�^���^h~N�8/�k��uz9ӹx ��<"SUO>�-z�.��P����C���j�Qu��:D�����ex�ڄ4�k���g����L�/����MW3�+45���yXu����ÿ��Tf�� �-#g���D^ ;�zO���^�A�5Ƞ\�#"o(7�8V��5X���i~-QT|�Ľfr�Ӡ�"+D&���7�꽕�ɠ֙�O��·Q�P��.�^*��]SB5�����2-\.#t��p��ӡ+� Hn��Y��\Gv�/G��_�kƶ��T�9uD�n��ix Z#��`ь�A�g���֚�˵:ip���]��#�����Z�*�Ң��g��X~ �������]G��+Ӆ�����&�_k*�Y�&}4]�yk�ʱ2 ��"8�P� ��.`�ޓ��kL�u�\E1][��Y. ��2��7�F(�9�|1�:��$��å�ct�<��ǫ��w5!�sޖmJ�q^���yf�G���Hf���q�P���㼙J+Ψ���J�O�2e��Y�2j��=aP�LC�S6��T$�ljy���%� ��5�#I���Y�tX�� �U:�<�^c9T��CF~�s�l�A25N�;�[-�Ыѭ�7 �Y��qd�k@�;���N��5��VwN-�9xІ&D&-��T�)�vդ6���ɀ祝="g:w�|� �<�����țJ[����k��uh�n��|��n��.��]��mo��D��oΆ�\i-)��J��׸�>a��}�:���hO�c�1ou�h|�X�׊"�Z>4 /1�A��G>�Z����0y3^�Е�55r���5� �Cê* �<���5��jԐ� B���,@�"ؗep�a�3��\Oؙ�{ �Y������ ��4�ª��wڝ�/\.�����1]� _%���r^xIEo�N,����Z�"_����hF��KL�<�L�3�fT�R##�kq��|F�Ar����X�b��L��=��2-����d�3qϨ��<��3�1D������A�;�K� �t8��t-���O��>�q�!��_{��Tz���beZ��+�0z��6���X��n\�к3�Ψ+/=��Ǻ��C_ ��6��%�z�>[�Fq�‚f�slW��A�o���Tb�'��y�H ���� �'9�ID/8��\�/ϗ�����i]-+];7-z r��]w'�E�ި"3 �%F�̘ ��2 ��CU�@�a-D"R@dDP�Q�`[�Ί��Y��ߧ�����ӷ����6�M�,m����t���a���aAC��R���f"ߔs�Z@�B7[�̓Q%7k���fFȝ��zN3C᪪CU�d����w�&F��wiom,EQ���4��j�k �|6��Cm�i����E�C�i� UZ$����h�X.T�� [�J!Tm�7-b�-.���=8;�I�$^S4FF<��5�|����=���D��Lhr(��z� ����l�t��"�[�2ak�0�a@�}3�ׄΩ��%�Q(�C�oT4����i� ��>JFK0�+=�a�Դ��-)#� g�T�Rî�d�BA�]��^���X� b��s��w-h��^&�8@���JG�/���.yi�şd����P�oy֝E�cv�i�"�$*P��1�0�5� �Z�"iB�����'�< �te�ј��!UJ� H�!� �i[h�If�!W�p���yP�vzh�Aܙh�;�H'��ڙ59L?� �sߪ�Npp�J��PM��Q�\ߘ� �=����#X�o�LK��3�k@a�����>�B�7�Zz���3,��Y�'PoG�<�詹��c�h�dzKY���2�0E���/���D-$LvC� ���� p(���zft�7�<�!��9�1���$Z�4ح�(H { // 初始化认证状态 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: 'hunbujidai', chapterId: '12972171', 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 看小說網 版权所有