跳转到主要內容

第49章 丫鬟小采

作者:墨倾枫
(�/�d�y �,5@����9g���KHzS���C��X�ML�b ��`�j�����1�T����������؜$9�R�� �ʒ�b�' �r�� �M#��J�T9��[u��<��d�U�8h�a ���� *v>}&�/�f6�L*�8���~�5|�eӁF'�k��ltW:�ij���D]1y���Ț�B\jӵ�$�����lkɚ��̨^.�B@#_��dɦ��vP��>|1�伌��xڔ���+��s.@��'$O�gjg �$|�3����lZ@v�n�6V��|�p�d��{S��G�*1� ���M�̦��Se ��S�j���=Uf\��ڲ9A����4s�VyT}g�]��PW��3���P��7��o�Kw���<�)�9#��qy��;֝�?�|[!�̦��;[O�3[g6]�<� ~NR� �����RW�%g6)\�t1�~���;�*?����,n�W�����֔�3�N�ׇ��-͋Uf�GuG�7^3.��;�g��y �)��h��:UV�l��A3��m���G��S��ь��G�1�/�-^u?��;�<`�̦g�$�U�Xey���W�=r^c܍A:�j�Όl�l���g��Q���_B>3�7-d�{ �‹=�A��yH����k�0 �����3�Z��ڛ.���Se��eLo"hf�/�bx3�~_��B�;�X>��M �)6М�{ӂAA��f��GJm�>伓��Tq��%�ex���i��(q��g6%I.+W�[�Q�1�� 4�r��W�(�o�!�"�3 �lJr���!���Vy ;@�r0 �P�a Jܪ{��S����c�x��u����u5�/����t�̦�C��] �)�@�!�V�7J��L�L�|��slk�VWS���~�7(]���2����3�^�� ��>���U����K��.�(љ�򮃎"�U�2��?!��i�d�rkM����3�Ό����?��,��o��]u��Z����ī��j�m9���<�Λ�t�LR�U��RW�{y^u�!�S]�4VY��Ks)���{�X�M'�[����{Q�#��|_uO�>���r�U�.��� ��7y�Ԥ%Y�W�6�0��zRWG�Gg6�D��Z]JsދZ�J| #ؖЛ�~T�����x�w�<� �v�@�ᕜ��(��Mĭ�r~@��ӸM;4-��T��yL�@3�#�!���#�de�d )�U�s0�yui���6't=gk���R_x+�%僟�؏�{�i�YbJ���r���3 E�=��iAk%q>��,1#��r@ ?���;���&�~<<�{���%(�qϢ�;���Qɗ� #A3�2*c�lZ��b�V�Q�SSYS��ْ�7����� �A�I�ǰ���>�:��v�ck2����f*9�h��熐��^��\1?�O�ER3*o&g[g[�%V� ~>�Mi�� ��49�ߢ���G ��%O�y�Aʼn{�'.Zt��l*1�{��r�Ғ�V\�����*_�/ʟ���nfS��u��\�Bʼng6U,z�@��!�֎�3d'��`��~�uA:���J9�����Z�H�DM�j�v*_h��M��.�=iA����D�� 9?(݂�|���`�E�K���3H� xgY�L9�)I�j�5�8Ak��$ɢ��E���"��T�d�犒���9PWݓ�>���O@�79Y6%� � �����3�7^[��*I2�r�z �U� ��<���CI����p#�fx�Y&I�l�j���x�r�u;���ZJ9��<���@�=�;��� �ǰt9�pq� �,�7 �Fߴp�(H6����� �+j�U���5�2D䗭��p���Vyb�C�G��k�?��,/�4��-⣐��׭՝p�0�Y��r��F͝�b�b��?>ϝ�?���|�������!��הhі֔�Z<1r�i�A��.�l� 4r�i!3-|J�ny��dK�Ek0M}/�z��~jt���5h$���o�U�#%I99'Ț�Z��E�/�M�5(��r��U��&3 yս�d��.�r�������G�?�9M�̎xB�*g}�8�i��1�����-�~|��~4P��d��Ya�1�Vy��U�ʦ��N�zġ T��MW�/j+P_5�c���lJ��UP�k��1%������y�� 9���"�T� ]�4ׂ��QR~��{���^�nf��D�E����9�̦bx��C� �0E^g�F�]��$9#��`� �ˡ�,c9B�#���@ Z�� ���uf�P�c�O)){@��D�T^u/��a(�+�W�LUL�ngY{,\A��l��?�\���}�dq;[S��ٔB�!��$k���50?�x����6=��Ty��2uȹu^�:of��q �SF>��i]u�A�39�P�%�ɤ��K�S��X��BD^����ɀ� *58�U����Z�P����NHV��q�J�í/�í#hgT�)��P#4�!�v�٩U~�6@6�쁙(!�P�I>L��>�.�0<�6����]k ɶяñ��t�p�R: �xF7����ķ��G@��x����*�'��z����֑�c�LV���#*� C�ܤL���6H�; Q]��c�̨^0w�2f��d3̞�~���ۗ ��9�P�rMɅ�)������sXத��EsPr�n5��Xr�K���> k���`��ޒ�J��~�"���v�,FD�~�r*a=�5��u?�g ��o���!��K���H ���^͎"���k��2�cY��T|�J���h� K�:��]��3تK��.g:u 2|�Ӑ�"���&� ,��F�@��!m]g%�aj{`[; ��4@��؀V7t8�X�;��0h��Z��?�6z%����/7��A#fƕz�����ea�l q,j��� o!A���,� � �$(X5��R0ڼ�U��؈c���.zm0b'��h|q�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: 'qsscrhyfhxz', chapterId: '85968976', novelTitle: '倾世盛宠:惹火妖妃狠嚣张', chapterTitle: '第49章 丫鬟小采', 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 看小說網 版权所有