跳转到主要內容

第49章 潜力无限的肉灵芝

作者:平躺小青年
(�/�d��m���&=@���s�awg��HR_�>jv ��aR'����Ƅ�"SQC T's3#U�U�V��[�bYU��B�Jy���c�7�omq�R�U׍�1�K�65��A�4uǠA^K�����f�l`� O)�[üM>�ia�Zj�{�XL�-�55�ha'%O�ZDY��|Ey��� ʈـA���;"7 � ?%�#�Z�_�����*���AJ�ղ���(_.������Z�8}�,�����ee3�_GX�̊9��-nVK��i��A{R�#�q�[�Q�K2|d��-�C�G��&� {RF��yC� �`x3�e��0��ת��4\!���d\qu�8�s�פ�WQ6���A9��*V���?A߰�I9��EF�-�>2(x�����&8��;'?i>�e��d� �\-�� 3#�j�y>AϨ% �G�#��,n�h���Fo �j���D���F�[�z��jI��7#����  P1$H�Cy����"_`s�>]]����Y-?�U�[�$�b�!e�Y-�-.��<����d�z�-� �(;�u� ���\�8���ه��� ���ar4l�k��W�c�O ר,��| �|�#�W�F�-�5_�R��q���DŽ��O���l}��X=QSN���FŎ�Wǧ$�tqr�'�I�M�:e���j�^����c)���܍�!��j� ����AF_��d���'�ýA�hot�{��c�H��tS�����\ء�'���Z�^������ܬ��0�v"XS�>B��M��x� X�l�z�B-G�4�� E�4.�^�� �֘秔=�lV�����r s��1�9c���@aj��^�6���N�<���bx��^��J��RSj��r_��&)��c�p���'e�r!�3h�L�2C�+�+ҍ�c�7i��\�{��?�J�c�Z�,w��'�ĵ��(�#mEd���EE�4�N1X k��,>)/,���-z^�t6�Y�r�� rJ�Y-I�=�Že� ;&�d�o�!��\�t��&�A��F���|==Q���+�G�?����aȏ��H��A�ތ ���E�'!/,<���c�j�g�tP�d�p<��m�r1�E�F Y�rE䬖��-�KZ5i�]�WțF� ��x��B^Q�0��ޥ:���A�9�% ֪���\*�+�s��:�eDaG��Xvr��#���� ��r־�-�6j�5���M`C0�7#pP>��\e�_e�cE!�͐lq�5�<��0��� a�qqM|���3��]��aU {���=�y8I�Y-Q_s��pnN^�(kX�<�pnV���i)��>�iaQ�g�����}e�v� ��5�0�c�o䒑A^��[�[�x6mV�����'� ��4yM��jiqH\ �#��P��j���lp�K@���ZBp� ,�|���'�������&��8lG�m�ށ[�ccs·p�H�"���g�4y>�rd���e���c;�ed�ށ���,�;)�P���&��x�u��w�ܑV�|fE�eO��fG���_*� �[C��}�}~$�G|�j��e�� �r�����#r�8�u'�᢯�+�_`3���<���X������U!~r_o���S� #רX��m���-�yI/]\i��SJ>r��Kר�2Y��������7�����9�q�),���l�0ZLѤ�/���kq?vz�&�3 a��[�HvLX��8=�%�d�N_H{�\��jT����x{Mµ�����~P�t���B 4@� 4�@�� *� �_9:D�H�� ���t��ì�Z&8]z�� ~��=.�s���]>�5��֏����!-��f�|Cw-�g��FQ���?<�HI���)E�&~�r�� �'��]J�iK �,.H��7��Ž"+�B�h�]M�A� � }�8ؑ��-�Y-�K�.��r3���,zAZl���^�V����3R>v�"2V��H;BF,��Y-�S#�a^�Y-1d3Va�2��Ž�{�f^ �9���jY� R 6��� O�U��h~J���ӻ�g�L���)ZO��� ��}��ra���W��F��X��� ��ȥ�s����F��!�M��60XT�z/�� [��ɸ*�\eJ��<)/R�ۑvL� �}�VD�X��FyAZ��e+ �Bz �� <�j�� ��ŝ�=Y8��y~!m���eD�Ð'eHc*�H QY�s�?��^��q��,h�ʢ�f��tq ��Zn ��9�e탤��7r�� 4���]GZ2��$�j,�; ��� l�U����X� ��I�!-ck�垰5��-A�z�!lGd��(��Z&@�����0�A�����򇰙U ��� r�8"@� �0!q0J)=0�I` lEw8揩r��� �qأ 0%.n o4CoҮ���P�Z;VmyWb�pZw�t�&J V�)v]QRLs%��4�/�0GG�3���G��B�����6�r]�KA�y4J��' �6!�����R� G��8gCѺ e��^�O h�W���$ܑ.�B�;��y=lty�o*Y�BJ�B��>l\}�$(�m�ٶ!�XJ�o'N�dM5�����?9 ,4�iL��I��EO�I�5��s7�p���������w6YʋRȭy?�-4WJz� `��A��Y~n��}Ջ����D�_�~�[�⾵D֤�۞��ϐ=��3k3��^�k./��,0�46X���N��bg���Dj0���to ��Ж�Z��H|�L��B����!��1?b�N����Jp���fEӿ�G�bvk��]t�n�SA�5��z�4�S M��>�pa�� ��3.r�Y�?�6��~DjT*]_�D )*c.����mskCFQvt6$�P�7���R�u>���^��Gb/5��x`�d�+.ހ� { // 初始化认证状态 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: 'hdqmcdwdhsstf', chapterId: '11027424', 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 看小說網 版权所有