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
第四十七章 埋伏 - 韩城谍影 跳转到主要内容

第四十七章 埋伏

作者:软软的蓝莓酱
(�/�d& x�|,>0 �������?�rS"�c#I��K{'@J���[�HJ�2�d$ �#4[(4�W:�z�:V䪱����܅� k��\my��xŎ�l��i�ס�An�6��!��L�b�O�͒G�E��9 ���z��+� ��*"rM6<����I���E���Oէ(n���'��%����4q��7�WJ�xl�}a����s�5��T}Y�y��Y�!�~������iA�|���xP�������1�� �Qۑ��M�꾑��� odN?U�$��k�� ���;D#:V2�F��Řl�A�EIv)��A��,:#u���j��d�<T�ȸ�i��[��5�%%�2Y��U���f��:/�12W��"� ��ly�$z�yNA��UƐ�q�i��J��O���T�7�]��)���)ْ�H���r����=�Rl�@ѱ����޻8�����@7m r�K+��K*+��#��i��x�Cd3ť‚\g��̭p$� ����ڣ�2��X�U���&�CƵG����sC�RٞMc���v\�������[�V�3@��i�q �8��h��f��j�D�=��|�šV�|��`-�-��6��`+�CNjW�"g��Ʒ*���Q������h�q������0�ѱ "��G�z�����4HqL���1r�0m-�8ir1WL۠p,ա <�N(�i ��X9ci���[���+9S2��mq5�]���U�uw� �ox��2��.�bM�O�:��i8��kkFe3Œ�Vx�u���'4`\kw!�!�8��.C��u- �%#G*k�"��1j�� �K�E�<_��ьkkeC�1�^4W#O���3��N[H�����:�,.��k���5\�.O�|��� �5Y����C�A����L�J�F� ��A��i��el��X��5���4�dA�g�l��jˋ����ѱe�y�^W:}Z���Î*3��qKĺv��V�hE��X[�^��� �o*�WG���:\Xǣ�����*�X�q+ܴ�lF�R�=z�ȜE�,?Q��:m��,+�Gk +Y2r���n��PӨ����p�@��2�{�r���ק���ߋ=�ܴi�b��lx#s�i�R،�!Q#���K�x���&��W݇X#�ў�^��F`��%�3:Av������yb)�@1��f�Ǡ��� �-��6{�]��1^s���c���5�|p�B�&Wt�PӠ�[�]T��>M\{�f��!�C2���D�R��ѥ�E(K+7*w��@k-��2�s�稌?8ؚx 蓒�D qp�E�;�K��sA���d-"�Wg�=a�U�`৉o���U�$K�����wh_u_�܇��,:s�v��Ӌ";����|z}�������s>�H�HM+gJ�<��c <�:��U���C�'�qm�:$Znb��E�i���Ņgx腉KF)ت{��TW� "�+�F��;�����y������Ÿ�X�� ��R\��b� �v$���q����OW�c <����B� <3�虉��6�m�����Q`+|t���p�`k�d���-�?��dN��A�����So�����#a��t�iE�/�W�_�M4ܡ�ަ`["o�V@8Ƶ�w��Fo�-1�(!�D)�,�g� �',�0A�>�q}��� �b�X̹^ �w��0���eu3ʡ��6��&(���lP�0�4�_�N���W����H���}����^�x���/�K�f�� ������i���\��g�=� >��"�,�LΔj���� A�l�x]F�?z�Bz�3d���v�E���AUP�^�}�ak8��Up���;l�RY �K��88���@ 8 ��Y1`�aj'2�f���[3 ]f6����H4J:2�Q� #~��,�]8.D�����B�Μ8 e�� ��#�+@��u[��tn�����S�`�L�A��O��@�w�[�� �p� ��v��P��� 5M9~ �u�k� 6��l��w�H8� { // 初始化认证状态 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: 'hanchengdieying', chapterId: '68064532', novelTitle: '韩城谍影', chapterTitle: '第四十七章 埋伏', 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 看小说网 版权所有