跳转到主要内容

第146章 毁容

作者:一蝉知夏
(�/�d>4� �0:@� ��|����N�G���V`Q`C%6���%NI���ho������Fв�r7c���"��6cot��=Q&f8�PrC�!��t�qxhpM�s��p^�iɊ2S�$�_ ����i �i��DW{�`���h�T{z0j{F���@���ڳ � ��� 6���Nr���x��7`W{.6L��$�5�Сƺn�7����10{,x�� P��XK.�Ӝ�¨‡N]e͡�� �s�W{b`��t��`� {o}?����T��M7+� �-�l}���v�M��r�����U�=P�Ȼ�ʚf�у�@�E^Nó��=i֜��h^f�y��Ӓz���&�� MI�jτ�I1 ҃Ϟ��!�E^1� �M�I�Z�W,S��V��[ׇѩ ��h���W���D<|S��9���A���E[�6^��P_�k �U����W�)4�^�J����]�4|�MF��N�K�op�H@���"o��ˤG��\�9�"���G��`��-�4�$y1�D+4� ��j�L�$�y N��}����'���4|F��om!S�o �階�ڳ��ݗ�==]�D����̈́N�՞5�$�"���0�%��՞b {���c6HP���ۥ�I�ј�)��] .���M�bW{�R��7j��=�n�W̚�ړ�Z,a넵[�^hp�sDy R�!���V���L� 1q�h��Z+ 1[b�jϭr:^�+�=_�9B*� >��әɫ=E�=��D���"/9�Fm����O�܉��R�՞&�c@�����h�P:��@ 8@P�&���y @���\�)"��딉A�kʿ�KprR�5�j�+uK���'���+�X�W>N�3qW��;���0�2����"��E���y���+�(oE-an`Z,� ��� �� ���jO��pL�L� �� -I����0h�Ls4�4Mm_���k}b����NM�M��[�p8�x�Ҋ���"3�G&��p<�� N�'��ɰ�˖E. ��[4H4��x%���z�5q��E^Ц�+���� 8�}ꋼ�Hk,�Q�����������{,�0�M�����"_)���2�.]�6ކ؅ U>N� ��n}O�7)4�� S�&E��ѵ��Xa*� Q���W_䍘X��*� ���ڂ)�O�rJiF$Z��+�4�b�{uQ�՞$�� <�X0��=e��=hmi��|�j�`O�H-���=�/���v�-a�4��`A^� ��X��fD�E�X>H.�"��rdۜ<|ax$�՞���SrOt��_�_�) �Zb-Y8���Ò�N$��5�&ED������jσ��;�b�b �J���|�&�Q�՟�TDp �G.=2E���6,�u}�z�p]�6�������� j�c�M's�(/'���PW�žǃ<�˺r���4U����v9�({,xtj�ë=3�O]g��~S��N�b[�?)\�)�����Fl��2`�t�� 9����d���`U��u��.�|A�S�; �F�w;4&�y�����}�CR�phk*_��ބj��ء��f�[�P���JDyI��㭤�{�Wh��.���4�j� ؕ�=�u]�_tN^1�&�V��k�ჰ�B}�R�`o�J1'k�˞�)�jO >�u��� �I�P�3�x̦�g% ��v�g���6�08�V$��p�*ş�t�@] Fß�0�iڥ�a���!��d�A� X�I:���u�4����S���G����@���Ķ�W�N�:�p���*���:Y[�m�jO�x-a�Fh.�]�Y27޺h��d���=��O���Ȑ����ˆD�D�i^��F$ N�R����!�g�w��w�ᅨ)' �*ԩP pnyL�ms��'��:y��~�`���f���^+�!�^Q�f�hE�T��d%{Ge��?*�ۼQ^�.��|��a��P� ߏ����[+�@l���5�I�/��SW�/�V{*2 ��Z�t� ����x1�E�X�F�`1��3�6Y��`�����;�_�9��&�y+#Dz.0t���9��xkcs�%� :dЛ%�' �Qr �ix�0�� �`%�e�(/H.�Ő7��N�m�Pk�&E��5F�Ե^ ��)Xs���p�[59ސy!�M��h���k�������bb� ؤ�SQע�g8�ٺ2���-��>!p�©*w"xrfЩ*wXސ����(��Pbb tT�E�3ԥ�=�A��5ɑI�[����C˴�s���: �a�7��eЖ���՞{]�Es yq��}����8�Č>�Nd���y�� �&��L���}/�+KO^���ij;A(�¡��~��61q��e��x��A���xKfK2�(���(�0�,�t��"�93��x5�&m<��Zj�{�ʝ�CϺ��bp�s�u���;h>\maxe�h�).x�`'�.h�U�W��pYD~z�k��Fy�/2���x���� �M�o�~��o���S�p����M�Q �@2��)7��a���WtM�˴$�"���xu����S�W�a�&T���`lk�5�2�k��U'���h��a���v4��y&���T�E]�U��'�g8�U}/���{�������# g%��1�` R�8���|))�T�� F� ��J�DS�w��N�p@�|n�Ὅ�j��gk�t��5�5���I���ҹ��((#�� S�х9�U�3��J5[V��J2�, ���®蝵{&Tl�'j]�ss�r� %w��î p��q�PUe?-l������H���0Q��O�M(���z���v# _P[�+C!E3E%���P�!���9��T��e��h�⌫�J���H����/V`��q�=mݓ )��7�&��Xw$ݻ��vl�����oAd� JTEZ��^C��.�B�2����h�&��B�KM�5gK�ݍ}��f"-c����Jp�\�'���S��py��G7 @i����B���Dl�Dd����@2���k�daIK�5O);͐K���!��� �/_}R��K_��P�2�ɥ/�m: K,�-�f�c�#����4*DdP!}}6����RJ{��f��ڪ��,�fq�P����@,CJ֖ ~bpY��;ٙ[<�[�AEH�*��N(�aL�`�5Π�f\Bq�*��\�ۘ��X�ƄՇ��G5j�*� r8�@'K����K��<8���!}5��D }j����d�գ�h�wl�M��\�B03S4�l�WN�ݖ���� ������� ֺ&�}�#�_ ���?d��(.!|�O� ��5�gw0�󗾑�����/8+ꙵ�$��g�u�[Tu�a%��TbEޠ�z�� ��a{�9|�UR��mjd�ı�m��{���"^,Vs��(ʿ��웽���1"�X1V��[��b��Ŷ�/� s�&q6�A� �8~w5� ��{��s5f���s�f���4��D��T;� { // 初始化认证状态 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: 'mingribaitang', chapterId: '37519068', novelTitle: '明日拜堂', chapterTitle: '第146章 毁容', 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 看小说网 版权所有