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
第63章 总裁是只小奶狗63 - 快穿:男神,宠翻天! 跳转到主要内容

第63章 总裁是只小奶狗63

作者:宋弥鹿
(�/�d2�=�q�<@ik����̳9I��~ �f]lD6�.6��� ���n�R��N�5��3�̺A���ɖu�NGM,���U6�.k���R�#���Ǣ �<�࣌;zN(��q�!qAܯBn������ھ�q�=��Xܰ#q?���/���+Q��UVy�#�r9صF|�����5��)|\Nx+|,)w�+�d�iG��ѽ��d��^���udNZ�v��������|_�ھ!q��X�|9V��!^ۃ]oYoY{/Y�����c��B���Ǡ����?h_H.�����C�7�K���Z~�½C^�hnDsO�c�1�Fe�iG �e-De�)���1ǥL��=�X�p�NjWR��dS�R^��� $8а#i#b�{����ӎ^�3(��7Ջ��M�%�d��A�:b��� /U�*�_ۓ���f�����u�Ӟ��[ v�BmB>���O����,�|RX�]���=����u�㭌_�C@�ӎ��ҶF��� �A��8�iG�=�_�S(c.���$=D��ӎ��\W�j �i� eժU��|<��]�����WE�k��i�ʥ-���Ia��;���7=~���x��iG���5O(�꽶�Tz�k��VxjեH�= H��pByR�L�:#qTO;Njw>1�ʥ+\����x�� O�$=��U�ѐU�(K�XeT֭�%A�B֔JWXl-O;�m�Z��V�%e��,�?�7�H�<��ѓD�ڞ�m��*K�X���|��sm�}<^L$m�k�ѩ'��*k }��U�8�$�F�m|ڱ���\Q���Br>���d>�Ƞ��B[�p;�;�q��ܨ%e���'�������ӎ��'�����KoZ�}\t��N;�B��q��r�=����X�� �|�X����FGB~�|�L�V7��Ju�W�Q6AܰŢ駆8툙.)�Z}j�]K�@鞥7�Ne^�8� ���)�<����F��z�yG�gD,5�B~ɜ����+\2��#7�O����í�Y��84���?ʫ̗(wB���T{�Ck�&N;Z�)ܫF̀5���6�ʚ�=���C�vll\R&q�1}�8����4p� x��&L(P�@$,��8�aG�Q�N=����*�)lQꢴ��_��^ ����N�u�����j�A,ְ���d>3HK8]8�E�� o+�,�K� / �H���'���-:q2�ȝ�1�W�iR�5�)Cv5��'�ε�-�=#"7j�Q�8�}|�q1�5cy�6��ӎ���C ;H�d�}�F���xM��64D�w/��`�!/̋kG�Q&q��<*k��Av�d΀�&Kk��8&VdWR��l�w�k{.��r��5����x|�������'T�h������q\����ŢMW~^�`_R���(O;Έ(��z=����(�(egP%Dt�d�B!P*C���1�� o7 �#����҇�:���Ö̆E�����<茘@A��@4]+�l@ �3� �91�(�†i�G�F� ��dW�|@L��CF�*� \k>���S��T�%Z���l[���m%:+������S@SA�N�1��z�1�X�|"�x�������V:��!� �b`��(�L�D�!R#�5S�e���lv��B��U�����ъY-q$���R�I��#,�@Y�zQBk����:U,��AFh�B#Ȫ��N� �`Ku�� ����&���q{0�AG)5��DA�Q��)vhe#��z�H��(����+*�[`+���Q��0q�|u����b��h�h*��ς���]C��V�P��@�B�@�h;ˣ��2��L�3^by�Dw�Vg �2� ABY�. �W�!*�G�P�K�"C { // 初始化认证状态 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: 'kcnscft', chapterId: '47784429', novelTitle: '快穿:男神,宠翻天!', chapterTitle: '第63章 总裁是只小奶狗63', 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 看小说网 版权所有