跳转到主要內容

第12章 找茬的RNG经理

作者:夜影恋姫
(�/�d��t���)EK� ��{�H�$�n ���d'�S��it�������ߗY9�g���c^u���  ���gkf����Cl �/�Q�Y]�ј�Sb{&g����B ˦'-C8\�;.�f�PݒD��N�iI昒=_�\Z���d��Z��˚ڣ Z��4v���/�Í?�Y��R�JkʏD�c�ƏP-�� y�8(➮g|>b�>nE�jf��}��U了�j�eLɖ�Ick�f�~44X~Yz����r�a�"פ��Gkf�@ p�[�Z�f���f�O��S�w`���e9)K�z���ћ���[]L���C�ו�X{X{XD�ѽ��&��A��ky53q��~�Z��P:2b��z�b���{�xk���Q7D��D�py�M4�ɚ�Bl� �_��)��n��|{t DG����VV�0�jٔAE nrx�LO?U|��E�S�_��[�T؞�I#E�7��O�\o�Q\�LK�?H.Y�)I����b��5����I���гdyIHK�?�˱p���53-'-�>ܸ�{�s��Y��Z-]1������e�:!���kU�"˓�U� ^�LR�2�n�AqA�7$/b>s���Sa?H��#�46��Tؚ�z,�R�Y݌�=�Eq�[A���#֒��Y�Z��̫eTeX�Ȳ�j�L5�5'_ޗXwD~�xG�^��B�A <(ϕ!����vU�C��B����B� g�^�C�^ޗ<�Y�F� 4����䆒�՞��s7���/�ϰb�`�5�[-?ʿ��8#���#��r��B��)T�0^\FE#�׭��n�rq��O 儜/�s'gT�Yp$�TC&mɜ1qIc?HY�|�1�f�c�Z�tz�ku1%��;Jv��)9,�n'�_��}^��P�0A�y�qNȽN�Ʀ���jy�"q �"E�I����Td���B� ������1�عf�H0a}I���H�ʼd9�W-��;J��pF�A�t΍=b]�4� .�N��YN��fu$W(-�N�,.��1E>����`�^�WL��u�spҘ�O���*_4���B848��{�N� /vnG�y��2��}���9N2G�c��H���%���A2��M�Q5��L9�(��)&P� ��m�\3ӈ zy�y��؄Ҝ���yĨ9̭�&��A2 �Z��kͪ7˚�7˚�V�-3h��$C4ǔ ��C���|$�G�6u:��t�{�䔍SD�)q=�j�r��ղ�-��xJ�ך�Zh�f9#��X�k� �Ŭ��0�X��&���B b�b�"�:"��u��{�ĕ9�����D�J�n���� ���z��j�L3�>��V�r2��_�`�'tލx/�E�%�6u:t^K�TK2�*J���lj�� g�խ�?��c��OͽTt��S��X���G�q�l/��VB�b�f����S5��P��*=��� O'G��ôi�S�K�~T`mm'����yY�����)LW����jfz��9-�C��֗�)�C%cJ7>J4 �J���PY]ͺ�����_W��J4�S�i��J�Kw�fy[�J����B� ����^�G��9����� t�†&-���b礱7��h��A1�O�3ƫ�i�|��L�����.il��Z2�:�ӨI�+�[,w�{��ի�)IuT_N�� ɟ��,� �Z�<]��euS��2n9S���d���Jb@3�Vi�ZkgT=�n��FŘ�%aw$}"㦭+�v<�Q/<�t\��� �ND]�L5�� v�G윴���jfZ�iH3��Aƒ�p�`j�� �bt�e� ���A=��F��\=_�&�aW(-��.�^��ɖ� ���j��5荺�h�qy��G�G�=�{�x�i�[���f3d�\���ؒ�9��t��j�zԣ%�M�;� ���_�`���rd�@hBA�9D^��Հ��P�fY3� ���_w.n���#6h�EF�f��[ƒ{z�j˔���J��`�G� Dk�(?$�qT�{2�~�WE�z� :�� rk�y�����(�ȸ�t_�D�M���ba�2��X3 { // 初始化认证状态 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: 'xstllzjdmqfl', chapterId: '58292110', novelTitle: '选手太老六,周姐呆妹气疯了', chapterTitle: '第12章 找茬的RNG经理', 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 看小說網 版权所有