From eab647519911e3d171ea2326c7bc4fddd02cde16 Mon Sep 17 00:00:00 2001 From: jinghui <3970260761@qq.com> Date: Sat, 7 Nov 2026 14:31:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=B3=E4=B8=8A=E8=A7=92=E5=8A=A0?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=97=B4=E9=9A=94=E8=AE=BE=E7=BD=AE=E4=B8=8E?= =?UTF-8?q?=E5=81=9C=E6=AD=A2/=E6=81=A2=E5=A4=8D=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 724ce56..eaa553f 100644 --- a/public/index.html +++ b/public/index.html @@ -56,7 +56,9 @@ button.refresh{background:#20a53a;color:#fff;border:none;border-radius:3px;paddi
磁盘
网络
-v1.2.8 +v1.3.2 + + 资享导航站 开源地址
@@ -186,7 +188,12 @@ document.getElementById('netinfo').innerHTML=`
出口 ${esc(NW } }catch(e){if(manual)alert('加载失败: '+e)} } -load(true);setInterval(()=>load(false),3000); +load(true); +let ivalSec=3,timer=null,paused=false; +function startTimer(){if(timer)clearInterval(timer);if(!paused)timer=setInterval(()=>load(false),ivalSec*1000)} +function setIval(v){ivalSec=+v;startTimer()} +function togglePause(){paused=!paused;document.getElementById('pauseBtn').textContent=paused?'▶ 恢复刷新':'⏸ 停止刷新';startTimer()} +startTimer();