跳转到主要內容

第16章 欺负他现在失忆

作者:吃妖人陈道长
(�/�d;�q��'=0 ��%�{70��"{}�[����؋��(�IjP�c���x�e�9<�*�S��dGޘ|���z�̵LE�#��΅m�3�w09$�z�}���EO��Bb��v� �A~��,5�=���9�L7^WY�'�֭��Ya���� ^o4���ls̹�V�����#�S�>74c,h�&s$=#�d��*|������k�J4�@�*]bC�lg�[���C���� h9����'�=����:�����y&f�;���̝${�H^��8臎s���J%� �:|Vnݶ�<�ۇDO@��Lw4^�=�0f�SN��BAE�2v-���EyE�/ ��|{x���A&mW�lK��ۛ���n_@X���hy҅9�� �en�d��=ez��Q��m���5�!�8��- �ض(\�~¾�i����+M�|n�پno�]�4AG��. ��&�S�LN�α��@1�/ _ۤr�p�v�L1+O2�bv {��U���E$_X�(�����v-ӑ�lo /��l?įe* 3Hyϕ'� �'��4�;s-�Q��ۢ�%�3(?MLS  @�(@LX��6A�:\��#���U��3�ۘ�� �3{]�B(�]���r��vy���7AǼ�e ��5�p{���l'���k�^��|�}��p˄� ���� (�ǡ��bC��h���po��g-�n���U�C���8�dۺ���!�k���:wfk<�1�Z��� �_>l��L&�+c��s�g^?�<��2��<r�z�~\�yoR�:�Đ�/�o��m��q�yD����R+X������if[s� W��oC���$�=�0�ԵL5�#���9ރY�eZ�t�fc_���v6����^/�)A���M.[$ ��|�p��Z� \i2V_�#�F'��=����D��C��Oe8\�\��+�WJ�?t��q���' P�Es��gv6v�a�'%�xN2�*�������_�����[���G��a��x��=y��ܙ+����޺�پ�F �������d�{ ���+c��oP��0�r�u���(̊3� #��噇C�d���Kh�f�bn_��/@����cއ�l� �:l��2��y��V���#5�~�7Q`p@Eaf8��q+�!<���m��C�w���l��S��d?<��p�5ۚ�N�eZz���1�+�����)�s�D{��o�`�GN���K9 9���C�3�gl_�tr�� z� � rQ�M�Mн��Ĉ p�����񉂱����^�A��d� �U�5N�(�� g>��0�#1����LG5SwP\��mK {��eZA���Q���W�T��鋳E�C(h�a�?tܤr�A�����Z��x^��q=��û�5ۖ���%��Ix,�ۇL>t\�]��I�As�x����㚵�g��ܺ�Ѿ�)G���k�j�gcW���?��x~���C9 �d�� n�8�f�*��Q+���K��vUj���&CG����}��P&�9<0� ۂre� ��,�|�m�C��qq�f�a#Ø�*�螄G8 7)t�h�ݹY�$�š�~��p���d/Xx?�����EOዄ?����&]_]�:L9���y��@� ��0�i*��5�Ovp��-��G c�}0������e�a�t9��0�̾+�Ԑ&�OD�a�Q���16�u�ʣ ���&�M*_�lɔ�=�x.�<����"�k��@6��9�{k]�}oOJ~J�{;>��έ�}@6�㊄6ܤ�Z���-c���D�'�#�����A�|�3���Ix���y!}H� X^b�I�C����\�����k7�N���l_�> ;�E�"�:\�t���Z��ϷZyܾ&%�4�b6Hü�����q}�rp� �7�K�Fd�j�㚠��dsgM��\�d�I����"�SpĄ>(H�H�2lk>�\,ݺ�qh-Ӱ�ۙ�ϋ�|y �?dr-�L��/x(���2�e������ Ť,f��ܹ��|4y���k�g�?L���q��a�-fO�K�;>��� ��� ��7�[�^,���d;���sQL�g�ʁɨA�q�(0@ �a���8�`  ���-�`��N�4�hB�%�~�p�HG��pKJ��~M�$�`践VK�� �\�9d �1e��ܓ��^��vS Ӓ�`UC��6��'Dž����"�!T���'�u��ni/4�a�$�R ��チ����v�W�S[�Գ:��U�E}� 9rb�ɤ��:Z�K��po�ƕ�(C��Z �+n>��'(FjC�U<�UD �R��e(\,6��լ�Y�J�#�X (A�9��ƾ���9��v( U�S<�%H!��X�y�/����|A���O��d�[�j� k����G�kd9#��Q%��g�n�� y���/�zd}��P�I_y`#����lر%��L� _���a�lJ-�k��h7l� �� ��sNT�j��v���Lp�!�8ӻ�][��GGb� ;l��C�XHj�q���F����� ���m�Y�>� u�"�?9!Iʛ� �.� �'�3��.t��+�Cm�+�e ,W�����mx���c��6Ά�c�^�x�C��p����ڽ�R����-�Ep�g0��2����c�� 9�lz�F���|@R!�q��5��8��+}� { // 初始化认证状态 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: 'rzlzkjdltfhpz', chapterId: '57181643', novelTitle: '人在聊斋:开局炖了讨封黄皮子', chapterTitle: '第16章 欺负他现在失忆', 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 看小說網 版权所有