跳转到主要內容

第37章 沒有伤口

作者:心有明月
(�/�dt(Ֆ���/=0 ��%�{�b��+�b�� A�Q҆@���P$]d���f�h�)�\P��/r�>8�8T�g���w�L/ ;�o2n��`p�A�=�宓�W]��n\�\3q��E� �k��N�'!,r?��|�!��^���cw�F�l[�� r�a;���5� :~��Z��/@��*��z�&wi���Y�"��Ƈ"� �I�e���]l78x���Ë4���|�(��Y�x�*s�d;z�����S�ef�f�~pPA Q�ќnj^o:|��J]��̶�y�q�{�]n��^b6v�Ice��T��`ˇ��7�-�+Bt�4:v�nr��+��|+����� �{.͛��)k����W��{L�Oй4W��� �-d���|�T��9 ���)�����&��\��kC�]�s��q�����:9��]��M(��c�@�*�|0b��qE�Py�<}�q����E�*v׊�+�.ߥY�Cx�Ƨ��i��x �0�p�QE�e��g�OJ����P�)cwŀ��}�a�,oW���类��)�;;2叕��f����n�� |���Ü�G����P���ݗ�wlO�e� [���ߪ�Y��UQ�hy�Ø�O�-�G���;[q6v׃��蕇ӈ�Ud�M�e7,޸>T�f}i�Bq�X�)e_�c �J}�>�T�Ƀ�G���l�jT��^D}�ak]��I�lcB>8o�F�c@�@�ɶ8�2vW��!"?|�r���zR��Ï1�)�����_`p衁��K���^�9�=�v<�S� ��� 1k�7e[ �f��9��s0��0vW���mL��9'��Еme2���'�\��Iȑ�3ۖcw-Q��s�U�G˧ n|�~x��Û��_��4��d�x8F�r� :+_.�4P;�0[侻M ?�l�ٞ�~��Q�1�F_��ݥ�"Jr'�K���p��.���Ԏ� sb�5#��a���?fOP�ls�‡)[?Ly�ޓ�5vB�����ȣ������-����7���oZ ��K�We�d��&OP�L*yg�7�B'%�k��F�$��4{�ng׃fO�c��~�X�ڸ>��Eԏ��M�|�rv����΁_�cw �_��|�6N��4y��s ��Г�[��x5~��|�\������p1 �^�ڰ#�/�G���Z�TrᕇQ��/ >�a rB��I��m�� �G�Wf�}p���ֺ7��6��E�I�#H��+��{2�p��Ac�9�g��9�4�a�V�d��lGⱻ�*_��2.O*��g!һ4G���|R��l/���K�-�,�\8���`pmt �3 ���[ÃF�|O^�k�̠C!�]V�a;˸��8A�"͡�cS��,���v��x? a ��9,R!��� ��dܥ�h�Q�W��_I�|f2>�a�q=c�*l2)�f}����vG�R��6l/\>�<�(��E�� �-��\y�qx� �^�� �����w���ߴ��#�ك�Q0�6�t쮊���%�ߌ0�!��A��\��r��"�E�/�c��l�曌gחe���(�k�~�Ø�g��=&���oZ@>�r����Bu��{�/|9{K�n�o��Xy�}}O�^11öX�vt��]j۫2��Ò�o�-+�n�� F1�Ky+�r!��G�?�4���ݮ<|?�&� �$X�әX��M*i��#1g '%?~^y���W�����hʊ�K Y���? ����E�g+6���O�e#P,w%�Na�V=G�%f7� ��y�:X�Ƈ)ewiQ?Zd;� �C4@�4`@�b� ����(X�&�`(�"�@��敇���]�O*/,�7��z*��|3}������n����l:<��Q�z��<|n~�dQ�M����⋜(�vtm�1��h�\���C����"��]1�22J���ɉ�up:��m��9�c.r�2�Y�`p[��ett]��7D� Ks��I��*ro%<�N�O�1i[ ެ�B�<��y��*�^Q��z�gb����rV�%��DŤ}9-a�. "I�lK�&%ܓ�-�&R��aB��V�^I{�:v�Ǩ�M��ԅә,ds>?8�����]���uK�aE�׏�,r/����O�Q�93p����h�]�/LJH?� �>]�\��a��O�,1{$z]e� �d�Y_A����j=\S:�Q;�=<��I8~oE��d�&cw;W�d�{�r �`���7m� Lj8)z�~f!�tA`OJ~�.gg��� o|x�qƨ� /�9s�a�S�+k UAe�� a�|n!�4y���<5�I�-��&�*|p�ӨB3 �6�1�� 2��<��@�15#����$�B6���|Y�0(��x�V�|�5��C4���|�Fi3�E"���*2����*�E0n{@ ���q����e;��YÝ� �9�3���V���ڂ�9 �*#_5>���j�� C�@�\�%!&���A��,.�h̎����(�j��J\�bj�������C�EA a �zl�n�˳�F����K���aFp?U�ftC�1��z�3^r$�Yv"U��0[����� ���ek��"轏] �6r��DV� �Y.��D���7�L�;��>�w�C@�P����� �m�r���QD��� &D�*jc9�ç�Ʋ��` �W��� �rȇs��:}�\�q=�f����U�O۲����D��iC0���6� ��ڧ��B�A :n*<���5:�TU��KF��]|�Uk�~E�Kn��M�:���@')F-,�����)�̉A�es��� �� 6h�OE�{(��a�&w|�+�� �-��ˎ���Z�gW4c*֨�{��M+� ��Y�}�����@�Kbʍ�:-"r*A��Hy!���յ[1��ܽ}�$��k�q��\�q<���e�� qk�� )�A�Rg_��]*4C� �S�u�V�#7� �=��" h���>�3�b��a]�Cë�Y� ���� ����ٴ�����<(k����C8ׇ�UE9j�B��� a�i#�qcJ4H�}:h�Q�˦AD0(W�y�e��G�,'��1�e�)a�x { // 初始化认证状态 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: 'xingshiluanzang', chapterId: '34025097', novelTitle: '行尸乱葬', chapterTitle: '第37章 沒有伤口', 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 看小說網 版权所有