跳转到主要内容

031章 你的意思是,你对我动了心动了情是不是

作者:荼蘼花事了
(�/�d�efJ�� @ S��wn��ad�!�E.L%[���61Q�%�������D?� @�Q){u}�T��D֪ֈ#rc$U�R�8�8:U',�+�"�?�Θ,R+S�y5���YȖv��]��ʴ^,���Ȗ�F�.z�ʔ���F�����8�Lvp\������[7F=Zp�A���i�Y� j�/;��|C�X�bԁ��E3���g#Lwp�O���eɡ� �!�i�������Su�1rC��5ȭu�։ ��B�f,zq�1��q��"���X��[_jkUW�͘�y�@@��kȔ�y��~�R%�*1:�ջ�Qݐu���᧱����]�Q�!WS_��8�`A5���H��N�.QԞ�,�09Mun�#2�j��"x�s ؛v��g�&�˕��:6j�12�8dd�Nh&g!k����};��\��`�gƗ� 'm����lr���mTW$^Lh��o���{�w�f��VN�0k.�"t˒;�� �� �Mnʴ弙N���9'��k�Ջ)S�"[�K�n�n��1d�w=�A��I�\]qք��q2�=��^���Qce:2]Ƣ�M�g��G��ʔ��il�dӻuz�Y�r"��pI]�7��8�9��y�L��J��0j9炙frD� �8���BS�SB���Y��g*m��v��)i����eE�ɫ�G�Θ|�@=�U�nr��i=�͘����Yȕ�O[�{+�G��b��¢���ǐ�c:��������yα2�<suMR��Ỗ�6F��pB��@2V���Cˀ�YȢ��^/c�\�au� �,��jUk��B^Pxc�Eq��v���4��h���PJ�%ů>�:���F�Ʊ�X�BF1�ylepE�#-������^�ư�8;2ݑ�v������<��2��弦'RV�l��X�X��8wHZ<݇�fL�t�wU´�֐?��EK����B�����kz�B5�y1e�=Z���������:���[�g��\ѹ�ECB'K���]˺�u:�����z��c�������Bƈ ��s�r��捑)�+�b:��w������@,V����u]7�hI�"e*]kk�v���ً�d#K@6��w1���[q�1rȺ�ĸ�=d}�h���� g(2ִ�Ru��l�l�֫.�u� \ceJzl2���|��eg7ji�a+�6F��PW�d7�G�I�%)��U�Ly� <0 <�@�U'X@h�(���8@�&���L���Wg*�5����v⹤�������1��f��$�V�]TTb�yތ���Y�Y�T�����\����iE���ꍌ,���@������5�/���!CDv$4�񊳟�Q,(�D��j�L#C:1x�� ���ʓ�#d���N�. ��J��� �U�nzW�N9.�j���Ƞ��]lr+��-MԤ ]��bezd�ڴ7�BfX�aݯ���K��PhW%0K��}��,�ѢG��4I�^]kD��]b�އ�)=4 �r�l49iB�*V���=X/[�lEuE��]��ފ� $7F&eO �12c�%K�,��li�@B��Gֈ���*B�r��I;&�p�ϝ��,V��b;�/���jlq/X�Ru�by�YLs-��,���x�8�y#���b�c�R*���髢��g�� �������)&�ʴrzr�����!!o��Ph�82��������X��J����-z_�^b��';VѹZ՞�K�>�רA�q�0"0�!�0HZ�09!EF�@�4���A���gU ���VHp��y����_!��S:��P�!�,Y��X.l����%ݧc`�1�RnY�c/�E9/��>� cs�h����j[�;����CK�H"bœ�4у�b8�"䇵C�tp��X��놏[�#�+���_��.������V���y"3���iy ��ȫCf�PCd&���[B�Ga��[f;:]�f�k�J8Ʈ�q~���DZL#MʽF�����8y!1ڕ���U�^k��9�f�#'��DR��63G1�Щ!9�Pp"j1w@r&b���EC�3�8X�`:$�ni�c$��B���r%�o]ha�:Aa�5l�W��.��L�z&�[3r��x��#��(�6Y�|^gJ�e ���_!r;"�{Ϡqa��a'������pIј�����Z�H5F��/�E �/�A�ڀ�D��`�7��d���}"��/f$�d�Y��oB {���09��-HXd��J$��"���#~� �d&�7"�ߡ0� jK� (��~ 0�G"O��J�!�\�F�nmKM�%��j[���"ˡ�;�Hh���)�S ��;�((�#kȢ� t�v�N����Y�3D��ʬ�n���{�� @�z��6"ab��/^������/ͯ! nڼ��h��������vJ�B�5��fH4H;yB���aLSL�Y{��J�&�D ��- �4���{F���K�L� { // 初始化认证状态 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: 'xinaibuyanhun', chapterId: '53852479', novelTitle: '信爱不言婚', chapterTitle: '031章 你的意思是,你对我动了心动了情是不是', 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 看小说网 版权所有