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
第450章 文明修正 - 晚年被老婆分手,系统终于来了 跳转到主要内容

第450章 文明修正

作者:笔名随便咯
(�/�dn�hJ��$<0S�I�;��8��ҒċǼ%L�9s�Db�Ų�"��d�m�YJ����<Ϗ�Aj �sϻ��@9<]+_��\��5/�s)_�f;heI+A�]����f#!c\c�)}� �i]� *�å=� ��(k�D�ɔ8�Y���񎊻��QqI�B�q<���f;���o(����x�"�6^m��z>�rBᜢ��Q�R�8���Pق��j��vB�V_�i1o�v�p1O�w;!{�1띐?�/���� ���>�M��Y�qY�� �6KM��O�>`f�B=�Sm��?)[Bq���ڬ�� �{�މtB��=�7 ?\������<����m���5��K{Z_� yΎh���x�Ye y1����r=C^��Yr/e6���O �rf R��y�\�)A��VR�A���ڸ�u��ɼ�QQ�B���� J�E�1�1� ���}�c磢 I>)k�o���l8�xL�0#?,>g�9$ @ (��fF$f�Z9$�I�������jࡐ'��ēG�dk����c5���&�����ҙ��B�8Z�tG���B[m�a��25/����?��8�;g�K<��r��MW�%9lCenF\⩀*K���OH�(/�9��5ޭ6K���N�{}�C^F������� �K�Zv���ǧ�b*VCr�YOw���h��^����*�ڬg��� ݙ�� /F��OW�?�����{@���up7�wat+১5�p?�!�EД��ʚ�r�ъ!��^qh�{�{�DdkxKd�Q3d�#PM>N���Z#�5/��O!ǽ�(�!�o"Q��3�!8��(K�[�g�c��?��"�� q���i]m�:މZaFT�! ��[^m�Ӛ�CރPo�0�^�xj��5/����� oe*K��>\�5�p�S�V���u?p`F�ԠK<}�c�B]�غO�/�t�I�~R���dP�M��2� � �rr���r��0:�c|�{B�|<�� ����DvT\P6��Q~P��)^{Zk����K<��Q9� cA�"� ����keK�i]�.h�� �.���9=)��IH_�rΎ�Fn�y�;�a��Q��� F~�t��qq�|P��3��BfT�8�d���!W�]�������Pegc7�1ʤ�!�AN_�iS��� ;�g�=hPtV��jΥ=���s3���%� J����x��I����c9�A}^�d�.F9S!�!V����t���{��6�%�>K�<*.��R�3ud�����Y ����f�A[�O���`�����LP�6H( �� ��6k�-���J�QqKؽL�֣⎊�4q���w�x���1�Q��iGvGv �]JOk��a�!�K W,��l*u��8�xJ(l ��c/�X�qg`J��Md����<>v��'� �\m�$�Q]ˠ;��{��)�vh\��ke��6�0��{�{'q/�$=K�e/�k�yA��KVJ͌�X]/�:Ꝕ-��eT.5��=1LMsH�n�~�'Kd-�������Lp5܏{�y�c/�c�)�����l��i}I�0���bt����n0���LYm�N��G��6x|2��t�fĆk�w/�5�rr��I���n&�bz�\mvj,�B(W� �rt)?��%�q͌؈�j���R��R#�� Z�u7al�ҥJ3*��7��y�\)o���A��#������j����ѭ�Gd�ke�����8ET~��8����"g'�Zy�.Y) �Ӻ��:�po ,  ,�@�� *#'N)\ldN� ��YJ�n6�:���Bʛ���;��t����ʐ�!c�[9,��b��-�M$�p�Z|���f�FS:��|-��Fu,�>&��`�b�M��G_���8:2gdnF$�zD�h�X��n&�u��"�R^_� BY�5fY�y<�t�\F��p�+�zǪ͆ �R����萍:�p��% |ArM��� :˜���T�U���3F=*����n~�'�r��,�uu?��� wPt�Y��ȵ2�� ^g*'$��;��J����6;)g��8 v������!�-!_��V��W�����?�[ߝ��"�&� �g�9���Ƅ��:!���%�W���c�"�f��������n�9{e��E�-�.��y��>ng���C(Cps��*^�. �'��*{�����e;������.t_�N�����XnF|���w=���ü��A�A�'�P�V;@zR���u�لJG���Bvr&����#rr�c�!/7#<ݫ���Z�0�����b��᱒M_�Ғ"rAʓF9*�Ce�_� ��!V+�~5JP�9�S� ����Q�a) �HFX�d��(�h�� �ɈZ��uje&���N�����9i{\�(C�$IS��9�]a�:�̂V~�E�8"�O�L�a$y81p�u_l�BQ��p��� ��,+ntH��@�Rq� �3 r�oa]���g�?����1D�zt�p��}��,X� �;������Q.'�����Y[�����wq�}�$�ZA�L&3(xYa��s .8�����̨ �H!d,"���+�4'�Q��;�(�*P�D��;� �7�qMk��W=��0�L��;A�'�<@�� ���6��}��J����<�Uƶ����JL1ch�`���>����i�@�"��/zhh�Pf�z����������vAӾ���;M�C3��B���4��a ���a1�SVk ~E��L�0�I�P�|�{�B��vY�O�}Eb�ے��e�0��J��T�,�nv� �;�>󈈣�4�PRb�{GgDBXL��w��=�lTO7�M?�^�������D�=��6������(-�' �$�{H����!�H���w_�2J������̪�kgY�<'K����(�[�壳pG�-�|��� �ɐ���F����znZt�� �{W��~��$��� ��0�o[ �Nn���`7�*�����<�����;n��"l ]�’(�h=��E�٪�E��D9��jE���2poa0W�{o^����L���w ��H�l�9��/_�m,.k�i��6�WX�x��&����//�O�ռ �eѴ�Uj��Mm�E���Ӥ��������г��50J҈0�&��jW��y�2�' �bEMqNk|� � u���][�|<�9��Y�}�Z s>��p���6�u7щ��K�_^1$N���5�>�9٘%V��5 { // 初始化认证状态 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: 'wnblpfsxtzyll', chapterId: '5987863', novelTitle: '晚年被老婆分手,系统终于来了', chapterTitle: '第450章 文明修正', 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 看小说网 版权所有