Notice: file_put_contents(): Write of 3487 bytes failed with errno=28 No space left on device in /var/www/kxs-php/lib/ZstdHelper.php on line 81

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
第1013章 平安夜apple夜(五) - 吃在首尔 跳转到主要内容

第1013章 平安夜apple夜(五)

作者:心动豆鱼叉
(�/�dD�l �x&;@Sh%�{�&%N����k��� �DP`�7ڊ5�l YԊ0�����^�����XTUZ��=��B�� ��;��yQ�e��tk��0B��&[�?��8\ɘ��C&�����T����c�L�LLaZۓ2��C��m��-H��sG��"��]q��rW��qLa�$N�a��;�g@���d�c���9��c��x����E��'�d�f�mt����uZ{R�ol�P�9�m y1���;�WB������7��&���� �d��i�;�0%\_q�zx5b�>�A$|�Cp�6I����{����'N�j�D�a�'U:���&� j~���i��Sa���c���.?�l�� �Nk�D%٘�ڵ��;]�� q����1���1����*;�;Q��a�>L��\Q{�d��DZ+S� �bw:�ؗo�/�I9Kx�vC�#ܠ����? %O��{�AT`v���0�p�����a�������pP��1-tOmM �9)S�|�&��>l�e�D�4� �I��Ӻ\S����5C��FM�P^(���J�I`�j��W�tX2)�3rpi���V�a��I� �K��[��T�h�h�p�Y�Ks���� �4g �����=��ʒ2;N��*o0b��������g��qF���:vO�a�+O��`�¤�+S�\���V��IL= ��x����<�bO��I*cX����<[�ս�6��gl��}��i0�$0��Sױ�U���{R��n[H�*�m�Nޣz����������6�~�Q±�B�axO�ٓ2��5�1�`�� }����=�L`�|X!� ,��0���ظ����Ka{I���� ��J�Kl �������0mrWy�fD=�=�^:�yV{�d����^��iHز-"p�y�03�i�'&��� �� <�%��[�.m�]�sH��Ӹ�P��q��RfQ��p|B�#�Iʼ>�lO���x�����.M���ƽ�z��JxGԼ� �[����I��4=�?�e�X�4�إ�A�����\R�O��c�$?/���,������|��z�E������y8�9�*�Xa���D=�*U��Ѫ�v_ɘ�&O�����I@�`���Y�x$|[L~�i�r��N��=EbK���-�$��(3�i�+�y�MǶ�-���Vи��#��cf�+e�nٶ���7�jC>d���/dP�@�*�H)�j�f ���{xFs�u잟+S�sj���('?��чi� &3��a��o@��&W>3�穆L5dk[S�z��a��DQ#S� ��|Jx������#��m��-��#�i�M�Ӆ�|����h^qxt��`����y ��(0@G�L=,2�rc�Ȧ�-bz��qz�r.zK�k(��9����@��Gs��ؚ\7����3�l���rφ��ڒ�9�0�z��� �<{��#',��Ch 7�$��v�#�o��p�Bp����9%]�<0m�l�:G��=�3=��i`K�'�B���'���T�$|�N�9x�2K!�h<�a�Ʃ�?�hx��[{j#�2����z��y�1+��S��Я8`�a��/�c$0s���X0��Ɉ����c��8�8XcE�'?�0�F̐*��Lk[�'#n,^��� ֲ^�M�SXkNk{`�4��Y�ݳ�0?x�a�� �H��o�A��9vϊ� �S6�=b�'{�A:f-sQ�{�3���\�z�J'/ �`�6�E ���1�c��ڶ�<�<>Iek����π������qH!b�� �@'��D�$ � G�����l���j�DC��ri�/�"��l��kk_o7��w*� Tl��~�#�v&@!�����dؓҩs4O?`�+u��g��r:�MWDU��iH��Kzm]Dj�x8��T$'��O�s'6��SZ��9���Tu��A�C؄V$���d�u��GDž����l�IӤ��p� ܜ� v��N��#� \���8�O���*��K�J=ݞM���!^�� i CHX�=��ǜ{QG������?5:��޿��z� {��� 3����Rk@��,E^�� v��;0�܆sX� hV/���H(={ ����|�y#U�(����j��:)�U,�b���<'�K�3OL�ƶ���Z�V�C_��Ƣb�6U�ډ�o�ý&�<�9��[ڳ�����^p�� �'�4�c��.�($�߁`�%]�_#���>h����1�4SW҇Ւ�볋{匕�ޣ���fZ�W�m Τ�jҘU]���� ��)E�e�b��^��]��t�k^�� NC)��j�� ^P { // 初始化认证状态 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: 'chizaishouer', chapterId: '87636775', novelTitle: '吃在首尔', chapterTitle: '第1013章 平安夜apple夜(五)', 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 看小说网 版权所有