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
第12章 - 风眼乐园 跳转到主要内容

第12章

作者:方载酒
(�/�dK���2A #LH|o͕���?% �ɸ)����# m���RTF<�%ؘR6�6����<�S��U�ubIZ�W6A���.n��cއwUµD �8���ϭ�P� ;J�YJ��M|.��aw�h� :9���$iC������xI���&���#��p�Ee#���*���YM�ŀ<���� �Z���� ����k�̹ c��P�ZM���B0NU�4rЦ�#�-ђ�w26X@�-�&\��"�j�5�[kL�@�W�_Λ0mvJ�����C� ��Aڋ�P� K�r����HqWT����E� j�w���ę�RJ��T�aC��u�}�t⬦��l�܋��&������hW�,��&H���aqg�j*:/���:i�T�)�mt]�.��T�];����`����k��YM��:_]�m�s�E�w�����Lv|qmZ\�ҫ�Ь���m,�v� m��ƂL)�� �&H�~q=RX[<�i���;�u���p�xVS���'�/�S���H?%�^��iC��beg5��]��C΋0��j�`>.�Ӛh��?�U ��5�ҙ�f���!����0��1�߷ó�������|c�YM+%N��T�������l��YM3�0�����7�m��۳�^\�ǐv�1h�y yJ��=w q}N�D��;�Mu����^�2�o<�D��X�}D�F�;��U]4����AA�?�{�z��)Ѕ���SV%�g5ED�i�Bo��]7����:uϨ.�����YMQ�k���� ׄ��յ��u� �(��:��7��h� 5#uÄ�H]Pu/�K�3D��4R@+�{q}J݂vIȣBgm՗����aw��#�QZB�'낺<��t�x����(�z��5��l����jᠥy��b@6W�^Y�@� >e�H�YME�U��p��=A�;�V���ki0�� �yQ�{qM)m���M�5��j�1mgP���y q���v��Y|n�bQǎ�N��§�8���k��)�5-���jO�Qy�lIi)�5X6|�����չ�=����'�!�5�f��$�Քr����v���� ��� r��%Z5�/:f�vD��;���ny}u����S���7&�,��y�h���:W����� 5�L{ug�j�H����-��j K���i!�/dǍ��o�'H�mWx����g5-<^x�B�$�se!���t����h?�!�oe|}qݝ[Iz�����O��:W�uN�! ��=A������=�~9�ŵ� ���GCg,��$��I7D�9���ר�A��ꜳ�����B!^t�M�ĸ zq�� QT�O��^'>�S<�i�=�8��eԖ��� �)�)P�׵��;�{VSM���h1�=K[2���u�x������� �>#^Ji��E����~D���緲5ю�.�j��V�iq �>1.fu?�g��D[�n�t�iO�ky��>�n�µ�F����I�Ȃ��r������>�N|n�) �A 0�����M)m�s��rG>�,a��2�x��A�ǝ��]�VW-J{Vӑt�A�߷�AI�:-�G�e����P�i��j(�!Zk��� �|�"]�J{f�s�f5�<Ɯ��du��!Z����IdW8uxOe׀l�cK�����/3Z�]$� �DZ �KU8b��(-c�▎+�[!?mM�_\�45\Y=$]�vTȟ�[ �d� �y��ձC#z��ɂf5�����΋-h�P����^�A�Ό�vM�v���|܂���i�Pp��s�q���V?h1)گ��w�uaA7�J��ퟃ���z�_<�4"7 ��:�Nf,9h���ڡ�ۤ�I���v�HǬn����~ /F�=~qM���`��Ғ* ;,-�J�(�Bό�݂p�y �����I���eЂh����j�u�u.j��!�F�"�Z�u�'I:m������ �~D��^����y�x���ʒ,�Š��� gF;���rnIP��і�� �󬦜�%3D���Bjā3�x�v�y��EL���������c@3����j��B�簏�S����;����P�h�� ��Y���xc��cGi���7U�-|G�!vM������tVS���ėԽDqFҨ� #�Q��g5͔a�����-���c��h/�N�P��gY�+-C;j�%ړ�`N`UAS��z��м��!�=��%`�0 `��@�� (�D`��@ �j�Y���E(���Ipp;��=�6&�ό6Ua�y3� ���To�VD��c@�uM��U`���t4�U���n�� 5 Ӡ��Pc���a��Q�.�:�i=В�-�- .pYь� ����Tz�����8o�s7&v4D�����J�ל�ŀlZ\/r�B[^���j p������ջF�a/�%�YN4���ZSy��J��#�R%\-r��#�*:O(>F�|:pe����/��j�--�jj`vf�aw�������hC����h-�o�"�?� Ћ��񬦦�$c���Fq�3�C�A�k �D�AtFpmnV�Т3�!�������+8�J����}�n9fu#��֘�๠��6x�1��t��КhU�['3�����O����bPwE���<�0�]�xؽ� g�]Y��弘�%!7F����� �ܾZ]��JBFo {�M������עx�hIҖ���+ _\LG��_�_\<���� ���y҂�F��  �6T,�/�IOI� S���E��y<������p�J×�:FM�������m7�8�i�Q]M<���o�F�a] �!G_\O�[���[���7��yi��O�s h��y��'H۹�YM=�^Nk�i-�3� ��֘63� �Y�s�hG <�>�7&��W+��YMC�;b0AٌU_\��� �ȹYM�[�m��"�Q���>�mԽ�`F�s�x��� ʚh����q���8�vm�6�~NВ�O��y(D-�@�0@\ #�%8E��rc���J�}ٮ̔9�0��ox�% m) b$���N� ��K���/g�\�QrYp����6m������s�5Jˉ�\|�� �)[ �+��2w��_�Pe�� �f�e� �4�XP�Ԫ��Ө�KY�"�0����"d9�[�r�o�O��-�&��~�h'.��(2���~,éq��h@\���20W#e.t$� ��Up@b��IC?��a���lH�q^��VƋW��*�LF���uX ��B��4 �����:��[ ����� ;za��ڗ����Cg6A���k ���8& -���c�ǻ��J�T��ƶ$9[<���<��!�AY8�K'�C�,�O��z�n�q�IvK#;��D�z����&�zօ�ߍh�h;D�#��uj�%�� ���_�`�֑' ݒ� A�ȯ�ɢx+���4�j�=� UC��?l�f�@;~,�Z��E��� }�� � �B#hܐH��ネ�m��BN&V�J�W�Ќ��0����b�g�>�5�#��I2 { // 初始化认证状态 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: 'fengyanleyuan', chapterId: '47089003', novelTitle: '风眼乐园', chapterTitle: '第12章', 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 看小说网 版权所有