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
第40章 将要小试身手 - 田园财女:霸上极品小皇夫 跳转到主要内容

第40章 将要小试身手

作者:然一尘
(�/�d�U�Z 12=0'V���9�s��%m'��[3j��2;�\��QRl-W����=��e���z���o��aT ۂ�Xxb�[��ME��p�K cbW�7��0@Xd��a���|BȠ� 5�yz~J��mD���A͜� W.�w�^8���8v�3NoV�D����i6)��/�o�n{�=A��×���l{5a�iVp��n0g�>wzi�K��M)���<�p��� 眼��cS�\=t���e���a��ؗ�6��J__?g�9D��?ʮ8����Ԅ�0]����Kn������� �y)����� s�0�#���� 9ҽ&��M�/)N��aP�·�^�$� ��rS�_�ǃsČ);QE70Czə%"�:�Uo:8W���\���U=@����V�����\m�6n�N`�)AU��|u؃�z0�8�H9a� �K�'m� �|&qM�:�7]���y�mP�[͙�҃���L�ԫ ��`�i���S85���W��6(Ԃ����T�?c�Ⱦ>�T�����j[s��V�@�B/��[@�Ƕ"�JM�n�0��ç�O��~���з������:��=�8fz�I'E9a��5�����#DV�~u�� _'�����ME�g*��������<�<���=`��d�����퓁��'���� ����Q��_F��T�R���k� � W���vS�̗�{<�>�3fP�7.�nJb~��g�Ef�p��Gٵ�)�/B~�9����f���ALJH�!� �%0+B!_������ � }�{��mT�vS��9ۗ�7�|f��^q}����W��[ �:��iB�& [< *z����7&�Y0g{�yF�H�Q�������;��K�U=bnf_Z�43=GAxiA���.�hqÖئ �*7h��sS�B? 6��:L&�;��B���m��U=)x���"�UD���­SF���s�M,\ѡ�c����+����sfk*��c�:�g"/��A�r�M&�S�Dn��1s��x��/e� �6KOpud�^о�-�8X��ݴ$�B.x�� �dPE茅_��nv(UQ�C&����Rv� �l9����iy�'�M��="P}<Ը"�M�`r�}������M!4��Ϙ=���l���̖.m�ֻ�n7ͼ�l>�D~�ig�ؚ�g��V��˜�7:nNpWQ���s�o7]��ty�Ó z :�� ��,|x���������F�%����:^��|��E>!y�d�G�k*�����@�j)��9��M�k� �����@q����а�r���ty ̠�l ���$:�ɏ9����ÙE\ ߒ~�)��Ыm�pg�!��MA�g� L��pE���.'��p=8It��6�)�>�|��,;Ʈ4�E��L.'�A��M1��5$�|^mw6b�=A�&��6)���%�2uӑ�-�{5!]ų��(x[�������?��ar�-��mB�&���ϘAɟ��ʦl_�S��T���V-�b� �)f'��8pi���ǃ ~�Nur��`�K۵�IY'?9Ae&O\�o��� �r��b^@����2� ����W��a�G�WH���%�M7�?ꃊӭ�DZ)�;�/� J�"�W��3� ����%�$����puX�Ɇ??���HY9��!oB_q����M+$�hزq���Ii㦂��8��»�!�&�M������>d� !�D�0���M%�S&g���3?"8��{`�ǹL���b)�y��y�e�f��M�͹����Q�� ����m�@t�أ%������D��P��Ù;�P�����ʐ�M�[��n*�p5�j[��e��PC�&����?O�-���0 "B����s��Eȯ� ۛ�'��n:z>!=z �\�%ѻ�o75��ٸf�Q����) �`�8��s$��i������ n�����tr�|9p\S��L�nZ=�S?���Aj9eMlP�e�z=�a�l�'ls����W�O��}`}i�Tfζ��#�k��]�=���a�z�|D�-4z*�f�K6&^`�01%��M��|��"��,��'t3��9��H�{��=�\zg�����bbk*���c���S�nZ� �裑��T�WF���!��g���m��%��������Bֲ�:\v�Z���![�"d��6~9d_X�(�3��T��aQ6u�l�n��Ġ^��/��<\Z�86�lC�M5�\� ̠�o75,�����{e'7�ǜbnr����$��"(��G6�Se(\q]�|���������C��H�(�!�L��W�t�vf�g�*����_>�ޠP�sn_��8x����_6����f�ʙ3�#�g�L�)y�T6�-�Є��)0�R0�� ��M��{e`�L� �y_�٪<�aP�!�Wj�$�Z 5{e_�꽂�8^�W�3�� N1;SA0�X�\�ǃ����=*�Չ�/_ {�������! w6~������ʋ"/�B��g��� j�%E9�9����I0$�򞂟f������ X�a�s��X�G���5o��-^^K�v�z��y�`cN/������v)۴ B�����;'�|D�~�8�,�N�r��VO&#h�B5�3"/�*@7 �\�a�����ǁ?ccD�t���l�Bψ��M�D���c��jѠ�¿ʟ�a<��nj)X�W��N�<|=���g��fR�C�{�٦�=9�:�%gy�ݴl�vB c� 75�:l 1��~`P���Ї�Qx��KU���pf| ��O8��aSsS�S*�regD�{Q �D{�)#lo��xn`|��e0�Ħ���=�[� }�=�X��� ��6vGy�tζA�h��W���k�kE�G�%��:F�n�Рǵ�/%�y�A��?��(q(��@�!�@(v=?9�Zvp��L �"W�\?�V�H�ɶ²P�tB�l�=ͬ`�f��X՚��It�9f�|�@(R�"I����s`�L��I(��Ȣv��V:BA���,�N�C�R�c�x1;ʶ�b�FUӁ�t� AC�Y�԰�.E�i� �tA'�܆�Ł� H��\W z'{{9q� ܂lAV�P��*���|"�'�8�кA���6W��p���ه7�w t��z�j�*k[�[Ck8�������`�����wz*{I��L���-�F�S]��l�gC��}�� �[�S��J��tÛM"zBތE �V�0hkM��+&�=�V��^�熢Ĉc�J�j��1 ;)�Ly� 5���i1K4�����&o+�2��� �<� �݋M.��2Ԧ�_&����'�����v!0�30��1B���$�W(YbR���@�V���ԛ��xц>����M�e�!X�( �7�o�ܕ��G�! ��҉�G ��f��� >hPăKs��9髏�-@z`��0�B��X �C��lNk �:i�T.�}l�x�y���c13�z @T+�}o��$��|��\���� { // 初始化认证状态 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: 'tycnbsjpxhf', chapterId: '88183129', novelTitle: '田园财女:霸上极品小皇夫', chapterTitle: '第40章 将要小试身手', 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 看小说网 版权所有