From 2a4060ae6d8f99f22384a124b22a07e967b49042 Mon Sep 17 00:00:00 2001 From: mzl92 Date: Thu, 27 Aug 2026 15:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=86=E5=8F=8C=E5=B1=8F?= =?UTF-8?q?=E6=BB=91=E5=8A=A8:=20=E7=AC=AC=E4=B8=80=E5=B1=8F=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF/=E7=AC=AC=E4=BA=8C=E5=B1=8F=E5=80=99=E9=80=89?= =?UTF-8?q?=E4=BA=BA=E5=88=97=E8=A1=A8,=20=E5=B7=A6=E5=8F=B3=E7=AE=AD?= =?UTF-8?q?=E5=A4=B4+=E9=94=AE=E7=9B=98=E6=96=B9=E5=90=91=E9=94=AE+?= =?UTF-8?q?=E8=A7=A6=E5=B1=8F=E6=BB=91=E5=8A=A8,=20=E5=9C=86=E7=82=B9?= =?UTF-8?q?=E6=8C=87=E7=A4=BA=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 57 +++++++++++++++++++++++++++++++++++++++-------- scripts/smoke.js | 6 +++-- 2 files changed, 52 insertions(+), 11 deletions(-) diff --git a/public/index.html b/public/index.html index fcb6f04..efc9294 100644 --- a/public/index.html +++ b/public/index.html @@ -51,6 +51,15 @@ tr:hover td{background:#f8fafc;cursor:pointer} .hidden{display:none} .chartRow{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;margin-bottom:16px} .chartRow .panel{margin-bottom:0} +.slider{position:relative;overflow:hidden;margin-bottom:4px} +.sliderTrack{display:flex;transition:transform .35s ease;width:100%} +.pane{flex:0 0 100%;min-width:100%;padding:2px 14px 2px 2px} +.navArrow{position:absolute;top:46%;transform:translateY(-50%);z-index:5;width:34px;height:58px;border-radius:10px;background:rgba(255,255,255,.92);border:1px solid var(--line);font-size:26px;line-height:1;color:var(--txt);cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.1)} +.navArrow:hover{background:#fff;color:var(--pri)} +.navArrow.left{left:-4px}.navArrow.right{right:6px} +.dots{text-align:center;margin:2px 0 14px} +.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#cbd5e1;margin:0 5px;cursor:pointer;transition:all .2s} +.dot.on{background:var(--pri);width:22px;border-radius:5px} #toast{position:fixed;top:60px;left:50%;transform:translateX(-50%);background:#1e293b;color:#fff;padding:8px 18px;border-radius:8px;z-index:9;opacity:.95} #detailModal{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:8;display:flex;align-items:center;justify-content:center} #detailModal.hidden{display:none} @@ -79,15 +88,20 @@ tr:hover td{background:#f8fafc;cursor:pointer}