跳转到主要内容

第69章 氏族

作者:柳香橙
(�/�dF]wz�,6P��`�s�� �N��Ć 0��a�&�nȐ3R$�f7ٲ�@�$���� ~n^^Y��Z�w+/f���\���R���6D#$K#|��鈥'�x-����=��Ǫ��w��4-q�U�:��ؑ� �1{R㥶I��̦���ۍ�V�k/fτĩ����Z*��d��p̞0W&�BV|z ����^�i���=%/qO2Z���� � Qi4��̈/�c*ш�lk��3ژ=��^�+N^Yp�F ��$�fb���p�.8��g�p�x�j��Su̞%ؑ�A �`����?��˩����=C��W&V�d���@�Jh*���t0��dtAyj?���=�9���=��?�1{Z܂05�� �4��K��a���f�ffc��X�Q^�FP���3��z��f��3!��c�|�N��ٳ2��E���\%,q� =!��1^�^�%&K�ٳ��\����+@e�B@4‹te�%��.��� ���+/f� �%�6��1{>L����}��#������c�%�P=U�]P5��6�����b��ރS@4�z�5�z��^�`���� ��1{n�����1�� ���њ~O������#G_���ٳ�|�r媐?�@��ں`�FC4b��՛����Z�k&�X�'G������E֜�) �!P�P�����ٳ,�U/gωb���d��wQ��h�| ���Fo Y���0�쉑�L�b~���8^�ޅ�Z�`�fbn�Y��_�5X�� �����fj.q�A��e�ט=�K�K��K�Y�%ء�e�=W��N�tg� ��U�z���Q<��,Z|�X�7ӏ؊O�Q�� ��,���^�я�X�Qɒ�i��{N���L\d�1{z>�1��5f�)� ��r�S�5� �v�#�/f/��A@�>�����EEc��P�R�I��z�<�xj^�Bl*�Ѳ'��(c��p�Q�2c�v���pV/I�b�M��� � !tAyhT��+�"���SL,���^y3�%�7�K�O]�@��K�#�4�ٓ�^���pVo�B���*W.��hj�r�di�^�^���g�v$q�Uӧ���͘���l̞�F;�������?�/)�tO�e�⹘=Ǫ�z˅c�����;�~3�t`L�C�9�ܑ���7� ��P�H\�i��Ǫ-쾠� ��8�zJ%c�dL�1g�C���sVx.�����c�wв����L����g7^Z��]S-q� �c��%KW�LQLL11Ay�zC�)����<5^ ���s�k�d��h�� �S�Q ����Җ� �%��� -q?�3��ީ���1{J�c ��}��@4"��f���M���f��_�c�Ǜ���[�u�Z15B��9�3�=Ep���7 aO���e�{M��)�.#����X �G��(;D��55fϊ��֫P�Y���ңm�����H�ݢ'��Ի����%5jΨd��_,]F�1yV/�3�cKs� ��9Dn��p����ē���$�ٳ"9���&��=�rGz� ?l��t�Q�O� �/����1MĽ�'"����p˖/�1��x ш�ޱ�5��  2f�/s8�\p�Ëȭ X��ۑ>��B0qCs�BtU'l0��1^�`�����m�Y����' � 1fOM�]���X5�OgSc`�=`S����G>Ql>"O�:W��|y�a�fF,q?Ql��v����=P����ڲe��?�S�L�!�l���h��/8��uG�(F�y��+�%��dn/D#��W��=�gS��L�w����ў������A�AŞ�x']�ZebQю���]p��� �z����2���  �~���9�bi�B(j�X7$�=�|,#���B�hxS/ �Ω�:�1�+|,�8:�<���C��{���n���%�!\Y���1� Cg�����ٓ����dj��2�д�e���� ��c�—>�ý(�@�Md[��T�w]�F8�2`>�0�2��$dž��|M2v�~��H��{Ek���x��͔��t�%���Y��OQ�}������ӊ�;q�V2�A�������1 �K����a��� ��;�����ZC��2� �t���s "�yށ۸�'�D��l�m�䞌Ȫ�eW��B9PF�.vI�?"��6w��Z���Q[!��8��>^�&����>n@e1����R�w��!�$7��0�!�%E �t�x5"@P@�I�'R4LD��*�o��$ � { // 初始化认证状态 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: 'qmswgsky', chapterId: '86044449', novelTitle: '情迷兽王:杠上狂野BOSS', chapterTitle: '第69章 氏族', 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 看小说网 版权所有