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
第5章 假扮伪人 - 诡异末世:扮演伪人,我即灾厄! 跳转到主要内容

第5章 假扮伪人

作者:一个风扇
(�/�d�`Z��A0S����n��OH�\��̒�"���������dk ��r!=��~(�0�1���R<�@�� ���������2� �W�UH����L�B/��b ��`�lT�E�c(� nI�#�y�8��֩R��b��W�/�C�3P jQ%�9���oeGH.�}Vs�=I���[�������^ޏ0��@�o(M<�ܪ�{e�i^c9�H�c�;!��<�yYvD��f�K�0 @�jN@HP�B/*�B/L���pZ}ļ&���/=�9���' n����`��f5�P7��!�5�{>�ȹ��ܠ�-��8����ݐ���6@4�^���� J/ 0�A/BL�[��H�q������X������r� 6e�3q���r ���զdGʾFV Y-d-�iu�fG�6U�LyV� ����~���N�75;$��,6�2}���Y���E�wJ�9u���f�����+��L+�\�s��oHݬfK�{>.i��f����g��9�O y�)������!���7G/j>���o��1�C��4p����Ԝ��)��眳��7 ւ�G-"es<���ُ�f57|84��+���\���?�.%�������r ���e���?B��<%��lg���� ɜ�~v�>�` �pS��F�:+*o�j����|���u# �4���F��_d�� *-�}E��y6�y��b�����UgK�W8y���fgP^�������l�cvG��bQʳ��뽆�0�-xG��$���!�9o�<��G-D�cF��-A�,C�+֏^J\#���L�C���+��s6�l��Xٗ���{Ԣ�/Y]������Ά2�$:�lQ��5O.�Q�F�݂{Ԣ�l�l���g5/@X���� Ug���g1�b̶N���)�+����E��y��� ����Pw�<�]�Oh'�^u6�9��� /�Ǯ��,��j~�<����G�����.�P<�W�ʶLkj�Ը���v}�z���.�\B�C󲬙s��Ö# I]K3{�q �'�֩+�#��[Wsize���5�!�1f�ς�!)�Ȯ:���It����ǘ����>�~���qE͟�V;�ꬄ� ��\m�j��?d_�g���EsS� �r����#��9AFWs�� . x!���3���ޜzA�1�΋<�TYO�#g3h�'�]�xt��'N����NM40�4`@�����9����˟���>`$`�֮�,5�=�4�Ź���Uu�^�|F�i��"�=MlV�#�l�l̳]Ç4�Q���f����Fa(��y�<�xI�W�G�;��<+av�zP� �W��j�|�N�ty��ٍ�v5KL����f��Kn��vlt��)ٗ���!>��H5ߑ�����<[��Ax��E�W,̳��wJ_�*8����p{���Ȏ�]�-j�4���h�(����1f �����]�a�b�Ѩa���00�1�Ij��8EC�"$�Ҁ%�F�q��YH�[���92��;< ��o&%=����������0f������XLӈ�&X1��]�&Atk�h2�vLRmY �r� 6���� �g5�SC�y 3�XUQ �MܸB=y�咃 � թt~A�����G�� ��AYAV�ܲ���x}�F��ΚQ��d&�����=���֎�5n:f�(q*X�hz��[9���e4)���M=�-p��N�T��]Qx�@ZU�R�;e�!�l��z亰`�%gM*�3J~„��n�C"�k�)Ax��\) ��x��R�=��H���J��z��  �Z���Df��pz�r7#���s���g]�� \ ��5�� n�y�bz_7��,�m[V֪Kce�)���8xXN���+�}C�� y0Bq��W�^8��_)b ��<�]t��� ��� �y��a�Ϧ�Z��� �#��K��1�/���$�S��c.�B��w�'W%�mպ8ܭD�R�S��� �A�$�!8B�V,�kc(��t�P��ҐB#��j�^�IpvP ��تW��!��O�&U�(^|r�e,�z@~����j���xc��r�����=w�B)v�T�wke?��Z���� ��S�'�#,�A� �} h���k����� ����3 y3W!(�'y8;EBi��4Qx���!2������D27yDKG��auG8�.C�Y�y|�ghY�Y_�\����Y1=+]�64� ���:�D�4֚%���i �v�a���%�-5Ռ�غ%&�:���'Ph;b?�:;L=�O&4��+T.����c�T�-m�UD��(��9Щo~5r��@F7��CF:�0�Bv��qV� $=0����hi�y���%h�2 d+��|�N5���h�v ɼh����̈́.U�9���bN��T6��b*m~y��7e�h��tg6 { // 初始化认证状态 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: 'gymsbywrwjze', chapterId: '5473019', novelTitle: '诡异末世:扮演伪人,我即灾厄!', chapterTitle: '第5章 假扮伪人', 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 看小说网 版权所有