跳转到主要内容

第35章 武林第一美女打造记(7)

作者:未知
(�/�d�Mz��/?)#��5#0(��F�U~1�;��1#��Zf�I���O���@E��p���/@��]���t�8zbP�~�_�gSF֔xA֋OFס��@kyl)��!�h"�‘O_ʾ�^��-����9Y� � hH?�1,IV���`���2S��9QW�5cm�u�"}����{��F��I��0���'�bK�>���T�J_]�.bXM��*9/b���#~ṥpK�$��i�{v��?qgXW��L/�%��F��<�V��LA wb����*�bpQ�b�<=N��k�=�4���Xd�.=1��)䭲z�X1ϭʎX[�;y\QVN���!��$7��ny�f�L�c��KX�uy�Y+��O�6���Z����a×��̴Tp3�5^/(N�>v��)H���-Osb�� :�J��� }//�H=���aLʚl�˽�n�5!�q�ib���>!+h��L���I}[�O�BK�Z|�%eB�Xt߹Ow�5c e ������ ��3dv3� s5"�:�Q=8l�k"ᗲ~3S��AG��{ ��Z�F�f�# sb=���.i�c�ܧ/�73 }�X�𙸜�1�w�Ze��if�ș� ���I�n0��t̚��5��t6w��CQ=,`��rI������H�젽�)������-�;�,Cf� _]o�{IY�{&.IV�XO��^��*b�`Q=X'�ߑnZ���!�%͢�._�u3�YC�[�~u�0o���z�� +$��c�;�d�f����PF�[kJ�q!� �ܒ�H�b�sbE���,�q���h��y${�=����Hx�&�}u��4i�� �eL��p��٨5�6,np��73�$�К��dx���M)nr�wN��%1�f�����~�jQ� ��Æ��HO����}r��NY�ǹ�1Y�#�DXQY �刭�nf�A.:��{�ZR����dmP�*�!�!vs������f�����*�py��L1�A�Mگ�-���0&��Lg�h��U3�kNY���� b-�/�A��L7h5u��܁��`E��#j� ��4�f�gY7[A�Zx3S��L5�z8)'%����{��Ñ��ky,j���60A��\B�Vz#�#|��WM�Qnv�@qd�U$9#e��E`��d1;��?��'LW����N]7u�ɼ��uIq? k�?w3� ��Ť����#��@���06VG��C쥂{u]�,�rψñZ���BmU�Z�ès�[�Á�&�����n��AV^(����Wז�K�\�^]W�;�rb-��)��bR�!V��#�Qƀ|��%����W�]����AV�"��Cد�7����LGbmdb?!v3S�q��`|j\� �G�B�Vp�cA kJ�k����v4cŐ���[e73��.K�k��J<� �e�5ر3����G�!�䠅�Fx��)$e73�cc� n)�f���3a73�@Ff�4l�W׎�:ƚ!,�qB��B� DT��l%V�26<݊ƚ&V��ZI����|iO��5��J�!�T�=��u�(i4i�3b��F�g�>›�jq)����)�s��'k��Z��������,�\v�ofڙ���3� ��E �4���c�k�{F�0iښ�HyN }�VM��P��5I֫�*Û�"<�����w�â�:�IJ e�|ߘ�C���?���i�f���= ;�쁢d%�*�.gĈ�A�&� �w�#<���� �L�9���L��QGN��4_:N2~홰��������z���.�8k�E�d�<�� �^ �\T�O�7�[�G�iZ�8z��G�5c�L������5dt���XA��8��I� ��}C�Wמ�]`?vA֎⒌K��Ӗ��}��i�h�Yd �W�c�� {u�kH;I��5 k�)ey�̔S֍��^]?�^�nU���9�� f���j� Z�4 ?n��6����KS���v+���s�*��ƙT-��1�9�t�j?��'�l�zu-�T�����3bY�C�q��mP=q*3%��r����Ne�2mJp�d5�τ�\���E�ꡬ��&h����{id5��*Ӓ���5�Y�w��'h\:8'Ɋ��3���{�1F{�q�c���Y�E) 2�@m%Vinء�W� �[��위��f� '{�p�c=�r����B�(}SV���D��=" ��aAVP�vi�����յH� � �~ �9�j��k.\�� �A �0����0[����OB+�F/��4�1n�?sb�lƚ(���y,]e��]�Ǜ8i�lx]r05&�E��#�BF� .#e9��M�5 $���C���̫�Y9�����H���pj��V /o��8b�Qٟ�7gI�R�L�D�Z�M �h_]�b�p�;qM 6%x3S���^5#eMs�Ī� ��������C�ܧ2�d �~I�S��Eb�ėRuB��w�����]��F��� ��Z���: }�g]n�1����Y+G�+�n5����a��L�̂d���^��+�.,4�;���P�H��X�0�ĺ� 73e�,�]�c9�*�(=�� ��� b�0�H�̨!�P')�8���R�'�Aj��t6�8�a�M��$��fN�1fI.�#��lJh�i�� ���T�H�B�EQz�=��蓬���@an��D�D���P�e΃� �]�8�x=��8%W<��u�k_C�,6�j4�����c�Y3�FI� { // 初始化认证状态 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: 'phjjjhs', chapterId: '26171475', novelTitle: '炮灰晋级计划书', chapterTitle: '第35章 武林第一美女打造记(7)', 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 看小说网 版权所有