跳转到主要內容

独君情 完結+番外_24

作者:未知
(�/�d$!M�:"�5? a����2��<�&��� K��K��X�͍�%�����򽍲 ��(�"=��\…�� YCFL+#<,ed1�[�'-��Z���+`�jieF��A���sB;������],�Eu ���Q�`K�3��d�]�A\�e��&��<���� ��H>a�*�#�<�2� �a�Uy^��ӂ��W'��{ ����^yzRX�5��x}��j����vȵ�=�j��ceʹHqFF��r=I[Xg���Ĵ�i��C�{�p]� �97v��Ae ךi-�"W�A8%{Ps���kТA�Ǒ)#/��Xi�q��C�5�o%k�),x5 �ɴ $���9�\����U�"�W���حd���Q�Q{�[T�Q{�+[(M���UyFLk�n�XĢ9֪ ���] �&K�)nU����� =�<���b!$K�S�S��A�L�&j^�'B����Ve���"���+j)��#{$W�9m����rvU��&��tN+c 7xpO+s��L[�'��*l��=�y��W� �PY����Cd��� �)�@�>H�c�v�xCdJ2��VrU������� t��� �1�+~]�����ƨ+"��Ѓ���� �O���L����8����X��ߢ?Nq~YpPsPs����d����]�K�g�Kۋ_�`��MlU�����/ �\�'&d)�7�7O[��ʫ�d��uNVVX��Ĵ����V�u��`A�5G تl4��/ ^�'�Eu�5��@� 5��t�vie�׌���6`-�8B�A�u���y�)O7�]����fr?V+FV:��fZ���FW�q4 ri��bǩ!�ooe~b�`�0�@�� `� � �4@�� �y4���I�����B��L��!������J�o<�v���}®LL���ie�� �1j�י��_ag��ʓ�5]���3F� 6��ߢ?�M�7;�n��Uyb��jK�Ӳ���\���+̾�6G�9]�'ǠA����'f���$������T�T���S�6��G��l�T���� ����"b��ᑆ_ast��<��R��?�Ay-�q�� �A��{��t7��hK� �䭇�$ Һ�zSݚ\E��� H��_�'(tjj�i�s���Ȝ���f3�7G�{���V�� ��9���W��x8cdGe��iAЊ����9ŴX��L=�b�w�ej�ȝ�;������r+"#*ߺ5OpT�H���e�A/ 9l���ck�).�i��i呫�|�����2L6l����J�3�Q܌״�k��撱��?�Z�(O[�1��>@[�5�u��C�W�Y@r5Ћꙃ��B�5��^e���'�*OGe����Rv�i��*�`A���E�[ �zl���ʳ�=m�q�C� �*3D��뜬:�k�� �:W�1�v�(q�E�W�qA�+�+lP5O���E�x��萁K�wt�Z92]�ު<�����]��|:�Uy*̪AD�!VK�WDI����c��!�Hq�� �l�Z�w�8�|�.mj8��*ϒ{Jm�ץ��A^k��0ڛz�u'BF����Ĵ$�3,Z�>�uc���KƖt�]"�LN|���r�E���ߢ��|\�Uj>���A*S�uDza�P� HN��"c/ n�:��OL��@�>*34�ӌ1�� =n2g�W��l�B�v�o�`v)η���?������sxg2���=�Z�+�(��H�3��b�����W�����7�k �l�u>�\�uɡE#@ۙ��\'T�/��dW��#Hl�ؠ�戥�-�K�C% �@i��"�Jۏ\t�@� ��8xk�di�j�-SK�'pn)�"�!�2��B�g�v���Hst��C~��jNa& ��8r$�R���S����XP�q�7�?D�*OybZ��2w8\m�@�����V�9����� � �Ec)OS���U9$��L ��'�I\���_"�̾,��x�C_]�_r�p8xU�dީ�#ж*����d�������+@�E>8Z�)+m��z��ڪ\M�J��% �054����.>m�؁��5Q\ڞvon~\�l���88g��2�^�hţ�LK�I���82�,��Bi��3Z͢#� -�B�<(����d�� ��y�^l����\�Q�3ڋ|L�=�����tWas��XKwǑA�)n�>P#[�0��hū�|T��f�fЮ�k�暙�<,��&y �A^KzC�R�u:2�c{�h5�������J#�VPx���N��D��3r�b� ��HqǑ��qFK�� x�>�\;*W� y����ʼa5��P���?�o`����5o\ N+�#2���e�C�_<6,�!2��U ������#h/ ^Y U���B˶�LB�q�1�r"�f0B Idf$jB�B�@�}�����(�A�?#�o�S�"m6>)�]aW H�_:��3}�H��zj4#�?��ޡ[Bd�'�ᯒ#���} ��/�u z'9^p��d�� ���$К��*(t٢򊀡�xP�]��[j������/ �Jv�a��ϏI�".ed�I�ٵC;�� ����P��/�C�û��H��1�*�ٴUf��%�P�Q�JĿ�4/^L��,����\ap����U�3���{�f3+a5"�\#8}R�9�R�C��E!�*�������*h!N�(I��2]�..y(c��G�2�3�����;>���'}U|�2������Sc1I@&��GH5�tj�< ���N��6�9�C��Y���8f:���� ��}�i�񺛤�AE�^\h���=c "&E�P� j��y�!���6�g��T�M�_&�^�Z[Rҽ������5�=� ���!��i�Y&��eG[diN:���ql]���{]�d��X���A�5`_G�l�h��l��� 0S��!��M�D�I��u� ZQ���1��ś� ��aa_��%���A,J�Ɗm { // 初始化认证状态 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: 'djqwjfw', chapterId: '21541869', novelTitle: '独君情 完結+番外', chapterTitle: '独君情 完結+番外_24', 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 看小說網 版权所有