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
第22章 魁首 - 小师妹她修长生道 跳转到主要內容

第22章 魁首

作者:迁忧
(�/�djUy �*;@'� ���{w��g�X���h�hCj�EE dR�%� �S'������n�mKO3���BO�����׹�?���v��#�j�u<�M�QȖ�e6ׄ�X���j��t�rp���=�^�a^Mc!w1u��S4ΩL�|�eV�G�)k��b������[&�:B$=RY�׏�'xځ��dˊ�������E���/�����e'��f��;�+�2CŢ)�E:C�ڀ<�!q= ��Q���R��.QNTOQ�ރ� ��C�C�~@Z�5�\n���%�!R��d�d��)eK��I��Fe�{���ul�4{�cU YGQ�oR6E?E�R�<5�c��٪ig�X��d^�m �~����ғ�= BcP~@�T���Sc�3:4[�lv�$hl��lѤ?([��JaD��Wx{�B�D�R���e9�#��3�eC��&o}Ru��Q��ާl��i�����ʨϊ(�M>�����c�O�+,+��K�?�A�ۡ�a.�����^�28� ���� Hljg�I�UlMּ��pW֑A� t��!O�!}��2N)�<�̛I�NB6b�/��䌣 JM������ScD r������*�ՔZ�|"��Z�hҗ�|1]�y������ �7I[��I�n��L%\�<[��9��BA�Wh���PnhX��e��/+�3o��eE<@�p.���9'Z����2(�J֪='��2���'S'\wl�4��Fzٸъ�6�����?�P�§���e#�'��u�nxp�����5������gAh�a��#�SʗU�$-��0Y�\kr�ӪOw4w�Z���AlK�V��<���)� 2m]J�V]Zu�t������T�5��_mi��$��E��ʘ�{W;&/P��"}F�b�/��h�{:���{�~��X���{������#I�Lm�i��=`!��ZABVHZR��Q��ft���)Ҏ��/���p��*�J*��@��7(|�jǂhU�; �*h˧�BL��ؖ�G��D�M��hK(�'Ok!��:Z<��{��:*L��?�/�~x���qS=K�.��׵�����f�y¹���{YG��"��x�|�R\S� ������X�!O[��ɟ ��u�u��Q�R/P�u�E!q/ �> �������`�%A�:3Y���Sv+���&'����j���3���O �ρ-�,= ����mrc�bkYG��� ʟEK ސ���^ Y���6 W�%�.�4��)kI�U���!\e��j@�gAx^��t� /i�BtL6Ez"����z���R��7I�0�i�c2���zӺ!ڌh1kM؝�3�1�-��g��&� {��j�C&o@fP��@���&��ˊ�8�����8��@ղ� ��>�Z�a���&'8�X5A�ȃ0�? �p=m�����u�h?"hk����oMƄ�P�0W#�˪���8�d �􆻜ȃT�[��R�W�舩%�E��E��Yt&�"�g(w1��<4 �4p@��"��q��5!��3Ѐ���(�W>� &~�T� �܀�s0�)����[ �L �^!d�ؘ�+�`鮬�C�-!?,@�}^�Y$q�OȖ�[�*V��yW�����X����x�0���I�f���wx�ڪ��i�!O��+��y�iK���#�3�H%��x���֟��:�*"�5N���އ~Y5'ڈ��� ߀�q�{�d��',A�Ȣ2/�H�j��G�[���e���qΉny�i��u2B�n��v�z���*�5 p�䉶j���ɪE[@�ynʺ�:b�����6(|��ʼUzYdž����/ �ȧw?�1���2w�yk�gAH�eO[�O�B�v�.���Ԧ�?<�H���M�����7����ˊ�<�ܳ bk���;Og�6U��9�sY���χP�I�!��z�#ڑ�G�V�F(��'S;&��gA4�ƈ�ຨ�b�g��\� ��+$����q���'�o��4���� >�<Ѱ ��9_�\�"K�u�un�h�Ԑ�S>Wa�6YD��s��?��O��xiY�Q� �b�`d-��Ⱥl��*h�6��O�u�B�vNV,�f�3p��ˊ'w��>M�o@6(�âO��h���uDyL<�2�xO1:��'f9�1�5ȴ5�i����P�M��:^��ը1�a)0 H� 1FRK�`Y%C*��Q�$ً$�}N� u���P̡�l�����}9��I��Up�͹�J�gݭ�J����K���f���L�&GH�)�"�y�� ,�� B�? X ��#�G�xh�7P�Ī 1/�&Z��%6 Xz Cy�6ULa�*I��I�>��K�q�8���&��:�5a�0�U�Ѥ�Zz�C�������+������s��Z�B�:F|;�9�#���S��u�� ����Xjl�UwD&� ��(�Cʝzs#=•\ ���#��� ����C�eb%̪U����>jܰ���BW��"^��L}������Y"~�!L��pֺ�� �J�.�o����,�Tr�@`i�F`i!$I�`M�F�b ��7f�A���}�s�M<�!������"2 ���r�(�e�BP�\G,���[͎�����Z�p[�3~܋� ����4� ��i,���2#j���9B�1��I�S�o�<4���}��$�?Mhƴ �_�6[��4\ګ�?��A�ݔKR$��j>�PR���N�%+fbO�w�@"5]��  9��\���=V�{F����A�G�i��1x�f���M;���߾��D� { // 初始化认证状态 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: 'xsmtxzsd', chapterId: '39124721', novelTitle: '小师妹她修长生道', chapterTitle: '第22章 魁首', 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 看小說網 版权所有