跳转到主要內容

第一百二十三章 驱兽仙师(上)

作者:未知
(�/�d&�Z �1>@)��{���K�$�)o�&�K4��aDt-� "�,\adI��h'>a/Bz��2=x�bln�\�\�dl�D�$^2v�����<�3W��"�*�)�u�>\&�����Ť>x��` �p�b������N�[�c�P� ]��kl���"v]T�R~�8�yD��wB��ǯ2��6.u�A6��<3���� ���!W�*�vPO`Z�g�m�U���g<w�]�D�[�n��gr�6H�r��r�3K�E�<Ż� �o��Y��5��/�gx���� ʫm�@�؍���Cʩ�? ���.����%�Rwł�l>����lp�Rw/d�D�Įd���2E�`̶d���r��5�����͡X�:�����W�22�H��]���&^1�#�۲�!$]���d�i�]i���W��?�_���� }�o�m�Mn�>ڞ*K��}���AY��2ż3I73�c�s(���#[����BfT_Y�b�/��K�ͤ�h�I_yo�f���*S�O�c�ˡW�Z��l_�`+z���»�1�_e��]m�ۃ�;u�����i� �f�C���]m Q/�Ȝ��]�6�L{���k{��^�U�U�3��i���C�,u�Aq��&__e�Ӿ�VH2C�bu��=�n�Ѹܙ3�|��e��^�s��L��0�H�@ T� � �P@e��n�= L*��l�6���P��|�i��þ9yF�7�5�� �U���]�9u:E�)�u���%_&o�q����Ҳ���*|�}���R<ܣ.$�ɾ��V����>�Ȇ����zz'�O����\m�c{(�|^�xe� 2gT?Z2�d<�Rw#�W� 9�c�3�W�;��]����C���R��ZO����~�i�� �*�Ƽ����Ea���w��lix��ud��Τ�x����ٜ�������b��c=ۃ�U����͋k2�.^�����ϵ�s(�,08^a�c㨤����s��1���;�;ʿ���R@��^�U���G�e�F��/ �`�L��ݐ�����&Xo8<� 7t���9?B8���G�K݅�ސ��ck�weG�0�e[S��2��o��Ρ�^�y彥�)b#��Cl��b��2q9([&��B��~u����)�+u7Bݫf�C�9{��D��16��j[��Ř��ȭ�+�1�K�M�x�)!|!��9�銇wB�L��{�yq��]�D�ʴbv�\J����p�3� P�yD½*&M�]�z��sFエ n2���Ğ��W�nl��0�W�m����l��]��?�+(G`~��q��^}U�rx��� �2���^���2U4�ڇ��՜�L6|\����2U��F��s��-�����P<�vd���� dw�*��1�^}�����ԇD���l������<���Zd�D)�p't�� �S&O@�I ������ �a�x�鄣<#���+5����ܕ_�d>)܁��v�� ��w@=�&aa%� d��:]S��\�.�>H���"�H�*S�����b�*������n����;�P�#� y1�m���S_��y���� �zfK�݀x`�*SLs+�'�k��A�W$�= 7#�U���#��HDz^;�br(�x�)��W;��� u��\� �A�W<�-��p��� �>��V�`��)���+f���gkl��/ U�����^}�P�l[8��fl�C��X���^;)�V_�6/���~noF�]\�e����dkgF����ł�N7'�(dPs���?���tY0V�����R���W�r ~�����s����W��Q6'�`�>a���_nOe��@|�=V=V���>4y���`�Iυ pb�W�.r>o��0�b�^}@����x�z���̯kl#$r��P�L=��@�W�>����d�H�O�2����<4�e�ؙ(g&���CW3���Z�7B]26w 8El���%����[yOM>��i��<�j+f4��������P/uWSqq���|�\�v&��|v5�����n����j[+�����v�\�A^4��P�Y�r�s��E.C���(3�]1[16�����u0�`{�Ĕ��K��P n�m�.u�2�Z���lN~�iظ�6�x��!������͋��1�_ejN��`z���(F`����=�_@�) �i�Tu6���G� W�U� .�� �f'�1v���m`ؐw:���<2WA��̫�>ol_m���W�JƮ���ˡܲ[�3;��~�\��K��y)��/t�D9X��϶�k�/�W�� ��ҥ����G��h�yD�yc;�y�ܬ�f�5�k 86���m� �B�|�-ry�ٞ襎;3�j��pG�c���b���(�D���r�� ����%Wۜ�#s�� �;���{�N�V���|^�Aoho�E���[YD� s��� �zX}�ɡ�℥# �yr�X��3�~N�з��Ѳ�]��0Rw͋W�z��L>ˆ�c>τ�N���$g.�|�G������X�-dG����lNq�2��L7�=�?��Q�MI4�%���f�)b{�H�j)e n��8N�|�x�Ԩ2# ��%FC $D2�DD���@Pi)�2�d @@bPSi)?;4R�V�Җ�|t�Pq �����2N�o�sCGPs��4����N���FY�U�W�V�nn� :�fh2�ؐ�^��oS�,��@��I��A�r�|���C�/�t�,.��p^0��˴��;�O�(�m�Jb ����\�w�\�йH����V]��T#��f$�ENM%G⾲<���W^� ��z���32�� a!LO�����.{l�`�`�r�KTU���m�7��(t��� �1 ��a�[�h����e���smC3/�%�=����U�D�d�Ĥ^���W��{C��qR!�J� �к�3Fi�h@�'��ї�y;즁:��%�G���>�6[d��AP!7�X���� Ԯ���r�"f�A�!ިYh�?�qN�!�YyqW%C��4I0�_��`�0p�y�4��8�/k� T+?Y_�|�o:�Y���`�{���_z�tٞ��/~l�<��RFU,���5f�Dx����`�):ϸ�$0�x��o���32]�q��w^�OAV��#��F���"tlu R��9�!�1N��=U���K��+6^0H�_4��v/�=''�,uEyY & eyۦ�� �΁w��P�1N�a�"-�쀏�~j�:�.�XJ={��ɞ�ӄ�Fژ�$�ێC���$oXlB�T'�y�F䫺���Q-�񜞲?�����3Y��ӎ�{`S���5�@k�چ�� ٽ�4G]榀X}(��o���x"��8 �s�E3��4J@�`jwg�m��f����%�?���]|WI��]Os'% D*��_�gUV �v�l1���I�˷^٬��J��CR���b����5�v����n٪#������C8�=;�r��]�l7@���1ڧ��r({���{5�G2g��`�#���b��L�~2qZe Ί}C { // 初始化认证状态 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: 'guxian', chapterId: '18768737', 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 看小說網 版权所有