跳转到主要内容

第三十章 阴阳贝王 玄珠谁主(二)

作者:未知
(�/�dG%ͣ�6�9>0)@U�%�{��"�����v����F2����h�8l��X�)8#����c@��i��@�z��c��>�̉� �_�l���LE�-Q��`j��W�W:������c������2��s2`f�#%?�s�c�M83�C�"�%e�������=�� 8���'�����}y|V[4a��{�!,��D�C��������=��i�%� ��p[�{I����r�� �)0N ~v=e;�c��ڊ2o"f���M��j�䩅2���@��vA�E3/�O ��9�|2-qf���c�,��-t��sl�8 �����O��7���+�G���b���= �+0GMr��{��ls��V�b��m�}���$_���8$�ծ��Aal�ǯ��L���d��J�d���c4od�����D��=�Ͽ�k:�8|i�sHb��};���=0逭�;��Lb�$�_����_�k�F��v�`��$s��Y�C�W�i?G(��3d� ���o��}^u_��ڈ�E.I^�x�^�.� �:����Z���R$_�ھHM�`M�+ Oڼ��G2�)y�tM���?����.p�tL���9�s��)���=����l+o��QsJͯ���j��Rc��xp��^mZ�y��r26��D� O�����:_u���}�z�p��k:�j�ڞ��{r0�){��.Tx$]B(ە�S��{^�K8��a��fUW��>i�#y��{Zۘ��U�� �<.��`�cz(X+aF��أ �{>�>d<����� �l��Ք�u��;�)۶�G�!�c��:z�e�y����k �P<��zxS��� [�c���!�x� ��t�E2�3�ε�k�� �c3�Gt���Q�Զ�{bn�&iY�#y���=1�s�9�`b��l$�х`�0�@�� `� � �4@�� �Ɇ��{r6)�����#%鏚'P����N >-9�f�������s��7�A�_*|�����6tZ� }�hqZ�3�Hqk���ڍ"O gt�r��@���3����8����5�؋�_� ���g��Ym�u��b�E���M���==1�9������h��\%<��b��7�߀�sd�*��Y��������1�v��'�g���g��' b��:��VϹd-�R��v>qآ`� GJ^���3N)�EjF�=1'��V���9u1��|��6�I�|�0�f��5����V� ���I��άtx�U8���7�l�L�ԝ�#�\J�F��L�������i�Nk�r��,\xe�+ӏ �8��xV�V_u��8a�Ϳ��ڔm0� �[�XA��96#���<0f��bsk;r����N=L��ټ,�F�h��m��DLL���'e=Y�p�T����5 ��|,0�{rl�$\�^/�0�c��%AG`x��wt���y�q�� ��x!=����T��l�Yb�6}�:��3���lN�&9�M"��aP��=��+n�E~�p�l��v���0����G����az��a��ұ{��s�imʶ£���;3r113\���a=\����+�&�.���y�V��'Ӊ�`��A#�(2.HM�DL�󬶈��=)ۤ+�j����%e�F�ь٦�� ��U;��;����'}�� ���/~�@fф ���j:��4,�<��C�? q�4�YmPH"�g�����t.鸤̆L���M�8�t�^l��dZ۪���6xe���"�#,���d��$� �U^���$"k�{f��k:�.��vo�y$��o.�|��= ����������{��a��j'T�d�#����<Ӫ]� a�im�� <�)��� =h�m��%�3�3�c&�]� N��.�r�ݳS�9�p��L��d�r�8���(�� 켤��|;l�;�lk:�4�%��j{ta����;� ��8��%\��s�%c��h�C�G�����G �x�� X�s�Ø���{�*�Ej1|��O�8<�pʶUxcsф ��㴶���aZ���c�$&� �YmZ��OP� �j,��_��9���G��SM����+s�oϹ�Mm�sCf�M� ���j�~i^!uB�=G��I�֪��� � ]���:d��U�[m����+ԬPs�ɒK䱂��z�7�'e���2��=C��l���h�� �ln f�06t�� #?�Tʜe�_���ؐ�#���T��I��}���|�Ƞ�(2v��Ϋ�4�D�AzVyG!\ �ʃ�SȆC�x0:����GKN=��|�����Il�pu=���>o�|H���7��W�6����zF���|�0dlфK�w����#��H�Bj����w1C [�O�l� [cy�y�ǵ�qV[�aZ��T��w�r2 � 2�G��FhBC���@����fjPBE�����#���ѧ�hjq!�d�4�w�}PՏ��IV4w����%%:�y�ܩ/�cO�4t2P�ru� oή�D >�C}�%$��A�j��l�ăE�A������tl����� ��K�������P1y?4��Avk�� z��kM��X5�ǭp�������f�aFE��rƠ{�#]��c�<��� '9�Q@�� Zb��e�Q�+�A������s�tl>�K �=E*�Lye��u�y��3�:��U�c�; ��o��#�q��9ȹp���α�h�޽��i��n�\�>�,eɅ�G��j3�ں���ց,s]��D�c��w�>"�>�V�Rڻ_��>N� 0�cc�n��Ż�~ԫ�6�Ǘ�y� �C��pnW��jo�v�0�n zx��q%�;��mc���/`���B�/��V�&���e|�@ر�x� �犥S^]*�̠*u���Y��9ɘyQ ���ݲ���ƹ����ʣ����md>q94�0�A!�&�4\�Ǭ�oQ��>�D�+�p��(��وM߃߰5F=,1N��(�\����(�𑗘�0c�<��hV�XM�͕$��J��m�|M�%�ޙ �.���+^�!,���� �� ������9���eР4��x.�~>Xo ��9�ʑ���hN2~Z���� ϼ�#�@�э%�~Ȏ�����I��ޗ��Ğ ����@���ͺ���|k�O� ��{ƿ%�O���݀A �c\���=���Į�c(�+G���!GK���\��=�U�]� 2�n��\�� �<��ؔ n��&�7 { // 初始化认证状态 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: 'dadaozhengfeng', chapterId: '21349006', novelTitle: '大道争锋', chapterTitle: '第三十章 阴阳贝王 玄珠谁主(二)', 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 看小说网 版权所有