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
第046章 顾狼(第一更) - 重生之王牌黑客 跳转到主要內容

第046章 顾狼(第一更)

作者:未知
(�/�d&u���,B- �{;B�e�#�Tؠ�B Ȍ:"$1B:�+(8�}}{����g��3rf�8����i��qRz��Q�/�� �5��/H���>v;���ڂk^�;�.-�0"�+�y���^?�_�YSe �� �$ u`-���v�u���x�f��&k�G �nonS����ӱ*�� ��d͝�;�K(|����gh����ԇ� ��w,��>,=��a6�a��ڮ�Ol�btMDŃ?!�؁�a閊�nWT`��ɚM��ےۢ����Nu��%��D�a��K��4B�_N�X����r:�!��l���� �K`��eh��߸�!sD�2��Pgh�Y�m>B��`��ۡ�;����ݦ�m�Ub��̀Nzߘ�a6���3�3H���`�F�V�q�ÍS�y�������BF[�Iz�����K΢��-�aM��3�i�H��;�O"�tO}x�� ��'�ot��ph� m� �W��j�?��PGg���(c ��/��:��2�N�N�ngh{q\��0�}�>�N}XKc:�as�Xs[B��Y��(�[*_Z~�o�x������v�� m�((��mCu ���ͩ�{>C[n����+�_�g;���m��a�7�C�G���� �K�/�̓[*߰f�b3��pݦ>\J>���æ��mM�+��\�D!ghki��=!:C�ڎgG�gh �Ns�oX�v������\����# >�`B 0@,@�$�!�@�#�P� @� �c���_P�R�3��}5<�֬�؇O�-�Q��6etr�yD}�O0����MGIs���4[�|���}����Ȓf[�o4�!�<��4a;�5��vuaЁ�� �ԇL�0`��1�a����ˣ��m�/��_C[��-�ּ�8Cۨ� �/�%gc�B��m�򪅥>̥��]b�jV���S0ج�ӱ�Įc΀��>T�N��[�gh�a�)b���c���#�3�u�=9�hvz :�� <a� 4�>\Z��9]3�m2ޓޏ�S N���a���ԇ�K�8�R��0�=��r:�a^�s֫�W�]I�ӱ 2gh��^I��`��:�S�^ -�av���lȔ!��m�)�Opr:� m-�%���k�&�O���N� �3��� �����4�r���Vy�em�ÔP�,0i��.PX^����� ��@> ~�Q���b���"�9�� u�5U�H���LaO�y�v��F�{p��9c�҅&p%mk� |�ٖ΃ x �S�j� �D/-�z�fKx�(�t_�9�����������A��J�����/&钵�����,��y������fwJ �n{��Y�-�����I�1�+iW�Gt�ُې�AY�"�2,��)="d!?;�y��'_�(�N�$�|}<�}u6�a��S@�����Y�>�7ͦ���^���ª���#�c��Po�k$�K!N�`) 8�rF����S�ּ�����+�KΖ��.�Ж���mJ6��65�x��'c��HX"���Q�Y9��ԇ9�C�W����p�Y��t�Rz�z�ଟ����� ��m�F�����k� [I��X �\� m/>M�RÿL4 �6��O�1H�H����� F���C̆�fs��9�6�K�P�� m#B6D��� ��I�9��M��Hf�{������>  � ���� +����.��m�|>�r�G�=_��Sjn�@�� �+\|Bt��՚#ʜY��p�z;��'����Ĕ�[I{U;$���_B} 5���lou ����K��ON�]�|~���'D�T>Y3v[�X��gh�yx;�C[ "p��ap�s�� m�ۑ�g��>�]�����E ����'gh{UNUnqe�wot��ɉ��9�U �i`�l��GL�3� (9;C[ #c�cD',g����Ot����lo͔(m�6��s�#�)���KQV�?!ΐ� ��z��w� ���\B��(XKu #� o��� �vK׈�9 ����6v;s��ۛ�뭹�E�(C�X�6��r��I�(�������~�C��~%m0�(%<�2�S�Ke&�g�XF~�]r2F�Ձ���+���3�o�C����r6gi�,L}��;ջ����)G�oL�p"�3yMx�F�I�iA }�SX�0&;��T���!sE�I�%g;̎07�����r���0�S�e�u��60@$�U���F{��L��̩ד�B� ������dMw�M��4��M�FD�9�D D��P���!��ʂD���b��@��3o�y�L����LB�Md�n+�! �N��'�j#����+1\$�i�D��i�ܾ#z�ūE�����t^r��0����=m n�0�X�N�V���~�̍ ������y����ka!N�Uj6JT�(d��g/o�ld�G��L�a��(���ɳ)�PB���E��,fn�Z( ��R��!��X�`���Z�� K }�Q�W��u���!�pDd��@��[GQ+Jo>�9��L-������ �:4�)g*�bZ�s�^� � �sw�3� �����U��0K��x(p1�&iop�{�G�s\��b�%�8��W�pN�U����V*�;=����:�s�G� ��!aM�LKx�m�������G8hh8��l�PB��%��8R�E��ٗ^�"0e(�KA�p�H���+��8�8�H�kv���� N�GƇ�Д��Z���������4�v|¬/�@dY�MI�B����j�����~+C���?��=(ņj#6� ;�e��칼{���B)P�Zpo4��G�(B�{��mu{�A �X��yXآp ��+�P�J�e�AA��/�3R��S�| SKE�AB { // 初始化认证状态 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: 'zszwphk', chapterId: '2525149', novelTitle: '重生之王牌黑客', chapterTitle: '第046章 顾狼(第一更)', 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 看小說網 版权所有