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
第30章 她怎么也来了? - 都市最狂医仙 跳转到主要内容

第30章 她怎么也来了?

作者:花小刺
(�/�dw�hJ��$>0 ����z[�Vb�l�h�`4���Q��`����jt�M�E�����#��J/ RA����5X8:9m��A޲� �b�?���k6������x��TH��+O�H0�y?�1�� ]'��i��fS�s��t����ךMA�+� :���m�U=E� �b�>qy��_�6�0/�ӚMI�C:��#rFy1 ��i&��GW�g�����9[�'4����њMO�)�w }9o�À�/��G��&�zN��@�!џ�A�k6et�a�'"3:O@��h�>x�'�L��`ʉ�� �6E���[��at��6:^A�r^Ey�Dc�uT��4ci�%�c�X��tu� �]}�l���i��)���oV��r�7 k6-9|c�dؚ��L���gSEy�oD_��`�AIk6]��+��>eS����?��J!w���7”M��8�:�lzv0��m����1�:^ͦ��u��Pg��+Nw�\=p���g���P^�BS����H�fS�' �8���b:%~H��M/��g���j6��CUO�Ic&mb]�[A��8#���R{��:�Y����N}�`�1^�?�:(:��y�y�2��WЯ�IQ^���՞�ʻ����$3ʫ�^���uc�G^NsTo��l��� �?�Q⃑N���r�h۹ŹH�^c� ���V�9c{���X�Dd��ey�󂥶8��:�0,5ek���֮lA_�d>rvUO�򂉶|�W\�lZ���O�4Ji�Ѣ�s��t���fSF�-�3�8!���獬m��Ou�}�fĚ��`���^�dޑA��$�ٔ������O���dz�0��/�]=��Z�+�Įػ@��sK�)�f��Lp�`x$N��\�����◫=O"[����͊E]2�y)�� �B�������?�.K�t�����"֌Ϋz�WQ�H��32\rx���^`�fSҦ���%+琗���&�8'M�)�h��kSɚ�k6��w8�H�I�k��u�Q޲��A ��qͦ 0���J��?��ք�fSF��m��E�;���j�QI)���r^ t`��5���S�W�T�pSп���d �:�0 Z\Y�y��歠O�"}"�a�j��X� ��r��Ϧ$��*\y2�/�+v�е�����x����<�tW<�5�~�p86�l�� *&Y��Rpk��u���<��'��+O(��i���/���n�ќ�$Q�����3�����_&�ajM��v�� {��& �L]����s���s��L� z�-�5���]&O�-��x'�n�w����Cl�s3� �C �c�`OL�J2�y5��¯U=���z�y7 4��� X��'���@ $�@�� h ��lZ��S x��z"?n��I�.�C ք0�:�E� od��2 ���A���Gb�aϦ)��=�c�����̐P3B�ݘ�,�B����<&ځ��O�Ty�2�.�d�K6�L��V4��|� ٟǔ��ʊ�3d�Nu�t4��,�"�G^lʦ��̻�r�㣳j{<��5'4�}����ڴ���]��$Z�d/|�ä�Gb�&9dz����E���0ü�Hg����n-v�=\1ݠfͦ��)=��f��(njR�� �*,�A�� ��D|c���g�8aoA� �5U&���+��)aL [�/��)��znNN�5�Z�w6������3� ���zJ���@M Lj\��㽜7�t8iR�ey�K�4�|N�? ���)�_Ό�+h����a8{�%�7 s6a~�a���5�R ��z2l t�Φ-孠o��0p�<�᲼{��W�7�S QX�)�� }��K��J4Ky5U�l 2/�a����h}�aҦ����1���0$P �B1�@��(m�Ø�!��<>q�BV,^6�(t4N�X@e�[W��E�_C��(kE��(%��#,��fz�k0�oE������+�P�EI�Hk�g�L������Nc‘�휸�ğ��P}�.x�eg_נh��wA%Si8�~� d ���Aev臿7���������'h�dɬ#��djm86d�ɮQ�2�T�����v )�p#��2El�����g�_���p@̳0��&��O�7�W@�Ux��=��).���c�lԱ�*X�֥�t�̼@_�bn�/Ygq�@*��@�������R�����x���ܶG�0�}�k��vT� +�R���bM��0g*Z��� !��\T�%C��4H�kN��0�eA���޵ 0}�&�Z�s�^������h�qPǨ�ҋM��ykImb�n"����D辟�G��U���و}���^���!��E\'5&ذLM6����r��<� }"j�`H�/���=V��N�o�ه�G]�C [:jD�ٙH�3�����ky8�h �d"@�3lW�3'����r�L�@0z�H��q1�b"�\s���9�y����C�. �'gK���W3���㝒�fRXLGۡ<��1��_��ond�E!��n]���qYHn�p*�O��?��y�ElM� C��$ q�̬�9�E� FVTR��Kp�@ { // 初始化认证状态 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: 'dszkyx', chapterId: '50705628', novelTitle: '都市最狂医仙', chapterTitle: '第30章 她怎么也来了?', 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 看小说网 版权所有