跳转到主要內容

汉纪十三

作者:高罗佩
(�/�d�#��4�9@ �*��srLH��d��� b�k�6�� d��6 i��� �� ��F`X�`F@ �����[wH uf�O�J����9�#%/�>���E �f�ur܃��S�$�`��OЯ��Lnf��Հ^y�~�Ӎ�A��P73ӒѡOT�\Qr��ZKH 8@�Z���yRZKm�s��7��"%T���!�[�qyf���/V[j7.ϸ^l�����9��T-���|ڼ6�V5���ѯ�,f��X�ů3��W�<"~���d����c���>�(Y�<3�/���R4=~�"��Jtf��E]^]G>��<?�<�������$CNf�)�XHg���Ռ�y�����7���m�(��A���<_ubč˩ZBM���� ���A��XF ~^�q���c�'8O���L�O�J�tN)�C�Z�ґ�'��P���f���* >3�{F� �1UK�Ȕ�;R+<�5rf��O�Z⎟'U��y�r/ҐZG��%��D�F6w�%��L�WH�(Ӈ[� ��\O�Uu��LI����8j���7�o\�itGj�ĵ�%�O���&@?��J�#ʒV#�n�̡oQT,�����{F&�&�n(�=���tf��M+8�H���K�ז��ʥDZꢈ��|�u9C]����0���&�Pr�d̋[W 7���ϓ\[���f����$.G����f8��ؙu'�W��gf���ea�ג1��ɠ0�x���̔�hGi;#?H֐,wygdld�f+i�qEɟ��j��k��`� ��fgf�!��~v����'�c�N����3�ɽf�� �����ה�+菬&��V���#�֑C�����TZ��������H&Ml�����Eu\O��H��c��&I�����1�h��;#��O�/�+FF ?!ѡ���F� �U���l � ɑ�A��m0=���n�q; n2�t�"����/�>`XE�Ԧ-�+Fo����t�x�NN�J��(�9��LK�[�r2��f��P7Rn_wF^� �i%�c>}��y�T-M V�<�6rY=3ӑ�O�bO�I�3ԕ,\ A�b��K�u�2��L ��Q�̐�̺`�Js�ԡO�$x���v�sł��:s���� uE �p��LA��T�"����c�v;AZh�DOZ/�4jEɍ�N�R r }��EK���F}�ښ$윫7Rrי�2�> [��|�4�yp��BOZW$s4��;[_��E Ou�5bƧ���#cF��ܹM3��߽t�jP��֗� *��i�i�K�-�����7���ټ�s���ص�x5����$�WO �#u����G`���k���³�O�3�r�譵1C]���F��>J� � #�O�x�����ɣ��^C�K�o\���l.�9B��E6�9�� �0يd��6.op��/|tᙙb*�1�/'���<,I2���f\kUO�_�����^c �(�F���.z`%��;��#(v�i�t��A�_Nn$XQ� \(z�"����(�Ĵ��5q}����-6t`33��|��U��i(���kk���r/�w~����N�'�3F��M�ҧ��������33�}993��Ɉ�G�7��?Eo������)�� ��8_���T-y�(-wy���X|\A����MWbg����a8�b1 �$��|1bP�; ��t�6)+Vۺ�4�&����֗��3‰c��PW��b���E��ğ�/`�a.w9I�hx� �;�X��33��&GR;$�����ids�Ș牪#���x�񢖴�?!X�[VQK�6.'Q��y$k�� ��.�bd��]�x��Ym�na��j#w2 �b��L\o�%U<�n峦g-�&�I.�h��,�'�K1��;���vH G �*m�rP��l���j��F�m�q�xuC�`�`�u ���6ش����˒#%W$[D.~;y�����)����jʧf�'IF�)yCZ����\w�a>�����y��A#'8�Ph�J���?�+|4�,�Bᙙ"(�XC� ���Zrt����Z�H�> �$Y�u%vD��'�M^`ΰu%65݌� �;#k �X}�~f�z=�ͬ{6�Z�EuE ��������%��R�s�A� \*�A`-#.=���ѯO�G8�|f�����$���Mw����.�r�Wt� �����L/���Q_Nθ��'a��ܙ\��i��;[W�'�fd �Ir�.M��Ud��L�������E�˵�##���$�;��"�<��1i�����Mw�qy)�!�62�b˰#%gJ�Hތ]an������7.�|��4�b�u�vA���MꜢxf�������i33�<��-�������;R�%�(W��XK�P�euP������i��y�zg�N��k �.'����1�q9�OS�v`N1y����ȍ��u�l#���[27�}�1I2��(x+�1�{F%�A` �>��^��-�\�*n v��F��Xntnt 3Y�H���2۸�Ν6/�:73S��hk_-` �n��: � B� E����2$�3u�@�%@#iH��2l�6�=kd23� Y)�}L��a;8&"�h���k������)�jE3D�c��:DC�2�[��k.�j�_s�Bm�3���G"�dSOT\L�ri]�,�kڊ�a���%g[�D* � ��zi��N"��M�hk&��HR&&?�Nl�?)m�[�Fd1��Pw"�u[U<���m��q�קP��?��;�[������t�>�^uC� <�aQ���%�D$���V�4O d��Oc�a� vrC�(�ǭ�Ghe"���0I��� ���9������LT-�U�����/�jh�0��, K��>b�!��nM2�M�9�s���tӆB{V���mqy�c� e�8,�OI��%����KA��}λ��x��B�[v0�A{�(� I���V�>x��z1^'��1tT> ��d���,�ϕ2}B�0�C���atK05\����X`���2e­Mfw+��{�}V(�j. ,� Aj�؟�(ט���q��5 ݲ �p�O?�kZ�(�6��0�^������:��b K�:r�-�[����ne�ʀ�MbƁ 7����T��[�ama����cfx7<��l�� \��E�H�O68�2�i�5a�(�P�zPa��H�y����H�qF5�8�"xt���3~9i�<[|�`����f��>����m[�M)�U�vXSc�X_L��gqŰ8H4��2�<#�l ���ڎ^��To��.R ��Q{_�. ��&I<�_�ӹJD�||8�Z��8��l���57��a�P�,G%Q�hX� �L�^��O�e��3Ӷi�Ԧ��c�7���,���s�3�\z�F`���T��Zt���g�S�rO����/o1=���b�kR��-e� x=r��/��BKr�����_AH�QHx�t� 4 ���S��g�uJ+���v}��[��Af��"���̧Z�D��=X�ī���_�y������i�gð���`�d�c�)=3���:��D�U���*�`��LMz6�ﴺ �&�e�ع���8j�w�� { // 初始化认证状态 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: 'datangdigongan', chapterId: '71128899', 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 看小說網 版权所有