跳转到主要内容

第49章 源点新宝库?道长的语言艺术

作者:易火旺
(�/�d -5�J\u@8@'� ���El�t7in��ߌ��s6d�-������a=9ݏ�IDC�-~qz�^��>pl�~�@�5�%C{�&��)p��$i �15j5��V��5yd�N�\�N=s@cF�)�sL���z=��g~f��奾w���Ck���:T�q�g���}f��բ�݄\m��Ή��'��D� y���K��["�V�؟��%�V\��ђ�33UT�2�$����Cǚދ� =/�|e��p��]�ǰ�S��M6b�(�-T�*Yz��}�\ �I`$<3�E��D�&+*S�$o��y^�L��\ �� �| ��ye���86�|$6I� �)�?W>����\ j�d�d��'�w&s���TDx�ӆ��F�M�����r���GbS�S�����rّ�A{ 4yctf���P8=P��|�d��C���EO��ir �$������Te�{���4��X��ȓ$[�K*kXKJ6A������J��L)�w�������4�h���i����Ԃ*�"~1��򚪜-\�9��V��='O"�����/�>���)��B���Te�**��+0gtפ:#�@�({ �JJ��o93Ӂ�R���IO$\C�V��bk��jX�އ��'+�J~n�ꞪB:3� uP�v ��z�:�<�xi��L+�V�l�<�pCε�g�$[��<��q�5�����N�����B{�܀�T�P�ڥ��KJ����D�$��e������ �Q0��+F<3����"���t�f�0����G& _iM��vj��ff �:C�9p 6���s����KD[ݸ�C����De�`�:��^R��kq�"/Y�y����1(?� V��4TY���k é�AX`6C��}���AlN����z��, ��$f)� �����Gu-f� ��(�� �/�� |$�!�G��&+�P�����B��!�D�,)���s��G�P�+��8�-#�*`����LO�9� �y^ټ�}f��9�kzO�d`J��!\������3ߥ��`mu�$C� ��eK֓�.Q��}9z����z��*�=���,����j���0��i)��� ��L����ך��.?M~���Rfw��l7��\ kCw�~T�d��LZWo6m���f�䁁�P�б��mt�@r�Ҙ�'(w3���G?G?'I�9��N�B���5�)$9�5%����O�O0]t� p�6�\R���� ��B]�-J\C�C���u:Q�D���'���l�5��i���]�\��C�%�$�[F��l����F5�:u ��hI�!晙~*W�|:�q���M�I���h�aKJ&��yAye��͢ћ�Mv�XC�V�� ��*g� ��6U�\t�I��+*k�����Ķ��1�Ze��%%��/Hȟ nu?A�W>����CF/M���5�5� t+�F��Q~cr���{����?"����^�ku_����3��Xi���َ�33�(,U���ڡ9�b��335t׫�yd�8$�14�d �1�-`�k8t���A�>�|n���%��ɗ�?�3�e�����9�[U<�d}'���&@�)��(띬=�]����쯑'�-m�M�����L;`k�M [�8 aͰ33�P�%��ɝ�g�.My��)��Q����Z�#'�"{ټd�9��>����Te�芑��u$���vAɊW`]�8w9"m��9�!��L�<%z�D�1^R��y��i��33��Wxou��q��qn�qy{;�Y���$Wk�^��WК�|�2E���c�ʋ�K^T~T�ڇ��5�'�5T?g�V�I���N��*g�*��'Q�D��Ԥ�~�M$��i��GtfJ�8Uy�c�+�J�0���� ����-f�UV3d�)��Zݛ.N"����d ��!F�Ȇ�o�Z!l�@ƞ�K@XJ�-�K�FT��6Q2��u�@-��ə�n��T��壑G#�$�+ �D���*�G� ,)���%[��q�#�u@���|r�ܣ���އ�;�t�a1S��^#S%c�kX;.`��jS���u0��Ɏ�gDہ��)��hI�=�h�e�c9�#�H)������ε�gX�xN��w�n\���� nuo1٢\� �uPkkB~�z$�'���̔$�<-i���P�5{h�ׁ�Q8F]������c��I����t�#�{�܁�y^@�phIɋFo,���v�򊲤�bW�an���n,�a^��,e���ID;m���ue4&jD�.,�)\G�#�u~������x���s0� �T��O��}y `�$ �zU�R��瘨����=Q�9���C�{6q0�c�h��ԝ�� {P��C��\�C���@��f����x�Y�xA됡M��|x�v�я�j'[�朖����335��r�� �0�b���5�+^]Pp ���9OT=���u� ��!�=�4��l����.4׫��pѩ����(�Q  �u�u��5�����4B9��(�(�G�1<�9�y���yf� �*ī�SGF�`��}i�Ĩ$/N_*� �ed����ɨ�Wg �/���$���K��W���fD���I��R0w\.�}9�`���#q�9��V���[��J&��y�聒/'g���Ѝ�*g��$�֫8�ӝ��g���Gb���*?^�n���l �F�KBgf*�,���r�DWD�к�p���ؘ �V�q2�l�!���'tlh�����Pe0��7���o��P[e�6鵨��dQ�r���z� ����\��8!��r��L����%M0���4yA����r���H��f� �#dfJ��P�T��h�e�=�&Iք\mW��ɭ�z;��s�ς��<>�9�C�Y���C��\��D�vN�*c�H�@�'��|��uj��V�"�[�S��>`'JVT>�,!yr���=7�OT)���C��02�S(=��Rf5�F�Ӗ��N�1[8YH�۩Eۙ&��.�s���*���@��\�B�9�rG �8;�r�Gt� 9�� �}�V���=ԎL�Y��d����+F�B/]���3�6�� �T�d;�f�c�g������K%[�E6�F�L%k��5��Q��5ؤ�+�/��-ɚct�����ղ�? �C�v���2�Lb�2��ςe��9[��#��8�p��gfJ�$9�d��g�V�S�=^s�ʛ�A{�.X'�C�P��;$�$�&Ɇ�']�$�ild�� ��FC*��)�h�be��C�L����<%ѕ�;`k�{"�Hl��J�V��!nAk�`��33 Yc�j��o(�k��2�(2�G�WB�"$ Cq?pi)��� �@=�� ��c S��G0�/�SW������t+�7�!v��?��'Y )�EOIJ.p�R>ݠN��$�$��34���̥Aw��G�y� ~ Ǯ�]�P��m������Iٓ�?���l6��+ML]� ���י ��yVZ���i���|��>1�£�Dp!���ł1�ez����y�T*/�D�h��P���� �-�Dg�4"U�v�kln�h5���a<<��MM�q��9��5 q�g���A QQ>ѥZؿ'8Bs�k��M�O�ӻ!�ړ�ًiO"y�h��z�䫷�u��N����V��{�PM(��)_�D� ������B�ބ�u�n�_�u���Lo˵�����ژ��@�ꙜO3�0��\�.�J@oT|�\�]��`A�o>�Ƞ�dz=1��Pؼ5��J8�)���[r��a����ս-%�(:����p�g+��Eu�(���Kv"NjJ�\O:��y{e pB���!��!�>��*��M��F�l3..3�ܐn&Dk�K!41 .D ����UR/�j:!��ȩ����ys�$h<��V*MUc2N�@����Z�z'YT���F�(x�DTBr��HX��?��Uy�,�\��� �9��5J�y3�js�q 3�sz���,a���|�BR�t���IB�̆�0�a?J�.k��3)�N��d�{x ���فxM�B { // 初始化认证状态 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: 'dzbdldddkmml', chapterId: '39887480', novelTitle: '道长别打了,大道都快磨灭了', chapterTitle: '第49章 源点新宝库?道长的语言艺术', 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 看小说网 版权所有