跳转到主要內容

凶狠系男神 第123节

作者:未知
(�/�d }{ ��'>0 ��%�{�b��K��6A-� ���n-i�b4��Mv�E����T����chp< ��veh��^}O1F�w�i:p�2�j��&�n6��w�8����9�EEo�6�;z͑l!1t=�\]}�,f�aN�4�W~�Co6�Ԯ�e:��f��N,n�= �ף�@]}�}��F��� �9�O�k5�P|���l����)'[�����0���x��hW���!Yryh������l�p�Z}Ϩ�u�Bɐ�EE#h�B7F'6=�>��fS��%IWX]��@�#�25@�t�pjp��Vs��=/��'�9��do�R&g|�iS�ߧ'�9�-�K���Н��lʙ|f-� ��Լ���fS�|��=��O,�>�Q@��MO�}p���9�Ol�*���!4��Rr%��(�:z��4��Yb��kHɛM#��G����3�G՛�����Í|^>u���ͦc��R��:F/΋��x��?�H���Zt��I�+�BbN�Y��]e�����G��^#lZv]۪�<��D��9�m6�(��#���M� i^�>5�^��fSP��-�p6�j�L�Ե@m�:�qkv��d1l�B��5No6-7Oy����g<^+gH 1U`j�*u����E��ES�{>��t� �!�; D@� 0@(0A �L@@H�� 0A�UZ0����e� ���`n�ԬP��h�yFr�|���î,��h��M$���+��D�(q���65N � %��]��'ʏ0����/`^Ꭺ�(|��!Yt���r����ĝH���La����7���q f��6�z&7HP�kUu_=�x��BJ�H\��7H���ۧ7��I��M��9�����ٴ���W}/����*��6�u��e�g2C��E�sX#P��Ԣ�Py�v�V8Q�Mm˄6X�a]}߸=R����fS�x-$�Y�Hfm6�m!��(��x���p��r��Ű� fm]-R�Dr�5ɵ�,[H�,q��iB��=�$�):j�Z��҇���J=*y��f�S��Fln�rϢ%kJ�0�lZm_��6��\t�B��{n���|~��x���K�O=0�, ��!�/��H��ٔ[��#R�4�`��/=��传�E�#�Gހ]��`�9X��e\�@�-fmR(�d��A�\«��I ��o6�2G<�Qķ�螚c�O"�e��鍺"�v�\�����K�כ�F(�[}/�}P>��k�w��H�dz�Ht9��4���!����%�ŰO��<4��R�U����P�[\�~���E㭕E�%ހ�%�����=J�.ϑ,Rh��fӏ������)nW�1:9y�e�$��ƞ��ٮr��H�W ��c��� �<��ͦ���hx��M�g��ϑ��B2< �n�}��ٔ�9��`�^�"(HqB�t-��F�.UX];�zA�)��)5G��/YO�%4'��HLTߋ��>}�8�?`��a�96���'��K�ٴ��LJW�C���?�e��M9�FT��a2It#����HF�4��lU�n�S�葤�O��a[H,o�ְA�o6ep5n��&A|"�4�fSR�LJ[���7�څG8Љ� ��B��ҝH�l���`j�s�+�mj� }�u�&a��� ��T��ڤn���C_�+~�(�q�-v^�`�e�`֢�MP����|��ߑ�P]jBM��Ypo�H��ˑ��GI�j��i����q����&u�F��M�S"��C��VߗYf5:��N�?�3���k�F;4z�nH\�j��l�+a�k�PP��b�A�-�����(����7�.��H���e�J�����ג����x<��Q�7�� {���|�}������X>��n؄V�'�L���$ �)u�-;k�^�bx��v8�b�bt;�w%W����2dR��⤱��xl�h�)' ��)&h�c��U}�4�yT���H�M�Z�U߇w�_3/b��D'�����')Q��E �PVߛ`��ń ���Z#��Ak�Ve����]��UyR��t7�"�µ��p�u��y����%��Fw���M��2=JSzȂ����V�(��}��anU�l�(��pI�s$w.��(���z���O��inU�4�4}�8�.�#��B褋[H���P�fS�s$����.=��\PWKo�׊�B.g�.5�Z��o">�̸|�4G2��Fb1lMɣ��.nRh�������#�a6�d��&lnR�#�b�����r$�S�@�HF<�>9]}ߙ|��J2���'����� �u_kؠí$_& �I��� �r�O�I�du�EL.f�׋ē�� �Tc�Z��M*7)����H�b#��8 R@hf@B ����01�d�f� �"�o�hW��ߣ�}`Qt���� !��v �-�J����r�v����ٕ�\x�L��s�z�o�_�+(Q@���]E �R��X�&Tꊁ�N�L)ZI)Yq!G���y���Rk���'Q�M��*&˘hvH�2X� �r��ݴ�fۉ�K�E'���O�Y�0�V�b���j��oZ�� ��)�Gk]t��E�����=0��I/_��\����F� ���A8��G��⻬�~a����^6ߥn|�1LF� �9Q�R�WFy�mi1��%�.��D�g��ɳ��7^R�Q�`n�����hq��\�z&�8�4^�s?�8�{k����?(�T�������t�O0�2հ<,��ќ��j�<{�:� &f�o��G]��j���=-"�aǔ�Vz$! 1�)"�sK/qe� �Z е-��祉��-Fy�BZ�V��!�C@�# ΄�̑�ث'� vxS0K|P;<�/ �ےA��w�~�撔�5��!B�&@�tH��B�J��XJ��C�mR��F� �y�ڔ�u�����.�U� kȌ�z���xEԣ<_��F�b�-��0�M�}�K�:'�0�2�����E�Bu`���d��'lṨ�)�Q���M��8��(a���F�qZ'�-1��3ā��ܾROtL�S���;�r)���e��z M��9@�;�+3I8�] 5�Q)]³��굔I�P��1�9�(p���"��開x�PYbURn�S��l��_��.�4ԼW�X��=|�%޷�aNpJ������h�C��d��ҕ�eA��6��[s���P�{d��r1 �f�0@�F���p�Vpo�vV��w6B�@��yՂ�}g�`-�B�B?�f.�e�6��t��z�M�J�Ҧq�V���qhe|�xuH6fv��0l2y��y!�gW��# h2 �Q?��hnB��H��a��.�z�lØ�趼P�A�D���J�e ��X67Ps�q��?J��^|��G���Ѭb����� �\1 ��_@w��bzgS�AA { // 初始化认证状态 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: 'xhxns', chapterId: '29127301', novelTitle: '凶狠系男神', chapterTitle: '凶狠系男神 第123节', 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 看小說網 版权所有