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
第251章 把冷双送上天 - 天庭微信代言人 跳转到主要内容

第251章 把冷双送上天

作者:聪聪蛋
(�/�d�$M��&�6<@PU�J)���؎����XݤF E�h M23�(�Q�� 1����3 ���@B ��R��[_Y�-�c��Ԗ� l��y�0���M��_,U~���?����W$��)�T\���_���n�8���-���{"�m�Y<⺸�PT�Vl7�?�|ݓ�p �������fSLM��i��9���7i�C���G������IV�Q�$c��E���Bz��I����uOo��NX,R�0�Rqk���{LG$|Ҳ�8aqV���A�����yU/[z���]HX\��$S"�2���?�2���Q:�̈�OZ��ђF��{���#���S1h�E�; �GHl���zk���d~`1���]TtyZ�VbO�W� ��Y�|��I� ʿæo2N��@Fȃ&52��FP�>B��$_�L��@�'-{"�U,it8����Jl-�2^A��~��.(l�@���ŏ�!�u�p�_�T�Zdd��K�wL:B�o���Vᔄ���d>�@<�E ����B�˙��{6<�-�r�Q�u�Q㍍cY��2E���=3�!��ש�Ս�~ݓB=$yN�S_T0��X���Ԉ)������Hy���1?i�����uO�X�'-��ngdF�uO���'-K,����Ŗ��EF�2%|���/��/��@�"�'-[;&�ɝ�?�O<Ι�������!�kF�<��1�V��V��8�3�h�$C���O�=�{�1q�d���2�U �|A��0ݢ ͦ_'��ag�_��T��꩑���a4��3��!�U�G��#�M�� 2^)�i�S#�X�>A @1�������d�[+��n��mU�@�*���c�[�K�I�ܾ��e}y�X����s*�@��e\¼�pI��'(�y�H������)M+A�����?��*��������1I��#(�jF=2(r��A�l��) ��n�x�| 5�r����A=�z���q��X���랥7��} ��О�'��Y���wͼ�p�$OZ��H�k/��(4V�0i�:d{�ھ��C�s*�82IvH� �ӊ5�1���9V���5 �<4e��=�3M����S�LR ��/���=����(�e�ď�?H��e���r��i��}�34�GiQ�U��H'ߍ��y�� +1��2GH.��7��a���I��=���%�/���ѐ*y��hI�?�����t�랓���;�'O1�tτ���x8�n��= ~�o��mI�'��FLIl+�������n�͘gP�H���u�ƈ?�g�N����Pi�(S.������'x>i�� n� ��F�B�Ax*sP�ԏ�W�',��HX�)�������?��`�p�mj������ ���8��<�pk� 2.R>Bh�H/ �� �랣G�w�,7ҝH_�Q? �\�A��4����� (�P?i�A���!�K��~�%`�����ԃB���^���M�PP�r�P���fF���G�`ӊ��+W6u�í�"H���=F�שz�6�:\�\��&�R�U�T��6��_T?�i ���_�-KAӊ����CS.M��I� ���p��hj��V;��6�o,9]�h��K��������=)��E���)ix�KJ�Dzc�C���SL���C ��C�OZ� O �nz]8�N���g�I>�6P�A��/���I9ȝ�;�L3O�\@��������5~��$�Oʹ��J,��3�(����EB�5���ɸD�ǽ���7g(�=�RV�d�������z[�&yB�@6Vq6= V�|���E �=�c��͵�'-P��yr��-���۶���P������r�z�=���@��}��Ƿ9��5�:O%��dN�0A��Q�m� *<ȓ��y$3��ٔ��*�Y���G�K΀~q���:aq��:�� ���S,�?PS�:ē�����xy������UIɠP�X^��X�j�p��a_��O/=/�n�m�m�^�h��[��D�Cx�j�ğ�Wۗ�.ktc�7��4Z�Vz��g9��ߦ����$�����p[r����V�2��7�lA/zbj[q�0c@ �84�uϐA�\���A� ����� ��[���Bx8y�ھ���uOC������'�8伢������>P-n�)6�FD��+�z�A_TsͰ�*\�@:�sm��7Wd�/�#����=���'-��ӊ-^!d �7_dK:�"��b������S�_� Iޒ4�dw"Mҗ���<�>>�|�� ��*e����)��́���Ԓ��by�i���2K.i�e�&��=;������bkq8��3����_J uy�e7ℐ�0G�a4��c95�R^Jl�i9D|�@��/%e~1�q7j�R�u����zy�. ��qv��F� F��� ��c��nq��)�=]��놏O�b� G�b1��i{]�P~a��e�b��ͦ�#J>���������o󂭨�* �02!���!B��Hg=@Ё)睩�vJ�+9&������F��Ջ�e�;BS0�Ab+xb-���/���U�M�7��ˡB|K��x�q�['����F� �1�%�%jz����腍��B�5�iH�r�~yٌ�@ߥ��u�`�X-��Ȼ�T\�WD��� ������m��7�5��R�/��(�z~ �����݀�I� DWk�J*�0�҇fw��$颠���8�_Is���f�W77� ��s�ӣ��!aE� Uc��t��C-$m2�A��֕�|��$X�*c�7ѝ-�I�7^�P�́��/*�i `�����K�v�0� �33��zRN �VaV-_#��g�����=:/[˞�W !�UEV��Q�c�NfY |����W&�S"p�w.h��ֆ��12rD�A�2��h5�H�H]D��B�d��05JD<|Ie'������Rh�*�ⴲ��i�;��K���rp����)%<�:�h�U@�X�p��;Z�����*�kf�|�+u�0 ��*ߠohU�QOEf�W����&�l���?��`�#�k��KD�����}Ϗ6,�pH�/܅���R�!o� �X!�c����=� � ��c��� w��B�Lp�b����Ў%�7<-%���@����s/q\[��ـ`��3�asP���6F��6����J�����X��" r�bP�0=�KK�R �XX��������bQ�v�΅6��h�����x� �{g+���g��� 7����U�侨[Phۗ��m]������9�����ޏk�eL�!72�4�Z�8�x����p6f���:��)�j�SZ;��G����E����&��� (nG(9t-]V����<�eeJ�k%S.��hٲ�87D���Vcx� bJN�{��f�Wz�(jx@ʼnK��>0���.G�O� t�/_Ι���� ���X��u�����܁E��^�L|,�9��$0�ܞ�� �J����T٘����MV�I�g��_(&=�f�n)��$��p��و�5��8�S�R]�2�g�����%<�������?8ӄ�8o�l��]q��\�hF�l��l��� ��Ca,}(Jm�] ���!}8 $�U� ;;P<8�6WCx*˜?������8�7fu����m{C�z(����^nb�,���J@0���F�����?l�e��_+� ���Z�p�� ��A�N��Ĺ�� >v�DZQ�sӨ�t)a�ǸU"I< 6�,2�t�qE� 푾�[`?�� �<�UȼÉ�@��j���ڰ�Dp.�s�ES&��Q ��ё���p�7mA��[xkx�!+Q3�i���T RI�,�����97 ߉���Aז��v�5X^���ei*��*�-\f�J��]� �gv |� ?�_��ˏ�l/�!L��z�6�'��2߸�(���e�!N��L��Ht2��rt�� �+N�F}TЊ��@���Z@_��0D�Cpg. Ȭ8��vydE�,Vd�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: 'ttwxdyr', chapterId: '87258181', novelTitle: '天庭微信代言人', chapterTitle: '第251章 把冷双送上天', 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 看小说网 版权所有