跳转到主要內容

第27章 熟悉又陌生的父母

作者:子弹匣
(�/�d $��Z�0A@P��sރ���I���m��NZъ֘���fӶ�t����dSѾ�V@�L���. *�X����?�3��� �@m?���l�(h�FS�o�e� { ���1�E ����� �E�"��^�v\~�@�pt(l�1�\��:%~H��-9}z��r���t���V| ����W�ɅkX76��l��:d|fK���וՕ^P�_�:�lg8 l��l�M2uf��� #��"q���^��3[��_`>"p�xg�IoXq�֋�W`K6Oq�Y�I��ƒ�0W�Z!�̖#S����ƛY��i���'$�t*u�B�I�c��C/������u\��#�-�[��'Q�����J�Ĝ- �[Oۙ-��ǯ��j�jd_ ��k^#�NT="r�}fK���D;��Œwѽ��̖��k���T�=PW`c����,�q�$kƶP�����ް�yjn�L�'���I�'B��R�x�� z�?����;!�e�h�R�B?���;� _��MR�Yz3[j� �/6=m����Kq�����̖�Fg_r��� #n�8�x휁^ �'�_�1�.�=l�B�Ca�<�0p=!}��/(q��Z{3[R�'��I^�K���y��aבJOz(�(,�:��w���&�E2y9�k B��r�h�C��%�v�u�٫��8�����*jclOH����k��z7XW����)�M|m���j�3[~�-5���$�GT�W��v�™-C�;����ؾ�&� Xr���z��ÊG,>gs6`p� P������8�x�ĝ�'$�l��3�̖�Aw�@X4qB�K=�4�=��ԙ-��XS܏(�X�̖�{�=�}t����yDd���Ы��R���֔ה�^W:�lI)����� ������3[j�s3GNz�F��>ۚ�«�'�� �W��9Žc�q�#�3�w��&E|Bb�x f��c"~�|���)�/��&��:&�����)�g�&�!U� ���\���;:�l�d"����-M��'��#"/ ��^q��+x��$�`>6�zy�\��¸ԜI+`y|� KsJ�@rRu ��s�Έܣ�X�g@N�Crϙ4��E�S܋5�5W`W`k��^��Dk*9�:�%Y�+x�ْ��h �3[2`x���}v�z)�C�sM/)�P��K4Ed4��U�aq?�zV~!����U��6)#�K�l�/�/5�FK6o��C/A�2��<�!��/�yf� �_�)������ߩVc��Trfeƴm�9G� [��P��F��)���"�(���SN ��:����QA��~D� ������#�C�_��D\oe��� �$�!� lK�V��׬�1�:��y��y<(��3[r(�G�<��@��{ �j/�Eؾ��Ԟ�r^S��%���M'�ћq3Sܓ�<�l9�z ��ӵ�ӡ�I��b'4���y��C�kV�<�����G������M/0n?��'\�p�t��0�}vx��?��B�l���]�멸�����Ğ�$�c�� ��YۚS�=~]$��O `���3o����K׬d�@�u�Գ�V枊FL���U���:5��a���̖WB_ �f�� �!�`K��<�A�`��-Gѓ��-�g�tlm�0]��/0�2[.\Ӱ�y�'��F�η�2`���;F@���#���<�A~C��\ހ?�o��lّ����^ kM%���85���'�4�<���M���T����k��)��P��h�-��6o�Ki��^��'�����&&Qz����ՑS�i-^�}<�eG��"�s�v(|�� F ș-EM%s���(�@x�t ��8B�W6��k �$%��G+Lr��[3&س�"����`DhZa��C�����X� do0o �2��K� 쬠#do�W�\%+��f��x�0�S&���E_7HLM]��Mrf�Q�cf�\��wb�0]���G����PzV^�(���&�Mq����X�-zZ���#1C��G�&���+��Y��1����_�?�^�w�Uh=!����C%����6�΀�щ�G��a���Ƀl[�u�ӵ�J�<'�īYcpJ� ��w��ޫ#rO� 6�v_�{y�c��I ���7C^��xO\��2�h�zI�?BOЦ��(ZyF�D�GDV�z=�e�ȭ�� -p�Z�";aP�OH���01���Z#�l����0�qO)�]A/F�Zՙ-'%%� #��l=ҚRc;��ǫ�R�_��@�����'��w���^A/���h�0@ �`�l��� �� � ��ٲ��=;gغbtA~>���W� J�x������A�O4zA���/�N�Q���s��l)�Xq��ȤuN珞TxO�z]�-�7����t}pY87�������L�@=q�z)�NH���U���*�0(��6^��� �+P��.�gW�ך�7�7�k�3`8��B�I%c��]��Q$���L�#��-+ �npt7(�x7�k�r4���E2g�)��&��z�ю�9���v\^�[`��%$^/f�[fV&��r�.c���+���/������V�"�x6qfK���@��m�twm�(�Lݟx/�<��8D���A�ܡ�Z2��H^���7rjl�!�ym�`M}R��ju���GD�l��g��l��Z�� ά|P���q��U8�Ҙ��WT� �m����CaW�* "���n��e�W����@8�;Һo&s�!{4X���kJa��Z���q�5�Lm+�yM�S1'эO��F��q�Z#Q}�-o3kƮ:Q�ZG*�54� '��2ΉdLA�F9G��W�,�eA� ��!�y@a��g�\�� �9��l�am0ް��"��5�Ro����ݡ�4���WW[W+�=0���� 7��� {����IoVе��3 ��f�p�1ܒ@�o(9ƧP���YAr��`sM%s2�`���Q/u��3[�B�Z�ə-7^sJMq����xk�z���;�Z����!;����*��(B� ԨB �,�`a)d�@�@� $V>���M} ��y�Y[�A���:�>�I����U�I�Ѫ��6m�ű��煣Io��[d�TzoB: :��MH��;�i`�Fat�H��o&�eė���JFF�g�A.��ʄ� ��gI��N�;�ָ�tM�E�� g�U���o���,���Y�Y�`�_�cy��/$��-��t�{8+�/&�f�Y�, ����Y�����)�8�\ �a���ji�[�U^�;�&�U�(�A'�t� �p47��WMg � � ڽ�_O�u0v���ҥ��'}7_X3m[u���R�n3�̠�a�� �i��.[ $�n<�9b}����s���`C�!�4X�(�b��۾I��gKq���A��e�u��>� �^+�[G�޻�';A���P��4���L[�3�'� HD=�3�9ZZ>{ |w�|��@��"@"^II:�>4�U�$F�s}�tt6�3g��q �P�?��i �;����x�d� ��n_Nm���y�$�!4� �rJ�X����H;m(A;�������o���e��2�w�p��aB�8�#��� �y�sl���[$$7x)14�N� ���嫻E 7�P%�)����D�|>�I�y��Ǧ;JI�#"�B� �S�����}$�Q� ��$Vb�e��r}�X�9, ��, �J�&? �>r �X���� j7m����zZ#�%�Q-�\�d�$uU�(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: 'wushenjiyin', chapterId: '69872561', novelTitle: '武神基因', chapterTitle: '第27章 熟悉又陌生的父母', 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 看小說網 版权所有