跳转到主要内容

第76章 城里人就是娇贵

作者:未知
(�/�d�5oJ�$? C���w�A0Jw���o����d�"���L�(��"�l!p� ���5 �1��3� K69�#��V�O�>X8-vp�L3�o�CD o����rG3өފ��� �H�y��5f�O�� V`0�5����h���j(fxh�L�ȭ�"�Im�2X��)ȵ崝B/0/�+0�22"Z�ґh����V蘙R y!�f��`�q����Nx�q�ԧ�5 ����h+��|pE�Nx ���3�J�#��B^[��JK�v��;�N�J�����h�Ґ�Н�U8H *m$�e�ԝ3S�V��hy�B��R{&Z�%�U��մ�C���S� N�׽��K�� ��i13Ud�(� }��\�h? M��`�s�qO�V� �& �D�=c�O�V��F����-��5�C�J�_]w�3$����ݩޒ:� {�2GBX��?��cf*��E}��b�i� ��[��E��4�i��Y�F����P��ExMP��a5�3S�!s&9��Ğ���\o��\w��믴��&EkI8f�����B���Q]�:lw�V���3�bf�Z㚂b�L�h�Q݉�v��T�C�u��Ȼ��<\�*f:y����f.��DKA�,� 0��@ `8@A (0@ `O��.�lI�4y#~��r9K,���iI�6,2B�K�uIi8w¹�ν�{�����G��̴����#� @���hIr�����OB_�.f��(��z��D��nEZGw)�A��D�"13��4ŝM`���묺����D��<.��9f���E��k���+� ��x�uuZ� ���^�h� �&���n��.tp�ݩ�MԌ�R��g���{u����� ���p���"(���$��"��r�13��t�] �K��?�J�$�i!WW�!W@\/�$��t�w��e�L��-ɬ�6B����T����:�=�\p��� �kJ�vڌ�����Ic��XŌ��8#�c�z���q�vp�e���:P��\C��Ac���Г�%4 n�"��WBϹ�ȗ��堶���ӌ�1�j�!PY�˘�*�5�U�*W3�@nwZ�:f����mi\�ᧄ��5�[i��L/3U �!Z �X/= ��6��� J�*W��? Na�w���uiI�QGcf�B㛊��u������N�~^3P% V��ōD�-0�u'��gb��)�U`p�q���|~�2w���~~���>t=Z�\"�H�:X��4B�X��Ņ�c� ^���KdW`0�]RZ�LH��v��:���A�C5W�Ws9;-œ����r5�7 ����\� �z��-���ޅ���K&���x��߼,7��D[�Gj�Ԥ�H[M�]��` }U\C�8��y}Q7�;�+-rG�IJ���0�W�N��ު���+mt5I��i��:0`�n�A�7�)(�̴�\�O�6DKA@n�WRZ,™�'��@25>�)���7� �3��Ak���R�I�W�R�8��I��hp�)a�L9�l�Ρ�3��(v`�Wנ�*6w����W�y�D�L1�ވ�-��v�vAuJjMG���6f���G� ���mb��F]FCv������>A�3Z{8���a�%�մ ��I]��~#Z�:�}�7��0;v���To&jФ�IJ+|Dݡ�ɋ����� ��H�s��{'|C�%�6D˰� �tW`�f;��p�p5� �^�/�g�ƫi3ц(���\�k���[�v o�^4��&0�DM (��a��ŧM�q�h?�%`/�X� �I�b��U�0Ӱ���.�w���.�?w\\�sJy�/�F���>�7󣤧zkCg.�x�iڲs�k�c�̔"�o����iA�2�z\�GέЩg�A�� #)�.�'��c뇇�]D[/�K�S�� �Іh5�@8w��� � .�0�]lj7�9�u�h+tIi�g�+�z ��ͮ;�)e*��F�w�v!��K,/_(9�\s(�p8Z�{��R�)��[/�B�@n��i/�\1S��Z[&���W4ZG֨ ���u$`鱝*-U�L����S����W�մ�і��H��u�"��X`1Oe��@܈�3��k&9:���G,�X�5Z-����G����p��r�i��2��9����V�A�e�t�s���U` n��*�nv�^�ѐ%r5탅�q!_Q���vLW�v�W ��Ț� �����!�Nx��x���f;����r2�"�� *�eE��z�>Q<��Ґ5�z�cW� � �f�+��T��qF�X�f��u'�[����S� .׸>�Gh$?���u@oi3�o���Q r9 @�@�a���$�!�DP�K�� Ά��m�b��բ��3s�l��ZX�2�gY/R�ϰz�n� ��F�3�1F Z�{SwȂ�Uj�V NL��A�Lޅ���Mx&k��8 wi�, A*x?�^ǢP�*yV���ܾ��,������g!�F R�h^��}V&e����#0_� �oz�pT9�o�%?�2�8h%��4 09.��&ڭ�Y��� 1�О( (���E@�p�|ʯ�m�@1IeZ�z��VС΁Td�Dy!tB�����Å�h�ͯb��}�#�D�CXLQy�Z[ֆ��Q�+�P�A_��lT����6#"�T�R�����P.������U{^r��e# �+�ُOg�@��/�K���:5 �;RT�J�x�, �˅’�zK�kb��'������i&�ˮ �� ;n ������٧�d�VM��U���#^��rVr�JO@��^;㊹@�e?�W�'K:1��m�61����_!5 Cfe.�;�ҵ���i�զ#���$��a�|/A��EF�9���˭r@Q��H��~� 8oÏ2��;�z�@)�!���U 6����}]��u �]���h�)���N�r�آ�X�X���=8A�J�>��62���e�L�V�ժF6B��`�w&s��L�H�bY��H�8/�� - .�鲡�( �<�_��l�d&�u�R�#��:��q΋�n��ԇH�R�b"��N�-�Y�{YD� { // 初始化认证状态 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: 'ndlskqlhhc', chapterId: '28455148', novelTitle: '你的灵兽看起来很好吃', chapterTitle: '第76章 城里人就是娇贵', 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 看小说网 版权所有