跳转到主要內容

第三十四章 幻境关

作者:未知
(�/�d� 5�z��/@ *p&�;�����.Y�6"�!��#h(&��`0jP�[K6�Eǣ��1��&�$�F��D���d�D8K�����sd���H��•�͑��v�k�;�/Zs�V��ю�*�<;"���GrW9sb��e{�y�������x�ʥu#Z��)[sd�b�fkK��g��K�t\W"������zCx���:�#S���\���Һ���NA�� ���L�O(]Gg^�r��1M_�u\�-Xi�rM�Sӛʏ��7N��V- [�x\6�㴲�d)���s��괐�*��6Q�rd�Q�:�3'Nݤx��r�ruy���;�����V��\u׾�86�_�'��(��<Y����#S=Ǒ/���k"��׾�_��ޠ��;G�8��̻9Tyq9K��]lFb-z/�B�{YN�L�2g��OeZ�bފL]�mdO��?�`2nDWY��D1�|�:G�:�K��0{X�c���� �-�e@O�L�$M+/ƒ u�It��#S���O� �/�z���,G�4��_�m@���H�W�� ��YR�W�.D�l�]Z�32պ�4�#Sй�.�r��L7A4����Q� 6��B��3>[un���*-����,㳋�C�5z^�m0�G�U���h�����lD邟���#tLk���C�=�e4,�:H�����]�ʺ����Vv������V�ddIe�^�L=D��w3i��j���� �E��;�1�v�92��r�(�خ�c��S�)�-G�yI�[B����h� (@ ��� *x`�@(h�  H`� ���(h�,��\s�By��s0-*oC��B/I�$��\�:T��mPg�旧}표9�$��z��]�Z��9K����e��z8H�{���%F]u�'��a�� �+�3$]�˳VwZ�SY�}!rذ"��S��^�=%,x��P��ۜ$��8���v�7��`z3]�dK� G�QDG���˳��j����L����� ��<~��U&#�;�#S �s!r����̉M��`�g G�S�b^�eQ�������E����7LF6).{^����8$^��%�g7�+= �9��pLv����� =߿��9:1��j�sd �NZ9�~��e;��� N+c���w�� ��$F��!('��m�cyG�K�v�A��)a�� ��*yv^�s��J���D8/�FhZK\.q��!qI��i��TVx�˳��6׾n<ΡtS��L:�م�^��.���lFb��#J��NLGVx�:��T�:!��=Bb?�O� ����7�˳�֙� 7�"��o1#I���q��j�yV��u���2㳑�$A~y���^�h�h�"���5�prd*̎Ugi݊yC�i��d��COF�8X��"���<�O���3'�<��vƉC���+�| �g�g'n�K�S����Z��%瓑1�nB��C[Ci�Lq0 + �^vvn�u��.�ӳ�V��LG���֖�v��`8��⟄1�fh�%�����'#G��"�� Q�D�O�M�!q.��]H֣����(�"�����c�l��v^.�*�J��ni���������^*�΅�ȓON�Q�M���sd��8�ˑ) x/ϖ�s��8�%t��╭��䱞�{y6�l�����[e��(Ӛe>T�!�#v���Ň���F�{<� �So*.gd��:M�����Fȋ�5���Y��3 ��dd�e����TC��֗���<�̠��LZ��[2�(��tI�=L�D���hC�=��ٽ�b�3N�_���C�^�l���A����92�Pއy+�YO�w}@������*�O`�N7���Q�FI:R2H����"!� Q���/�=�� ��|i������"7X�{$o��/��W�k�=Qį�m0y��U0������I�(�.���\�{�_�m؜~�02$kO�/�2+�z|!���;�c�n�y�ᴠ���e��վ�:WBOZ�2�8q�:;�g-z+2ER�Z�x:Xi��<}!�ظ�tMsdj̎iv!�㱝�rdꔰ�g�S��yW/φF�0�� �jH��P�b�u�6����dݷ� �C���F�E�y=z��3C��Nڟ�Q�ٜd5G�@���D�TN����,���< o�gH��K�v�3<�øcv��y)��"�=G�j=C��JgNL��d5x5��4�b$n�w!r�PWC� ��֣�M��*W���G�(���ʞ�ى��ZSr�ܰ�y:!�YY'C�<�)�2ZH�u�y��gG�U�Ai�莒1&��^<,� J�֮������RD6���C�Ÿ4�h�32踉�N;XiLӢ��<�>�2ښي��ȓ�B�9΁���rY��}b]�L��� �5��UphNd�9��U��h���D�Z��>C��m� ��)$����7l�4C��I�� �l��Gr'f0'ΐ�)a��ż��� ���}]�L��.Y�,�ؑg��&�-Kk,Kw�GPN������$FS��ڝ��>��*�V������uVD�� �C\,G�l�u_���>B��~�>�nHk�����#<%�����s ~Y��� z^��o0��u!N�`���#��ם֞�`�?���+$_��`�S�%��,x��v�;⫄���@t1�N.�B��㠅�`��� � �=�7��"��* �A���� 2�dy��sP�%*�1��9�BQ�)�b!� <n�wR�n!�y����e�:�l,XBgHAnt�>ۻ��t��w�g|/����IL3�K�b\j���Ul�bE݌�7�jk��Y���a1���<�p��P�Oj��=��y�aLt��z�g�A����O3���w̛h���)��}B���L~�0to�82�{!��4��D���gcR槒�9����5���c[�1�P���@�D� �'j�.i������g�+ZH���l��ߖ�U7�� &C�^4�o3J� ^�]�Z�l�0ޅI�]�`�̝/2�F��W��Nm U����U%逅v�C^�b�&ȇ���!�Gs�M&��[�XR8e���-�('jY�V�L���g�+�T�@�=��P&{���r�L���A�pBtz��a�o �Y&Oq )���y���@J+��� �ß8��r4��<;x���@�1*��5�<��� 4�j˜�U����X�G ��T��ςz�S�������{�����YB_[�ɑ� + ��Mx�Iq Q�]N�h�fGQb��d�K�5Yo����`������>�su0�܎nO�[�p Do�"(Sa�KDL��Uދ��Č���E�f����lj\M�@l2�|�p7W��U�PPu���-��(���@�ZB�J��oXQ���?���7Yd0�=u���W ��DKV ��;����5���A@�s[���(v�^�t��)ȽϐWNB�Cg�s��5�`Oe��*�`�8z�� ���.9�P�j � ��Y%�xVÐ�G(��'�ƼK=� I��S:�d<� ���EV�'���/}���J�M%���B—<�v��Q�4lyze>B *&��߭Z�5.�i; �}:��&Jdk���qu�y)���x�����9P�{m�"��<�L0�� ��Cw �0�n�� ��������.L7 �`�`eK�, @#vQs�@K$ 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: 'wujitianxia', chapterId: '1514683', 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 看小說網 版权所有