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
第495章 唐三疯了 - 斗罗:从天水学院开局 跳转到主要內容

第495章 唐三疯了

作者:红尘散修
(�/�d>?m�ZU]?:@� ��s��������S�HD`��� r)l�!�ȒD�9uű�*�Q;���1���."{4\�A�+�ց���f�0k�#��f¤�$� �dž���%fs��ld�c\D`%[O�-��t~2~��M,��ڴ�Q�C\w.��#�W� ��Q�$2Et?��6i^Tm�����-�ymb|�4��%�?�ú�N��dž���r&���UPn�ԣ�GW!�M,- ���?�,�5��&7��� �j�- �p�b��ej� �1��\��djӢM^#<Qy�ǟL� ��򤼉e��A�_�g��\!-�E��Bg@vh}uO��ڣ ��9�2�� �-�LD�@�峵�70�7��&⛔{&>)ȶ z˫{ k��7�Ȯ�5X[s�d���A�k����,�Ujk@a���V�7��*���U���9�1݄` �>(�� � ʣ�%!ob� yt�ս�i�I~u�)5��G� țX6 we�W��y��0kP�@�p���f�G8�hӖʕ�=��( `!�-���X�Ww"O� ��<\Q���r�F4��td䂧M+�i6ŵ�{������Ē���?4�\\A�ykZ2r��?��G��Y�5�r%�Zy�$�m�M,M֫~�J�Z������v����N�T�lA�V�Ɛv�T⭏żk8���M,�ء�?�O!ث{�皉ob�1��Nʍ�����x"�Xz!D�� ��G��9��a� �W��H�"�̈́�C#T�F���y/N[,�����+,7������#�A��6�0�ս�r��:XJ�C���+��H˅��%Et-���V��b�țXV��U_P�$�#����Ҧ�+�����%�a8��3�ҵNM¬)���&���I���Ѡ�'��NVM!m�� y�y�a�:ap�MM���X\n���>����*�o �Ӱļ���Zy"2Y��zH� ٣7�� 25�����(N@�A{3a�s @8@ �̄���\��ҦC���QY`� ��S_�wYs��/"����� �������pڔ��������̈́e˰^ץ�Q��bsH^�4'�Y�/�sص$����5��N[��Ƣ?�6Ь�W���=��@{S�`֦�����y+�w�P�սC�P���V�׈�B�|�mp��Fzٜie9Ӽ���̼2r!� f=^����XN�I�V���M,3�w�Wы�(OV 1�fd�屎�7��P�Ɣ�t�ipeE�>4O4zu�p���?�?�5ʦ��E78F�`�5�MYg.����e�j�ص����s�ɭ9��~1[�5(娮ԛX24�l�QX��2jrìU�KY�q� ���a�)�+>=��p=)#*���\���ӞHO�aw���d����Me �:���9ڳL>$�zS���dk Ҕ���Uv��Y.&dâ�1N#��l��s������w@l8�Q�]A<5q,�N�Q����n�ly��EG{�=)�L]�vp��z���� |4\צM��3�4��U�5jrG���7�d4Z2F���C�ܚ7d�G� ���.��!�!į6/�t��AŚ���=Қ�1�V�('^Y]L�%[�B�Vvh�QY�ʩ�5#ob��lš�c��ޫ{�W��R9y��G�ke؏� s@����WP�x���Ck������=��Bs��l���iӓ�c�*D� m��S?��D>�z����į�UvVD�Qn@���1�&���U�0�61~K� <��tε�.Fٰ������� �<��8ghL�E�7�����?�_� L/(~4X��;ȇ8]+ב�=fOic.wK�� ���#>�#E�"��SobY >�}m�zq�)�w�!���[~���鲧ˆ(����h�#�� ��/� *Y�;2_i޹X������?����F�d���;)�2׌\ ��خԓ�D32Ț�n�fd�MPF}�L�l WT�V��q�;]);2OM�T� ���d�8-��)�� N;2X�ʋ��NgT�Y�Ԛ�2S�}h�G�HmS�W���%!OV�i�h���]�i i+"�J}u_*������%|K,�3b��)WV7�����keNFe�Vx��$�P册Vp����@&��76(�m޹�)�ɪK�ݰz82�p��Q��W�%Uc:O�,��� ʜ�9�g.�$��<2r2�Л�f�eb�c�h�u#��a�eļ�d� ʣ��G�Cd����;�f��QYժM��� ��I<��t���Xj��f�7���W�����pu/ =3��$�1r&� Ҋ����}�x�׌\)w��!��� d� �h���Z|�zR�;0�����i ������D֌�Xr� vtt�W��7�*�i��A٫�Ģ?�E;L}��M�F��A�b�IB��Ϩ,�ѩ�7�̈-��F暂�d�D!���7��\�~��0�Y�Ѷ�;��f�����L{ֲ��Xb�1ʕ�g&T� ���^�w]�fT�@~u_�}��&��b# ��$Fb@h0B�Px@U�0� U`��@AB��HvJ$��22W��C{�m�8V��b�O��2_�)6g�L�5��� dQ��Q�����Q��Є�v��}���E��A��hC�7�R�����2,�����w���ha��d2R����$��*V���U��L�!p����7(�e��1�}��-'I�� �2��r��d�.lp�����Ԭ�@��̈/:�#ƴ�il��H�6��C���Ӫ�^<}�@��W�xL�� R���#�w��e�⃦���S������(�Xw��W` Ո��P��m���IwUO� v@��1�n�k��������h1 �-�,D�vܛ�����(�WjUN�? �WB,= �{������KO��� IN�\ؓ���i��zPGi�<*Z�[�-��9��vֲ��Sܛ�F%T>�s��M�V�7��z�>�S<�b! 48�c����,���858N�6���VE<���o��׵H/��6�y���{BN�u���EgL@Ħ�3j���W&�r�8K ��!Z�F"��/�RQ u��A�qZ�/���P+�_� �u�ƒ��z��X�^� �s����㞯=;���l�|a�����h/� �N�a��� �������'&�0=��~"C�`I�$�8oO����ؙx��Ph���@t�R�^��of�蠴wj�a��fd7����@�/��u�67���`�pQ`Y�V���y�S3���%�_jm��� �&�U��H��@���\�:.�lw�����fF;��<0@���H}0jc>g��0W���DԶH܈L�U)[��N�Z�v\U|Y#\�,�X a 0�|�:��2/���V��:4=dF��R��'x f�*2�5_)W:Ăj;����me�ED��%��"�Fj�U��tZ6sQͽ�9�縯��W��݅;������ Q�f#���ܨ�A T݄�5?K%�G���,�W�ރ �Ąk� �=���qD o���@�8�p��7�/�W�2��X����c� q�-�7 � y����+�&���%��牆S�1�/���K͎*.��z���F�.p)M�5T�PiyJ��Tj��I�죰�{��b`ߥT㊓&�6�Of|ez��R���E�c��W�*�Zi { // 初始化认证状态 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: 'dlctsxykj', chapterId: '37213815', novelTitle: '斗罗:从天水学院开局', chapterTitle: '第495章 唐三疯了', 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 看小說網 版权所有