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
第51章 身不由己 - 重生二嫁东宫,太子日日宠我 跳转到主要内容

第51章 身不由己

作者:抹布豆豆
(�/�d��u�� ,6@X��g���0I�Җ.��";D���QD�i@ 73333+�����rp���"_�~!�:D�1�*9p��ؖϏ�5�k�5 ���V� �@O=��a����xq�����27 �0 ��d�s��]̺γڕ�ㇷ��� g�bW�<}^ �����w9܏D�DM�b&0����Z��Jx�x��3�W�&E�E���� k8!_V�p�T{b��l�"藎f�\�'�8�#�q��"ɝ��A�[�V�[�9,^\C=a�b��IϞ��Ɔ�������c�g�'��Ԟ��Aͩ�S��N�M�9�d�I١ϩ=)�AȃB��3��=);B^��"��S��%�jS ]�8e����v H��<�=��e�}��ad\��0�X���x��Ht�6�x�{��m~? �D���Sw#�kmw�ݍw� �2�ړz��"��̸>3����I�����T�|~r�iʊ�GL'01��ɳ�#�8Q�Z����izk���;Oa�9��I���Z�R�%�4�0vh�5�)�W��Bg\O�9){�G�e�) �h�'w�=ˋ{b�0�QB�1=��Ԟ��3�7�Ma0(�I�Ԟ��X������Y�rʞ��ڌ�I�$eO/{������O�V�Mٳ��#�@l���q�͇�=I������6�'7 �ٳA��U��Sbj���v%�2>Y�ޛr���+!`aW�E�o�,L�+[���2g�P�=�!ۼ�tdjύ���.G��E<����n>�Y�q��#��س;�j�al�l�� �me�A�9�F� ϵ�����)�a�����=d�A6�q����Ź�!� L�i� cO�b�C�L�ܳp�3ʋOܗ��A�o�{��0�P!�nE2�'�� �%�2�s�m�{�'��ajOs㡋'� �x�%�NF�i9�vG_m}z���Ur��GLL*��\�&�6��S���ڢ�#����K�Y���������䐷P��]�� *�g�E Ƹw�n�;@6����*�$�v$|��T{��-�c[jO�Mp�ڮ���.V�Or�=���pıڙ� ��e��n����EЩ=��cJ��d ����WtO��y�Ϗ>k��j{b�,N�����V}F=�z��e�5�E�E�KƎ��A��V���r���^����$ �������� ��xq�u�����/>� ��������S��\ ����=��9W;4��R{��@�� />)/��O�=�Q:�'���) ��-q���ڔ�^bOd�pV�C¦#w>_�m:���쉨�j�Dm���[�0�sG��40c���2�rWa�0���>���چ �<~�6���/�?>��8������e�+].T/|B\��4�0 `@rЀ�����q}V��>Y�з���pV�S�Ԟ �X�I�_�O� 'F�-tM�����v�CyYQvB�=��k=��s�lS��=I�#j�(�g�S{n�G�94r���X�:Bom�T��ޑ�t_��8��߇.n������ |����>�p�)ܳ�a��;�N1������c� ٓ���5��J.�iy�����m`!�x6���J-��厵'�� ��r���9���[� =y�rP�h;#�m�������dm�،�3 瓲�������=A�|�[���s��xB����9��ڡ�Ix��Q�Nj@l(��S2���Ye:���6��"�g�_Ȟ0�sʻ}.^�'�p�6B�lP�d��{�,8�Hɖ�0^Vx��d[�E��2L�Yp��jw�o�6�]I<�xj�F饄o�Jn{��CNݥ��-^��9�zϞ�� 㾬���q����6� �q��/��vb�v��l����܀W<����f >�p��>u7�]��Qr�� &k�>o�nm�<�9eOJ��5�78��3a���E�*�,,^\Q����]�r��-��޳gA�K숉�� ������}.�=J�}.g�"��L�}*���*���tl�e{�v�M�xd�����p9���l^ODŽi�������=���x��,� ��Ⱥ%��e6\Ne�(�����'w*�-2���T���+���|��V�м�܊�%Jfx.�yV����Wo��Ⱥ^� ��,� �<�\C���W���6,��D���5�G:7��@�+ӵгڢG��G ��▄��}N����=�<~x�|7��M ��T�8v��쐻�`��R���<���󋏛%5� �L� �0� �5�LW,\Q[ù�ș��K�׳�!����<�f,\� �Kh$w$d><<���#jw/`Ȉ�=d��ژ�S�k�t����n%� �gF9^4� LsĀ>�Ƹ��F �CݑuK��'?�!`\D�G�#]=�@mz�|Y��;�{5�܉`j�OuI�\��$o� ���d0:t���=9��H��Dr �˞��]�|.�T{��= oP����Y��"S �#aot��3�D ��̈pe�9�#&&LT [�=���Sw1���S��� d�X�d�p �Č�= x*��{�$���S�K�Ie�e���7�;��*��Dm����ṡ�� B�bb�4�F٤��> ��s����G� �}�yYuO ��*�)�G�Ԟ"�S ����� ��e5�nFٓB��@��o��GɷL����8��ݍ;[���B���M��3tq8���Y��眆�4���i9��y(!�`�"H"P2" n(V����+w��L@���4���}O3�өC��h��#uw����Š���Wf�!���D\�/a,�݁�HƳ�J��� ��L�C36@V�'�6*�8�a�y��N3�ږF�� � 4����@�Ñ�e�� �wۉ*���o��~ؤ�B�}��б�I���P�z�SG ����:>2���ߗ���<�@���݈�d�<�|B ������/`�r̙i�=M�������e4!�� �B聈>`@��:���qlj��Ȕ^�$CQ8UZ�E}�kx��ƒ[��o3��J�:��D^ �����6�8[�6`!޽�x ]S� �k��ދ^ ��-ך { // 初始化认证状态 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: 'zsejdgtzrrcw', chapterId: '87881274', novelTitle: '重生二嫁东宫,太子日日宠我', chapterTitle: '第51章 身不由己', 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 看小说网 版权所有