跳转到主要內容

第922章 话语权(1/5)

作者:未知
(�/�d��~��.A �����x@�$=e��E��0h�nõF�Rյ��i�jU��gn�EQ�v(�q0#Ȧ ~�r ���6�M s����p�yK�L�^�=����e>b��z�l��\mˮ �S�C,S��� x%ؓ�jc�;Zޑ�+��� ��P ��`}7qZ;E��� ����fȦ�)�I�ov�=��*����em��E�\�ϮF�M�&�7c��1�?�x�<%�ͮ6�w�_�i^�����*�ɢ�_�U(`�K��1=�|Q�#���T�����w)��o���d c"&�np�~�E�=�^��փ�'��U � ���!*�yr钯�.4�bM�I�C�cN��M�vpx���"0����.�]a�y�+ �JnBȤ�M)'9p轹ț]]�]��ʸe��~���w9�k�3�i��]�"~ 166��L6�z�0;L����(�E}|�+J���0�,8�M���]��C�>ޣ� ��qS�M�oR����E�h^v2��ͮ��C,̌;4��h��S�t��{�� �;�7�����E Ϡ��O�,�\^����J�4�����7٤����ڛ]u����ĕkD���!���; �ļ'y=�l�}���ٕV��q���+b����7�*�A�M�'V�����$���6v呸 !KD�>�|*s4��JA�7�O�4�����Se7��69���r��J�{}��~��<�mf|���l�PЉ� �G��dn#��!��$�ٖxrC�� :�`�@8�� x`� "�`�8���\��(�����$�s̾�kB��?xp�fW����1'��h8c��wA*�*���:a��#���h�iFss�/�;>�b8W;��(��T�ٕ�%#P�BU���� ��l�F7p ߀�S�V[tbq�clH�6T�sp+�7��#B�a����ƍ`�O s���F�+�����ʄ�/� *;��Itjrʓd�js2��T5�˧��]9N| �I��K�����{��It�}���Q.�B��� -�a� �� ���wI�墏�ovu 1H�� ��C��N��++�9G>e��R�O<:ak��wHLr`�KK�ߌM�o3�@�� �!�lE|��ԉ3d+(�&w �cȡ�&�7�R� ��5AN�J�\d�滲��[g�#�7D8���ڔ�s�ͮP�Gh/V��|�+s�� ܩn��X�C ��͠؂=�fP�(�/��ǐE���K�lT��ŶB�7covERy���'7~}7���z�=�Ďs�ku�'}<�~�+��Q#���q��#/�p�!�k]���NteW�.;�� �fWe�fBvX�S�G��� R�٧KF]���&ħ��j[�1���C�9�'7MF��\摄o`�I����I��O�We�5|�Mk7D�SrQ�{��~�'�U��Q%'ɍ���?�K�xCٖ�A*�o)s�Nn������M�W�7���L�5 �ښ�)��~R��bwI�����QqI��o���'M�rO�[t“8I�)�\ml�Xr��f솒J�8 ����ٗ%��rf_ �hs��� i�r ?�B�Sq �U_�e��+9Hp}��#��g�$�&��wO�k��Vs���W�\A'wp>CbʻP�M��*�k�wdg�$:�P��'񭈧��ʵ4<�b]�᰻!�T{M{ˮ6R��}}�F|���w3n���`�[6'-�D�4{ �X�I�E�_�`�fWa ��O�L.� |LSވң�,vwbe��r�%�o��y�)q�m��-��3:�����7��}�} 0x�g����`��b��K����*�1�:����9G�Hw����Ã4�ufS�ʵ�1|��.⏱���\���� h�AvֽB�����N�P�$�fl�s � �'>U �%����ͮ ``�����"ΑjcN��P�y �I-sQ��ڜ��ރf�Hz�Q�ٕ��䌆s2��� �6�Z��qb���fW��Q�|Ѹ���L�#P'K��[�܇���VPd+�9��(��ޓ �4rΑ����� eK�(a�#�O�?A�M���Ч٧>N�Ur3�e�@��J�} fO��<9D%BZ��^�����UW��&nj�Y�J(Lo���l !�.y���͑?۪�M�]U�d�M1�vp������ ��Pr+���B��}w ���𠉋>nQl2ݡ���o�h�q���,�� �/�� }���{Fٌ�����W�O�o({QrM���"찹��3�I�O��X�<��މ)'i~D�*A� �)4�2�7�RP�lnXȤ�=��]T_�����j|��?��e���{./znH��9��d�{*�}��7D��.V� ���U�7��BL�ps�Q%g4�Se?���"C0<?�ͮ��A*�=h�fl��~��+�D�U*,b�Ѽ�4�c��NP�T���٘�?e��ɓд_�8W����-����]��� �,��b 雱%�7lXbljA݋�[�?:E��!]k[2�m̛&ն&N:��ُ����a�0�H��I1` :n��y%đA� @�#Ry�U�6��(�J|^��#�vCb��~)��43#E�{ K���=���ҟ���i���3�k�_�_��9�ȝ>�a�X�JO��H��$'��7q��_{ �����1��"��e?���tY����(yd'�#�FKd ��Ǵ�I+����Y� �m����}��h�i1��1�i���ց { // 初始化认证状态 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: 'wdgynd', chapterId: '10134722', novelTitle: '我的光影年代', chapterTitle: '第922章 话语权(1/5)', 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 看小說網 版权所有