跳转到主要内容

第29章 藏天山脉

作者:一条想飞的鱼
(�/�dA%U�j�,8P�`���E]�"��>FV�7�N h�� ��Q�1i�Z2x�)�r èAA$T�����3�Lk����L�"2��3Ͻ���=�m)7����4>s��c�z|�!g8O�^�H�]F�C�U�1ve;2ֶ��a������ͨ,]��v5�_��+�`�m9�1�[�1Z�α~�=��Х .�16F���<>m��yG��z�(ᾀ��R��feojGL,�nmoj�@\F�ĭ�E��#(ܠ�t� �=�o���M7�;�)M�b;+�{���T�F�'t�<7�)���t���ڍP��elk۴3ޱv���s�����1�To=�l+$WS��]�花3�c�}��p���A��oj�ږ�>Fީ���b�Nlj�<�-11H� �Mε��"�vM��y.]�F�F�Ur � �����L�]0�;�p�s��UrA�'���3�<�}0>'����1qh�eD"��z��ٗ�O�}|��y�<[�!�� B�zf9Htʥ̯�g �jc�)�)n�q��3�+�G��V���-���p�l�#��������6�,�oh�`��i�����6^2U9��Y����F$`�c�٩Mr��vx��2qV["τ��Qp�U�<`�9?�>�N�.-�����1��Ⱦ��)�ք��NF�� ��]����S&�ƻ���x�l����V.a0� P�p@h����c�yՖh�omO�嬏��g8�>/##��)W>�H�Z�Z���g�WJA�4�f;�E�ֶ��↚��C8c'��S���9��^���%e�ϵ#O nkS�������[�s*!�,]p�z�.�Oq�Z�1m�l�<�/2���6ȠQ}�vC�Nۥ���0���;K�u�h���!���3*O�&(�4\��!/�F�Ө,�&^F��G����E(�x������?��y�e}��,]�i�\�F��;��c����^�N�e��@H�.�\�b\��b��/ۡ�#&�j�@��'���G�1���ɡ�����2ghoYB ta�.A����� ����`xf��w O��܁9��$lK����z��+jc�� �mmO��H�i���<� y�����blg ���j#DLL�g6F���łE�%o"�� ZX,x��mmk��Y� � B>�х���07b�m�j o4e1�&�&9F�Gv�|�|ǹyR(?�L�E�*j�"z�e�H��Ġw ��34���9�P��%v�� �lqR�t7��;�pѢ���ڒ�g8����tFǫ^0|ڮD��'�c ۍЭm�➰b��f��i��+�[�E�_�mTߑg%v�����,�x�!#0:��.Q��\���pG�=����\XQ�\N���X��=���� ��\��ֻ �� j� �ھ�F�dP�lˢ���F�R#?D@^�<4ݬ�6hnmo�S&�|�<�]�|�r��;4�Yb��Ч�R̅�]@tZ;!� �H�B���P�ӳ� �E� ��Li��0�g�1�Q2F��ꊪ�]�^l0\��]���]�7�/��-��������K���b[�?ʝ� �S#OJ���0q�-�Y�-cB��yh�D~�-q���vF�� �����#Ƀ�S�93����&���N0�i��_��clI�m[��n�W��a��g�c�i�y ��q��)�� B#�˅�ڒ>d^�.�0F���a�V�s_�֦��]��(�t�A�%����;1Ċ��Gx�'���9 ��}��K�h�K�;m���ч;��nq��VL�9���}���1��[�V�O���)��&���9d���g9D�#�h���ԖH�br������ݏ��@�0w  �0@`� L�kӗ0���mq��]'��7.a����K���I�M���Mm����[ܨ~�pm�W����[_��l�fk?������ښŭu���:� ݪ����!��)���X.e���� [��� �S�+�#�-<a��fT�h��;�D��y�Y19�S&�0x�=F��!���kw�wj*>-�F�h�7������z ����W#Lkg8-nk{�P�㘾��b��PsN� �܅�X"O��5�+����z�A� �3���b�yJ�=^���ء�S(�~0ɡ�r?�Lq#� s3̝�k�|��"&�T@�W�_a�weo�;�p��zt��^mE���qnF�C�,��).���|>m�;`��z)�x�� Ψ؃��?yu��4���ik�TLv�U�)ʞσ%�]]�b��A+��ϐ, �(X)��u����h:��9�L�:��W�p��z�2� v�>��X�>�)�,�zbDP3�Fbv����OX�3L�]�\�X� b`�\g�wL� �l�E���᳹}�@죧�#z&!�kYT�z��������Dp�P�o�x��I�6�|�l08 W��c�ȳ& ��tϟM*�k�wϒ}f�}�Λ��.��.$ e>��a<�J��}�"�H�ΘЛ-��Hr�`/!�}�;� n�c����/�?���wD7��e�`�sh v��AX��v k_5�m��v���D�l��9���˙m�O�+Z��b�d�x���0 �I}=;3Y@|]�e�Hۂl����:wO �G��%�X�*���EJ�3*�����$�9w������fsW�ƽ�d� S�\������� �����A��2߇V�.Etec-��*�Yn�; �r;���‚��r�el*�2P���,�,ѵ���K�� { // 初始化认证状态 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: 'taichushentong', chapterId: '37078146', novelTitle: '太初神瞳', chapterTitle: '第29章 藏天山脉', 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 看小说网 版权所有