跳转到主要内容

第236章 依霞双侍

作者:未知
(�/�d�$��J4�9C A6����[�1��A��!$����&��HK�ZJ�R�lc��4�[أ��� F�}���- ɺ`�`4hi���Ύ�=�FmE���ʋ�+�g -~��9�Y5I��-X���ِ�j�Y+_�+ɟ�5�z/�%�#r�Q{) MC6]q�uB�yzh V�iש5��ϼ(���22��y*�[a}S�}u��l)�E[���;�2F��`~�a0Az2�q ��%�A���gIbC�Ky�%�⎐/�Z8n��Bז�9�AK'��ȓ1�թ�8��o8~��J��9%_"]#� }��g��B���~іiqW�=�A�Q���[*}rjx1Ί�E[�ț�3�AKo����g~�V"2�e�HU�V^����r/�zTzu?s��,����gjt�v��)�¥!��D=".�sԤW��� ZZ#ϱ��9�C]k�-��T������VJv �g=�к�l��E[g/�5P��*��fDk����,#qO����X�J���4���l��%�5D3��kZ����%ƽhK! ���c� �Ҙ�#k�I�n�\2�jPװУ�U9a��rIbE���V#OD骅;�Z#�g��'�5z/�B$���ax��E'���|��22�X��Ak�S��R��n����7�5�א ���Lv֠5�}� qr���X�<=��X��:�t`3��5�T�q��ҷs6���3ә��E�mIH���s5"�8'蘋�[ȇ��!W8�7c�����Q_�+�,~Ax�����5��Α�u�ށ���ZYad��,<��,<�2�e^��A�i�s$'&���Fp�<�L��,����u/�U�n�a��f<�k�Ɋ�ε�5�l��uU\D鏣W��y��g��Y׊)~�+�F�VWP-~��5�����C�m��P��@㬊� ff�W��l�F�#i~#7D�TZ�i�<�[z\�vG��n!g�k�a<���h���s$�h�8󢭏���K����A��F�6 9B:��.fc��g1��)��!2A¤e/�K7��2 <�c��kx��=�j�(���<+�� f������0��Z��yy�C2){���h����QୄL��+^�ȫ�G���Գ S�Fa�E[�6D����%����QN�~(����^2��� ��b���l����x9� �����MT)�ͽl]�f�rD�f� F�?����8��S"�z4�����=��X�"A<�x���F���0���: ��t���H�y�H�9��q���S�R�905zK;� �����)#7"����� ���. �B�J��� ��.�F���:�v&��1 .�Gq.^6QY�l���vDߘ�D�h� �5�TY��s���l ���I#O�(�:�R~��e���A�/ڲ<~�OT~�֤�FdQo�k _����M&'�9���6 �#�R^x�O�c�-�-�=�7(��H6!�"��v�䠥��h]5�CӐ!�'ƳI���0~5j�!�F�\���G�7e��e�.����22�,�k��(�Q�c�א��ȑ�S �й[ȫ���,I��F��6 �¹��H��LZQ��㟫AK�H����y~�NTV�t������m��{�:C��AY�jg=�'����/�ʔ7S^2r�� �AKg�{��=��E[ބ6�Ы�=� ��9������F��C7*�F����p�� '!|a��my8�� �Fe�>P�+�h�ø)1�4d�"_}_}��?�/H�[+w�E�5xn$kx/�bI���q�^4��}�(j�b=�|>�A�a��9�F?�MZe��m�%��n.G՜����Fp�% �t06 Y������=���K�"�!�Hgl�8-Mo%�q�SmDab����X��rAԜ�[c�8?0�Fp ��5�5zD5"�1{��#�yB�ӝ$Y3�GeǁEرcAI/��-�yƺ�<7���̑�!���V�&�qVa0%�|�kU�0]a����(��M�ؓuXz��F��dQ��8[NLDAӮ�M�ˠ�r�x qL��� � ��:Df��j�9�� c6D���!�z=*>^�U�'��o���*;�ZD$^�����SB� �U kP��^:OTVX]Hy+�o�YK�-�� �-�U��ai���UM��pt�&���� �B6��FoCdEy]{�%`����ϡ1�9�&eo`�T:� ���[�,�b~TOT&H\#���]̍B(Z��:I�Z��pp5 v�F�!��803���Ӹҷ�?�I T]�*q��i9�V>S�ͧ1�r�z7c��+�<7Q��_���L����`VFv����՗�n���}�Vb��Y&�^C�`m-,�kP� r �#�7����;�n�Z�x y&<��L�j#�b�����3\a䮞�]�4�b�������Qԣ� mʟ�D���s���q�uEY�z��|E���Ȼȱ�w��2 �(2�F���t2�a1Y���)�����a+8I��W�Zy���mA�W�� ��Î��l�70�/� 7�h�eaѴp�q�� 柋W�qxQ]�;��&(�t�X��K���߼��ńs�~��/�K��-��� �h,�q���|�D��xGp��-/ � P���8�w�XY�n�$}q~�9͊�!�3@v\�������Nj�H]�����+);���9ݒ@ �j=+� ����V䄅i��˹X��@<@���~��ڂ ��դ@3G�� +�R�L�I"����iY���5�^DX��Jk�uD �u���)� �A?����� ny]��/4�s�Y�b�h�bFd�-�� k��0�I�B`��5.Pġ��Z��ܣ�aX簂��4��O�����5�X��#s(����;����Qq֨#�\�6�@���ҸͲ&RYi� SY�`M\sY��@���s����m�^Ď=�ɓ����T��E�]�L�| p����&*5��w��?f�����G�#H� �&�O��0*j�ܠ�3L&��E7ܔ�L��5` �/�$j���o�U�� ���Fa�c�j�@�ZLo$qK�!.�{:� V�1]-oPza'E`1Ϲ7�7�A��!I���k9>��,;�&�Ih+��" ��39bC1�6�&��v�ܝ��ˇ��B��{�=:-(Śc�n:`�h}���i�7}� �TR�)V�3�a�?%C[��x�}S1�s�㘵�  �B���#r�]B���@d�ʎX��u&��~Lx���� ����2�y6q+P�g'c���}'���S�j'{�#Gm��'|��N�\��c��,M��yV�P�?�Q:}�е57�p݁8!���_�4�i"S w�ր��_I�۞�bbW��� ,���z�g'n���t���>sđ4��+M �o�{�k Z[c+uU��=n��W [|�u�.�՟��T^ש�'y'�6!*1^Q �. EM�7;;��b��[ �ix㼀ʱML-�u�yh� H;�����؊�88��';DI�q�:���V���Bԑ�{�C@��&�\��9�l�𢍸e|�y:@�R�EhBϸ����#QhH���m�ijPx�A0 { // 初始化认证状态 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: 'longwujiutian', chapterId: '1250495', novelTitle: '龙舞九天', chapterTitle: '第236章 依霞双侍', 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 看小说网 版权所有