跳转到主要内容

第3章 永远消失在我的视线里

作者:佚名
(�/�d-$���2=0)U���9w�<������� �ͮ!�0�/^���M�l͢[WR�4�W<��7?���q��?U7@�~��m�\u/�t�b�?���:��Ģ�$� _M��ԫ �M1�)EgjB�&`G&�P��ו�U�N\u߸z�y�u�;ir�Mѣ곛^ �\2�șE�C�[Ќ���1����Jx��T����j�#�{� �#���@�T�j�W����)_S~v� ��$�`����5��Z�͸���r�"���Rj���ș��B8�1��$>px�r{��h�Ė�ÈS:�=��i�b���_^v�/��K� o��fq��I��R�2�$q�{�������nʘP��&��&_-����g7%-�L�꾛�TqəI|r��u@p��%#�}�J��yw�fqv�ͥ)g>H����9cO�a��X�<�)�3;$)�}�vh�X�{�b�ם�?�G�9\o��Z���s��ֈ�� �'Xg7 ��g75%�E\�8aq���/ t�|�r�֏w.yA�TE�LQ^��.'�<�)זʜ� �kD?BȐ��g�X���vyǀg7ծ���#���U�3�yvS{q�8q�ӏ5a:۫ �M���=er���Z�{oj�z��4���^+&�(�nJ���8�(�q��5c�pA�����7jB�&���#[���r�"Z'gnd7-���x��,/��x�����g7����v�~r=�b�B��W�U�g\>Ҽ~��!�W���v��馘����Y\P�o��\>�}�,��!w.y@���h���Abw�l`�jqgu�u�y��N@)����`���].93�R�g7����y����M/�-m>��U�Z\I|%��M�S?P����Rg7�H��R��w.�+��.h��M�CZs��4qy�=f���K �L�üZ\��(�"Aˬ˭+&�*��\C��늉��&������.�*e�'?JL!eH��pkĒ3GΜ�4�8�{�Ē3k-"d�&\E�`�W�O�����zȵ&�|�|vS��I�-^-60��_��I���>��J���������b�Bg�X�2?J�U݋�M:4��BяL��V#&���2�أ�����I� ,頚�+E��&mms�/(�9h��Ъ{њŢ0k��<UO�|v� �^�AX�,^u�!q�z�5�ӫ.�M/4͉ԉ -4����ͱy�d���Փ&_���׊�3ԗ$���Ph˶WB�o��(u��jəGg�9�+��4�5�������Ǭ1��V���즆ko�N�qf��ˇ>JL"��)ރ���I�A����o�a��wf+z�&4��IDc2�X�ݗ\������7)4a1fqvӂ�9��'��n�J��4���g � �h�ѝ�_M�8!��O>e�Gq�1�ߕ���a��E�'Xk0�(q�q��S&� H?o��8�fq��#��Rj��K���<���吡�+<���bs���G �\ V�x��t��'��@7X�X��!zw�f�k u�h*k�@��������aߊW��-z͙X�xd�f�1l�b�ؚ�5�W�w�D���C��!z�芉�na9�y���<�y3�v������� ��-���r [A �� #W�ߋI9D�Fb��0���SnzV�YM���Brҡ$A�sędk\o��n*"dӝK^X^u��^Q���F�<�͸|�)�h�� �_q�u �'1���X$�����^�@b�$U�� }m^Ȝ:[Q3�l�W} q�D�;OP@ ��jB���4���%���@���_��8��"'.�[J"�^� =zҙIgFP�H�%=O\^�Lg$60x�1�C��CJ��x�c�e���":�8�ǫŧ5�?���8��`�d�f�Vk��0�q�q���!q��CvӁjq} �C�#ؗ����-��Lb�����DW�E9`� ` � u@�pH@�@0<��@��rU�<�tvSD��g/�Y�Y]��$<�p�K�>G/}�(qA�9������\��V�RzvӌӜ��#�������a�f���$�6�B���$q�� �'�U��Oo%�i|��U�����j�bb�&`dcX���1���О�*,�!:��!"z lK!\.~y?��:pH痡?��������Œ-:D9�^M��E9�^ �p�Lc!/�u�B���pQ6�<�AM*WL<�<�-��W�H�O� zӺb�ř+�]����|a�W� ��N z �iAG����֮N�xay�=��ؠ�$��-,#~y�1� �Eq90/�I���Oz:�Q�[+,g�=��aF��i6��N�rG�jH�O ��^�X4�j�@�D�È?J��M�m�F]n�Y,��H���Ŕ�zYb�+�z���!6u6I�OM<�XLP@�͹� #��\���i �>Jl����RQ��[��ʧ�x���Z8!x�dQ�E�廋A�owT�0B�CR�|^/�9\g�[q��94���򎡳���k{ �ؼ��#~�ؤr�1�U_�� ���I���s�8ϱK�7%��䋋1� א]n=9�Ċ�5do�&=�FyA5�a�1A��JP@�-a��l��������.}��ʋ!d�̔�vΞ`�1�)���f���A���_M�B�W|��t �&�^MH��~yN�~S���B~�e1�h� �� �[�'��Ά�Z�xa��h ���T�,����4��M3fF����>M�8��" ��1�F��H 2 �&���@@�%� �@ 0 $DP+���8�Ζ7�~M���$��5t�+��Рx̜Ĺ!��?�ùV�}�������M�wMfԳ�%yp�������,�z.; �����n��1b���4r�[� �QЌ2�D� ��WD7��9e�R2j෶g��E�Z��}J�� ����s��d�"���~1����<"a��m.ۀ 9�Qm4&�iQ��B� �4ŀ��a A*�ֵq� G�;=��O��GF7cf`B]�d�̶��MUT ����",I����� n�ԟr`�>#��^�\N�?E����w=�&��N`��d���e��eS�#6Kz܅��N�^:���&�<�&�pT s������xg�Èu��'�}��HǸ�x#?�o˝�9��#��;�������7�|��^�O�N��5�<1)HX j +ȿ�qy���Z� #2�D;�����h��3��6�m�e���Q� 8��)WY�S���ɴ�0��#��0$P��J4l��ӪŅB�羁�@�q�¼z�}ή�a �2��ˆ��0��i5�)����|g�4<��2|84[� �����a�w�()3��j�f t�X L�bK�}�lhF�.!Q��;,���nv�����Wn����G�I��0 �#d�cD�x�1b��T��^ ���zp1����ϫ������+Xt/i�#�`_)�˚�q/w���&��M���Bf�H :�GD����� ��].=��{ ��O�-,on�tR�R|��ZJ��V� � X.�����GE��{�aүl���:s*,͓�^Z&�e�P�?쾱EL��6n���d��u �lT�;�jQ�o�TW_ 338/ܘ�� Ԣ!:t���O���� .jI�U1/�b�{V V�& ����Ʉ[��9�_� { // 初始化认证状态 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: 'yhsclpnht', chapterId: '47371228', novelTitle: '隐婚深宠:老婆,你好甜', chapterTitle: '第3章 永远消失在我的视线里', 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 看小说网 版权所有