跳转到主要內容

第36章 线索断了

作者:大仓鼠
(�/�d&�m�Ș%9P'� �{�� �P�]�cK4�QKZ ��@��`�"��`��"1g!� �@�GIL�-a�$���ʋ0r�虙rB�\Ny��� R� ���C�%™�_"�Oy�<[����v�9I6E|� �_��Ś�F��w����5۔w-�mTO�ΔͩH��q����7���;U�a�1�j{2�+2�i�z�kt�T1i;3�3��ϲ9$�� ��?���\��P�S�_]��D�E����7�W�����gfzEh��$�;eK���4Av������!�幔w3�G~�� �s�XOy�q��!.c��r�6�ݐ�#��rC�@.Z^mo���9ӥ��`a�c�=�<3S�б�B�\���� � �&?J�3���N-����I��G@>~^nE�4��m�s�����9�w�S�ETL��!��5���E�c ��]m[�3���rf���dn�\� ��5�� R<3�� ��j]��P� u��E�-�j�I�3�33�\>��ωggf�q�T�;�)"�v��yf�S�h$sWD��9�$ُ)��n�Q��O�k4��E`4�5 ��B�lF�1d��s��;N��|ʻ�ҭ�cș��D'�^����A�ROP��)eq���Of !⹞ٚ���*�@�D��"�O���}��x�������C"�Tި^�~���5�_]�l� }�y}8W�|]c� �� |f����Jq��!ʭ�33-ި�� !ᙙ~gK2��ka=$b�s5�''XrE�p ʻׄA�;�ި�~~&��5��!��!S�}L4�c�.xv^n�|*�ԭ�=���Եl �˅P�Q�e�G�� �ddWs��ЫmF��&v��9�T�!�{f�D�����Myw���N*/`��C"� ��qK��`�B���L�E�g �.=3S�6�p/t ���1|�<�p/�)�u���2����LC� ��K*\�>[|h��5ze�C�������< ��m�w u�ٓw~rEĔwC��ׁ=�]�z�r��.�y �� “ �3J`V�B����;c�������7�K��q�鎒u�yʻ�w��6:W�_��4S���&��H���h$c.�����I�*6}Q�(�w3�٢��3S��lc��-���)�*$q���R��p컙�R�U�8R���[ Wۍ��3��gs%?X����3�7����^���ks���+pV���&[ט����K�ʃf_�D�bze���.h�dۍ�/<�-��f{*���|0A����SRvE�u���w_] �r��$?In!�C���B�'m�6�F�R>��C%?i�|(� �����նœ�>B:�vpʻ�u 2��� .�ipyD����E�W�C�8�r�[��j�+9h�ж�̕\!��+v�U����)�z5&��E�bE⤌�9D6��� �˅OxR��e�Cn./9JN� 1�������D����3���p�M*\zf�jۑȌ�2we�|�9[:�x�=i0���3e#?�\�6G��L��A�kۇD����A�K�3�/Q^RvF�^�cȊ�)�N ?����Q����%뵄��M8<��'(��}`܏w)�BƧ��S��uJ�lʻ�w��|F�� *��$���F��]�w1�{�K�]+�Յ��Ib�Z�`�̕�͕\��}.ȑ��)�Z�o܋>���'�����ų�A�k�5�;e7��|n�Q�˔�-�W�`�� AY?��\��9��k���4���;N�893Sʻc�\�e��E��8r�r�$���1�W��� �*o�97q��I�^!2�sd�}�{lq��5�ٍ�33=��h�G� �5�e������J���3�#la?A}�ѹ��;��Fx����� �=S7��!qf��g'�<<���H.v?A���s����j;��4���1���ml>���s ����1�� ��73�P�$�%�� �\^��M^.�T�HW��3�S��,���@���˒�7�k�c��J^&�����1 R�8 ���0)��P1-�T �A�FmRA�����C.#p�ǀ��Q᳼ŻA~�js�T� �B���a� m�[p� �E�� ����-�FQx�cg��L�d�����ʐg���31���P��m �� S� � �` $�%��a� 'kPM�#O � p4 ��'�X�|`RY� a�2&�;��jYQsڡ� nsS��e-Q�!4��Y; �pQ� ��!Sw��ߞ8 ��U��:յ8Jy��AKv�05��[F�&�c�����.���Ƣ*����f��5S�(�גl�G�/�e�;�e �ͅ���֓�� { // 初始化认证状态 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: 'qingxuanwudi', chapterId: '16156727', novelTitle: '青玄武帝', chapterTitle: '第36章 线索断了', 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 看小說網 版权所有