跳转到主要內容

第4章 你的爱情,是给你暖床

作者:未知
(�/�d��n���%@0 ��%�{��"��7���(���`4�`�_� BP�.�� YR�*l�b�'�`lb��� g WEJMu?&��r�� ���S�Ģx�G;<��r�Hl��Q���ٹ>PA;;�o���i{����o�����Q���Q���)�꾁yE�$� ��(Y��h��\�~�:�꾡��.�9:��>�{���\��wԝ��\���!�\z+�'�'�^� I���Gbk�1�1�;u:����\?�K^���[a�:6��W�m�\���dQ�L{,o��<9����ag U�v���5�G�TS�;�mn���e˹b��Ԍ�v'��X9�lMI�] �ٹJLfH�V>���Q���%&g��H���\��K��7;W���]�C�5˔�f�:*��q��^�&��"m��J��A���&ޠ� D[���ڴLu��H?l�)b3E�w���y��.E��~�u�̂���A=�]N��0e~^2����p�s��Y���X��E���S�/»Q�Y�,���ε���J?DT�ɲC�7��)�a� ��LN;���Qcޏ�n���+�U�ҐS��jE�d�Xu���厺ٹ������L�L_��&�E����ʖt~A�b~�yv� UOuA�����@��*�@�  D@� @�`�LA� "0 �n�Luo�X�SQ�v|�;}?V�Ko&�1���M�y�o�9�G��!��Kk��9�x�9��b�g�>�}%�Q댡�`�������!>3=Y>��49Q?U',���E�\�5K��GBoy�����C}���0�Z��%k,��Y�y�p5�(�T��ǂg��`��/���I �{QB�,_e����&)<;W����E�!�X&�.E>c=���-����KLƼ�P����ĩ����|a���Uc�� Bov��1��c�!J=:8�狒C�lj�(9uC�Gb/J6�a1y��s�s%�g�8�|J�m4�('��8���Ey�#�̝�'3ٹN�����8ײd��7Et&�8Q��5��1T�{��'��\��KwQ2��ٹzH~z]�(�>|Dr��ٹZ��B��?@nm�2 ���/��x=�+1yar�sA���I�+��2*ՙ�xH�!��ьI�tDtN�T�eɥ�eY�zQr�k�ר�>L�`z����?����s�t+Ww"�Y�m ��%���\P���:�Q9�4���5�(��{����U�����,s�ɶ,O�)9;W� ʖ��$Ԛ#����fT�xx�������S2��~X�``���t5�%� ۜk�7EL�o b9f����T�j��R�/J��sL��`#L`�[�,o 5��rGk�;ㅠ|A�r���?%s� ��,w�pޠ�� ʂ;8��X����G��l)� �LԎחO�$��=V�6|v�������Qk�䏭��%��.MQhKR��<���N���܁�rgy! m�YK �"���� }�kK�3���+FQ��#l:�ܬZ��_)kV�&K.lMu��p�2���֘��2�PG���L�=��7�S�Rr�S���ɏ�! �tte��?���<��f-��8�pk���Ow'w��,��A��4A�ʩ�'5d>���r�LFشX5V�����j��Q��L��uCYK{��d�,�Qy�-Jn��5Zbrw��H;;W��S�+�֜�A.�,׈ 7<[�"����΢��2)���F`\�r���{ ����S��JhM�^�'`�HfP��j̧N Z� ��ZH�l]2Z�<�U���7{Hx$���G�I����aĩ�I�j�d˹v��H����|AYar �%��=�"�ES�o�O �R���"�a!������;ٹ>�1�,B?�Z�\=YYV��@}��5��*��-ecD��eY�l�>���Ctjv��A �p�(e��G��}��i�:�9yq��Z�tfq�%�� ���C�bd��ǟ,g�V�-1�At�n / ��9'����)�+�]��xK�%3�����(���.]���Ǩ��d����K�`nBt�� YC,���'�xG�KL^@�<��y:^��9_�l9W�X����b[c��"��zQ2�� �cx��虭��G%��5eP%� ��Be��{��~��[�'ѓ�3Q9�v����b�'���ă�;��fyWuWuv��#`��T��A&���%��,g��ε�j�m�sT�ڭA d�Y��tA}5)�lk��ɲB;8������9���7E,J&�nbù����Vq��=�/h}�ݙ �)�Dz�s�DU�����!��- $w�~T>}�)nv���r���=�� �cx-纨��^��?U{&ό�����`S̷壗s�p��-u7�P����{��~>�Nue ���d��p!���HL5�S^Fz5���� ��*n�uErc�!�˨1b�02$@� !�0�Z�4S!d��)��h���,�@�!����USL�e5o̴�FR �@D-��� �#~�����q��R��7�S��0B!�j��ڔ�N��6Ҧbk�c�����V���shj'x�r�F��c^�5�%υ�D&�v�)��j�E�S�'c^N�f"I�U=�x nB�m�e�/�� �� ���I,�8K�z/��a�U����D�� n[gTXY-+�%6��������8�Gw3 ֕��˶ �7 �N@�9|��ݜfP��RM<��Nڝ�t��%)|�3�"%I'6�� H��&���С;��� {uh:y�>�O(�fca���G�rW~p�pB*����2$�W����e�,BYq�8� MH� r��:�PR�i���G���*������ �E��%A�N�~θF�Pg� ��n��/�@�9��XXS��{3�;�ȿ� ;A+�_x�����#/������1@|����4�2 �<�^��;�v`�����C����>��˥c�P\��BƔk�M�G,8m7���WAr~Ԭ�Jq�Yk+�K�}8M~N��b1sN!�����DN�zŝ����� { // 初始化认证状态 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: 'gsxjcmqwrh', chapterId: '9682835', novelTitle: '顾少心尖宠:萌妻误入怀', chapterTitle: '第4章 你的爱情,是给你暖床', 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 看小說網 版权所有