Deprecated: mb_substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/kxs-php/controllers/NovelController.php on line 303
第一千零一十四章 脾气秉性 - 官道之绝对权力 跳转到主要内容

第一千零一十四章 脾气秉性

作者:佚名
(�/�d3�pZ�'8P��$�{�����m�g���f���_����&��&XdQ��U]��9t�BP��``a��<����~ ��.��*(!������� ������M��E� (�5;W"w�c7��ev�U���=]l|g��:��Z�{��4[� �ޑf�\�ے� +O|x�0x�� �;e�⩲-����t������1�{��hSe��� &���T�e_�/�z�?���C0z���%c��8i��� �P�m�> =�6#�~VA�����۝;��Ú��/�F�����3�ķ>��~c=��V�U��+�s��U0���Se#�� �6�p�2��.X�@�P���* ���B��}r�\����X����l�\֗WX�xm({gg�3� 8u|=s{bP?��`��㓇!&����$'`}aQ$j�0��%o�k*75�y�9*e�b�)/tt)���Lu����U�)�/6�B�#f�������rTR'_������pe�ď��m�lR� 2e�*�0{�6f3v��G��>0�l�\�g��F��#f �ghū�?.�RC ��1c>�K�g�7��m�8��O����,�������o�yav�SD�G�h�ъ'����Hs������b� � � �-N� P�^����nC�>؜�|�0#u���u�H=��Nn�F�7f�*�|��ji�T�cB�$��G��z]�0;��UO.7_�m}d��攲֗eC@9C����l�]0�8Bŷѱs�<<0>e�q┉��C���3v�Ě�'s�.~���>��v�c>�8r�q(gno���7��B�qX�0~�D���f�;����W��+P���s��/�{ĬI=�6ê1g�QI��U�HsFyd��'���;�n��m�ÓK���(n}A;����lfx��~bP vAd�gf���>�ym�Fv�bߺ��. ��t�+[�F�>r�!Q'���Y��3a�\�fc>7+Oh0�2���Z�3����Ad�\9��+�Ŝ0����;WϪ������+�W�;�2˹�#K�n��'ނ��9C���H3�s����g7�����t�V������#K.oS6���Q)g6P�#%=���ѳ۠�Y��hȟ�蓇-�E@�n��:V�8������ "G�_�/c�K�o'�Se��73��Gَ4c6��?6�C(�J;�˪�1��Bv�P1_�&,> >v���e��3B�H�*P/Yrf�ng�!��] ����s=0�C��mG�3D.oG>� �?P~F�b;�I�s��<\?�}��#5�>���0[�Ѓ�����b�T��%P~�������.H��d�Y_�=1��B6g��QI =lio�z����.9d��yW](~�F����� �ъ_�5e��55���M�)K��o�8�~R��� B\�]p�b�#K���@:�a���[�/̞�1;�Z�Y����ç�Do3�lٌwF����lȹJ:'O�eSs �OB�<���� ЮȦp�`q�%W���[�#H��&�5�#����������l}_pp�� KO��W��<��|������Y�z���N&/|��B�ƨ1�q�82P���a1 �Y��8�I� ��������z&i?�2 ^~���ݴ�6\-�?�5��B���Q�b��*�b���b�t�3@� �,$Zn��R���63�yΠ����L���"��y���)'�k:pGf������86n���%��S6ƊZ�o_�y�\%VQ��G�_B�4�a5���z�39�c�<G3&+Q'����7eR��y�!��Pwj꒝�؀GQ�+1=��iD�D��F�lp�߹q-��.|�5|�� �t���p��QaHXn�6 �-E�X�f��F�N��r��/�v`Y���Tn��H�HWT?�7^�e~��3� �x13�o���VR^ߐ���� bQ�!�Vq{�� �2��_�ğ�ah�T� m��mb��_���7�$� ������*��0��L� ��!uFE:� ���4Ry8��:$V��v��[�M��i�\���!��nb��3��I��a ʸ��Ԫ���.����􁬝�W�q3��J��%�P��6*�@M(�����}���I�@�J'c�b��&fTv����w7Pj-6n � ��ۤ4.��� I����*u��Dps�2�X�T�J��� ��v�JpN�X��'/� ֊Ɛ��ތ(ƕ��`�q0)��M�o�Q_�@�X�8��on`\�ԟj��n������\�(�aGЖ;2(� �+=t�G���6=�e�<�n5f���>�x����D�8f����( { // 初始化认证状态 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: 'gdzjdql', chapterId: '5170716', 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 看小说网 版权所有