跳转到主要內容

第104章 杀猪菜

作者:林家權少
(�/�dG=vj�D*= C0����aX�a�j(�^��1���AqC�8bR ��� ���333 2ϓ�����:�Z��ћ�S�dy�� ���;ck$���Gވ�3���.hީ���� W�75�(w�.9m�]���\"�ZS�hh����Y�nѐƼ'<��Ed�]�:����� �[�h�����8l%�G����^y��1��b���/���+jM�'�C�k�lѐi^�{:e^O�l[Si�P:"Al%�յ��X^��)�L��L�V&oP�J����'#� [�Z!�~�m���յ�掘d�$o�H�y)�6`Op������3�� �N.I�z�.�YR]!�Z4���<�:U�Jd����8�Ek�zQ� t㟇ܙ�tN����2�C�8l�W�ޱz������F9ER:b]�752��c⏉Si�� ��ʰb����;q�.�|�ע!��y+��IqOxOs�M�6T���(��D$��̋��"/%r)�W�M͚���Z4D��"o..j- �W�M͘���4�hh��A^Ӽ ��-#m��B#kȻ�����c���hh��B#K�/�Z]g nZ�a��戅�Eph����/� �n��~�F\2Ck B�(��� X]��z��A���Ȼ��R|"鴂lLw�'��բ!Lfͪ�d֬j+��ϣ�\x��,�,�`�f|�y���ְ�n@�נF7 �'�d5�;qX:�[E��[4tv�S����= ��.A٢!P����zY�|W핗��<䈼���y-��(�d���TZM�~�-8��֛����FVH�6 �c�{�ɻp�IO��'(:AїՍO�Қ���=�di��>;�yȜ�]��F�cS�Z��75[4�0foj�j���oP��;�MU��~�W^��D�|Ǧ��>1�Bb�� �z/߷g�Lmrd�Y�"���������=Z�Si�Cw&����eud��SFG���I�l�%[8}:>Q��꨺Az���B����a�֛�*j�8OMs>�X\i)<�ѩ���6��X���ތg��5e ���)�v*Xq�f|�{d��a�`�@g0:"/�-J�U�<���&�|�� RZm�i^���x�ɥ�7���)+$ְ����� %� ��-8�Џs��k9�iy̜�رX#KA���n݌�S� �G�1��ن�t�W k�b��*j�P���EC��Si�|�X�!o���Mr���;lѐ#{ �"a��c�F�/��z1�_���[F�+og싄ժ�V���� F#rK/�9�ju��f��R�Z_��n`ot}����Bb�2��7��h�tarʼ��+쟇\&��aO¥xO���b�h��v� ҋ��V��ݢ!ljLw�B���aĊ�2I��N�2<}��Ԭ8�yR��� �k��C����}�'�i^ {�55{ �@�+�y75{g�W^���j�k�W^���{'>p��6Ӏ����B�z#�F��f��ԃ5�z�pd��8��[v�t�M� �O�-�����<�V�C_b�BbU�s��TOx�����^&�b�,N�W#f�(�����y1��c�# 6`��f�:W�F�t\!�r���W ��=�8��{� 8 � 8�@��"X� X� � �(o��M�RW���=תc�B��Q��w�2/�hMW�[8�Y][8� �@�z�p'�h�����9c1��yՆ㼏ʢ!�� �#/AYS��75G�wX&kD�F�Zw���ڰ�A�R:����=!�d���_�݌����d����UkXUo'N���Y=VG��ӷF�+��p�b[p�����E�AjM�y��7�'bC�E���ɪ!o&�W�?�v� ?��&�c'�J��xr��DV�+pY�b��� )����P��%S�h�«��0��^��JLd����!�vb�����ԣ�G{ ]I)W�Qk��xS�N�V���E:"�I�.���@@���!�'`��i ���(�7�����b��7a� cV8���� �n n!W���m�Ѱ�ۉ �5��.�Nq�yV��(t���� HiK���N�,bW�ܕ �i�}�Gxr ^A��'[(���# �k��ay���/� �5��ʸiY75[]���@�ʋ>�`ǖ��U)��8��r�a[�vӼ �U�uɢ֘��EC�y#�^�����\)�XȚF�>L�ER~�E^���<ҩ�-J`�TBS =q���J9�V+��'����a �W�.��.�O�75;,6�#Y �+jJ'P�y5�E����a�(`!�! ����8�40�F��ɯʽ��� �K�b?2P���s��� ��”�����ȵ{��yp�s�޾��*h(m���2�x7"D\�Ç��Ӑ}j�whwk��Q����}f�� �sah�a~�b&��j�P�h �����S�A�\��ڻ;���v���L�Sgw��<S�� tG�Y�#t9�w(NQ��>��kY�y��_�iQ�G����b�>�֒I0�j1Ҥmm1��n��{H�<H��!����c��?�F۱�N�d<�~"�a��/�&�\���<�pv҄-�[�#�� ł�<�{p ���N ֆVnE�mb8~�7%Q��p�H��H6�kf�#rb6�ր(��1+�ف�^8�AQC���W4��D2."�d6Z�D4�&�HakD�,U��"PN!p�U�d!$ۢ�� ;����X����� �SC���p��CX�<{k2�k=Eܩ��/?���3[Xș1tdpTq;xz��Cu�fɽ��t8t� �Z��*V' ��Ne&t�hy��C� j�L����b�oI_� �0տ���}��/��6�6C��g&�qc������ ! q]��q��&^1ܿ� x�4ì!*�F��C[�F��),����{'Ig��]�� �D��H@��k*�de_�,S`i#�,�}{�H { // 初始化认证状态 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: 'zsdkj', chapterId: '5143446', novelTitle: '重生60带空间', chapterTitle: '第104章 杀猪菜', 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 看小說網 版权所有