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
第1026章 贴身保护 - 顾北笙傅西洲 跳转到主要内容

第1026章 贴身保护

作者:马甲娇妻来替嫁
(�/�d�p �x'? Sp&�;�2`FZd�'�`G$CGCA�# &ٚ]l`�1E�9���� �l�� f� �h\c�Ml2(��;×C�_0\+�Q�{��Y�� rVs��֚xG\e=��%��Zr��| �Z����j �r��5��)���yK� f/桻jYS����n��x�� �uOq/õeЄ�C���9^ś���}i��a�a]�u��"g ЮFh3�8L���j�?�ʔZ`�Co�P>�x'�v�w�o�Lq��^i����]X׈�V�<�5�J� y5�������o ���Z{E�c��0�+=+S�Ⰲ��p�H󏙳2��n��kWJ�,����{���;�� geJn�ZH�auV�`�Y�:@�r����� mN��u�Q8ô�K�Z�ЬL� s��0H��Ջ�^�+����/TP������T�o؝�ph�R|�J�Ӹ���^ ){�hJ:+ӫ��^��_} �N��둷^��iƒF��0(G�CSK�lNl|�n�{��R#,eq�ܮ�rD��}Xm!��&_̛�釼�/}_L�N����^0�֨�[�[�[H�A���ge�/H���J+����auW#�2i>��ge�p�*�3o�q��U�8�b�ֺ��$�� 0� (�|�X1��j��V)W�2�[+ؠ�vkə�2 ����<�H{X#�yț�)�� �]��Wz�a� ge�P�t��Y��N&#h�ɉ���?�Y���� U��Ӝ܎�@= ��r��{�f�'6y�p� ��}�hJZ���0s[=+S��-c�l0��U��^Ns�s�����Y�>�{�5(�|�bq���3���_]3���|�Ěx��*����w��ƻ��j�e��C�\���͵�'��5�6؜+o�`�{�����+�9�Y�f5Wg~�2(�M� �Y�J>�� 3��Y�LC��^R�$�Ԟ΃��r�� �!� ��4�|a/���� {)g�y���� �AIw5�;�ތ���ڔ� {0�Ɛ�kd��V�/�O|b�k�fe�I����:8o��؛� H~��Pn�K�����H��C@[};��ތy;���?��Zڳ��wκ�w�}�R)�V��Z$�*n������b�C��-T�f���[�Kqxc�Z~c慽 �ZHY�zr�:s �P;� �&��{�r���^���3Wg}ה�4���ڋ��Au�{�z��U(�a�����Fx1�� %t����x-�HWċ`�LA�Tp�a�Ó �(��&'hO�j��ҧ3�:ZQ�-�<���q���G���Y�B|=93�����Y�jױ�<$� r������Nwə��`a�q�({�f�rV� !<�J�I3��\A�@j�Ï�-�T?>���Ո�x����*���(xˠ�ůn��ql;�a��M��ڛ1�{p/(�Mq���N�.�pasB��Mq�K�^mE�Ҙx���8\�E��W" �����U�9��3���C#k�-/M"o��=�Wg���jD�^�U����Y��J9QQNAO��`���O�ż]��, �(���Y�NH|`��)���`S�zb�U(��3�o����,i�� '/�3Ğ�4���Z�����~��in�w�!�o�5�V��Mn {m��;����A���Ů��jF(qV�b�?f~(` _QzDaO�A����?]{jW�=Nx�#��8xr�:�4��35���l����8f/���յ����Zco�����Z�����&��A�ܞ�d�� ;O"0[㝜��8(i�k��!/BU��`cP�&^�x�n�.�tV����㞮7�Z�k��ՙE�*����ʊ� 6���G�G�1�5��C��v�8~��y=�� �v�[� �<�4��( `��.@H`�� �$ �� �@�L1{3�f$���ACSc�jzu}1o�jk#Y@3�U�c� ��5$l �f�Q��2m��@^�k�;n>n����v^���R��7�ʛ�i��� e��گ���w5"45(iəG�Yb�I�֮G߽J� �I=�1|�+������ ag_�[�t�+%ؗn��d�Y��Bk�Eڀk��zh �+�m�Y$��I�R��(���A�K�ə7�;d{��X?�[&惃��m��������L=�_ ��5�� I��6'�����I]�J�J��ƾ�y��wB���Zhݳ���fo��3��$�A��"�)� rhj���y���왠��C�y3��P�-�Lq�PM<�\��ʋb3��`����)�U�M��j�O�{�Pn!�Z��+�M��waou���y?��0�� b���|�V�Ѕ������Z��p���S�h}���=��oh=��R%M��;[7,�Z� SQ���/E��$����J��a0VL�E�=���\"�X��_D�:{�t�6 ���&t�#8�\D��DVn|!*׀ؚ�O%�t�D⑏4!�^�����浝}�tM��@^^�I������dY�έ� l��n�!�G��>���ƪ"���G�&�{:pV> �l�v#D����#��mP�t�r䠃K(�qu�ʺ�P����t�f/�=�z%B�*ӑ.�v��Zk, V�!�B�'�I)�*m�4f �.&t�����R{��651gP�$ �&8�Ⱦ;����ՇH*'���&���2�T��`Ț+���H�/3㋴���?@�� ��w;��D���r&����=&t\�jj����ͩ=�އ���4/�F$qD�)��F{8e�V1 �#���.%���F�fpcHv23`���i1�ĨĦ�C!�6h� ���:��Q�ѡ;�[9� ,�%�F ��� ;���&]#�W�y�G�<���j�,��qBh 6~���P��IT�Vd�̨��fy^�<)��LP:b���@Z�՘>-˵'���r���i0P�r�zTu�}K�i{"�B���~,$�y�����\�}^�1�I�6�E����OU> tp�~8�E�`�:�81���h8r_�-Y#:�Q.��_���Y� �nL�!E6��UnR`��x��A�����������"�Ƞ�{'Ǻ��8b�� { // 初始化认证状态 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: 'gbsfxz', chapterId: '59585374', novelTitle: '顾北笙傅西洲', chapterTitle: '第1026章 贴身保护', 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 看小说网 版权所有