From 0391f5691bbeab49b56e9de9bcb2ea058df32d2f Mon Sep 17 00:00:00 2001 From: xxm Date: Sun, 16 Aug 2026 09:24:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=AF=E7=94=A8=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E6=94=BE=E5=AE=BD=E2=80=94=E2=80=94=E8=BF=91=E6=9C=9F=E8=BF=87?= =?UTF-8?q?(mid=5Fok=E6=88=96short=5Fok)=E5=8D=B3=E5=8F=AF=E7=94=A8,?= =?UTF-8?q?=E5=90=AB=E9=95=BF=E6=9C=9F=E4=B8=8D=E8=BF=87=E4=BD=86=E8=BF=91?= =?UTF-8?q?=E6=9C=9F=E8=BF=87(=E5=8F=89=E5=8B=BE=E5=8B=BE),=E4=BB=85?= =?UTF-8?q?=E8=BF=91=E6=9C=9F=E4=B9=9F=E4=B8=8D=E8=A1=8C=E6=89=8D=E4=B8=8D?= =?UTF-8?q?=E5=90=88=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/index.html b/static/index.html index 248cd2e6..0d56bf7f 100644 --- a/static/index.html +++ b/static/index.html @@ -2541,16 +2541,16 @@ function renderStrategyTable(strategies) { const ddV = rwPf ? rwPf.portfolio_max_dd_pct : null; const univ = rw.universality ? rw.universality.score : null; const univM = rw.universality ? (rw.universality.months + '/' + (rw.universality.regime_total_months || '?')) : null; - // ── 2026-08-16 行状态按【该表温区 rg】独立判定(老莫反复强调:每温区表显示该温区下的资格状态)── + // ── 2026-08-16 行状态按【该表温区 rg】独立判定(老莫反复强调)── const qg = (s.qualification || {})[rg]; const rLong = qg && qg.long_ok, rMid = qg && qg.mid_ok, rShort = qg && qg.short_ok; const r3 = rLong && rMid && rShort; // 三项全过 - const r2 = rLong && rMid; // 长期+近期 + const rNearOk = rMid || rShort; // 近期有亮点(含长期不过但近期过:❌❌✅/❌✅✅) const rManual = s.manual_available !== false; let rState, rStateCls, rStateBadge, rRowBg; if (!rManual) { rState = 'manual_off'; rStateCls = 'text-slate-500'; rStateBadge = '手动停用'; rRowBg = 'opacity-50'; } else if (r3) { rState = 'ok3'; rStateCls = 'text-emerald-400'; rStateBadge = '可激活'; rRowBg = 'bg-emerald-900/10'; } - else if (r2) { rState = 'ok2'; rStateCls = 'text-blue-400'; rStateBadge = '可用'; rRowBg = ''; } + else if (rNearOk) { rState = 'ok2'; rStateCls = 'text-blue-400'; rStateBadge = '可用'; rRowBg = ''; } else { rState = 'bad'; rStateCls = 'text-red-400/80'; rStateBadge = '不合格'; rRowBg = 'opacity-60'; } const isActive = rState === 'ok3'; return '' +