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�eq�d)@ Ss&�{���Z?o���\X+���`c�jl�b v����x#��.�B"�!z���.V5�}�I�y��(�9��C頎S�L�d�G���$��6�T0f�G'�����=FO2��}8�0�ڣ�R� 5�� ������*&f=�a��{L�̔����8L=�A>��D�%�Lk+��0��imw�����6���>�H��"nm3l.���6��1��╓O$�����}�öǴ,2e����# ��iYd�)�H�{�p��KL=l ݲȟ �� ��qQ��k3��U[��a�ӹy�� �(~m�e��Ș"�)/8�����Y/*9����C�ړ�8$�$ g�t��Ȧ.f��eĘ�=_XdZ�a���Yoyr����ڕʚ��+�p8W��G�!1��vqP�Nm�Ô�=:����-eP�K�LJ�0���ˈE����ų{R̯̄�i��{�� �ݓ.d���&K�L=�����&T��0)o0����=3�Ga^�xK��0{t��ۈ!J�ݳTa������]��&�Yq����WvOJ����imL��� ���� Vx�{�%r��#>�D�{x��!o@��q���=V���<���6P@�&` �m ���9��m:�g��7�I�{ o��L����W�{0�B�L�锳{���P}㙚��%����2��a�DƐ�Ry�C,�щ�%ٖ�9� B���2���ؖ2[����2X��؜Q�8,Q=!�+���I� �=7#\Z��^�)c�nuo)3�����=? �@��)cG�.�N+'U�b��6��6g�m����3c1-�%���K�4gJ��y��{R��r�zhy�a6t�;��D��W'�&���a����+'������)�Z��s��e0�t+��\��^��%�_��^$zv�O�l%�L=��X��<3��#�0k�3�sJ�C�[۠�ւ6�8|�0=�g�R��ؒ�?�k�m��!���v�a��� �ȃ�4�|��&��D��{�:nZ`�m���UH��25�~hl ��=5dwtB�x �0o���ö���E�����I����y��LH��ʱG�C���3��l��1GϪL=��xvύ�5+���� 15�� �O�|�M�p�� ˒�g���0�}����sC͊�Zm�� dg&������&zf���:�����o_m�Pzu�Qǭc"�'O�`+Wxr� �u�4��˯ڥ -� �ps��g��8ܡ��maWhpI"G| ����ؔ���%�_�3�?���������e��8�a�)+*�ݓV��#n�a{t��&�D�"n��kءr��Y�eO=���+;�@����gJY"g4� �G?As b3�p���;:QRB�O�$�s��S~�밭��xvO����`��gf<���:$rU�����@"XV��,��� ��.��R;lN�<�q���W��� y���I���b�Y$zC�1E�}͏���i;�4���y��=hs����G'���CuF)S�y%� =�aO�?%���\�=)[�S�m)��%$2�a�l��nZ�잡��ͱ�Ga�j��:��ُ$ �:�� e�敓[�L2�0[.��&w�F�.#�T����� ����(^ ���� om+]�i�+ғ�|��.Oko<�aۊL��Z���?�=?h�b����G�s��8lc�?ȇ>���P|)̒�A2_�|1������2��%���Nk���6 ?-/�j�dW�L0h��� �L�V;������9X1Dž� ��Vx�0��S��Q�#?�`Z����= ��T��l��5d+�)���$�0�`��jW�72�l�Y_b_1�c�U�8|����{�|�W���9��Y_m�n�w��k����aR��G����z�#C�f �㔭ڟ &�<�g�����^�%&��_���$ �9 D @ D�@��6h�0�� ,��@��*����Ø�G%���n�� �wPs$~�V�]�|q��g �X>S��S�������Ϙ:c5�^Y�2����M֐́.` 9����.�X2vh����5)odk��r!���^�7*�¬Ն�m�u�� {t"����8 �Mkc����Y�p�����Xm*N��̒Rv�2�8�26X�z8Sʚ��٘ ����6�X8��V�M�k��Mq�Q�<��v�9�}vυ��dd�vej:�g��{jd��k|)�6������DΘ:�0��{n�4�BOkS��# � d����n�5L�!f٠ڡŀ@e����C &g�t�)��y�Ǐ�H#�eA�'�����;҉h�TH$ʨo��@0�v� ��X���ā�W��` ���^���=�u[H�{Jswq;6�[qRc=�.�|9���.�r�4���J���@��9�†�!6�9:�rXp8!TY�F�H�ъ]^���I�a�*�A..6pW\�u { // 初始化认证状态 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: 'dszkjjsdfp', chapterId: '52339297', 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 看小说网 版权所有