diff --git a/static/index.html b/static/index.html index 39a0bbda..33e33cf0 100644 --- a/static/index.html +++ b/static/index.html @@ -407,6 +407,30 @@ function renderOverview() { }).join('') + '' : '') + '
策略按当前温区自动激活(strategy_weights.json),选股/买卖/重评已温区感知
' + ''; + // ── 港股温区横幅(2026-08-14 港股接入,与A股分别呈现)── + try { + const hk = rw.markets && rw.markets.hk; + if (hk && hk.state) { + const hkRegIcon = {trend_up:'📈', choppy:'〰️', trend_down:'📉'}[hk.state] || '🌐'; + const hkRegName = {trend_up:'趋势市', choppy:'震荡市', trend_down:'下跌市'}[hk.state] || hk.state; + const hkRegColor = hk.state==='trend_up' ? 'text-emerald-400' : hk.state==='choppy' ? 'text-amber-400' : 'text-red-400'; + const hkActive = (hk.active || []).slice(0, 6); + regimeHtml += '
' + + '
' + + '
🇭🇰' + + '' + hkRegIcon + ' ' + hkRegName + '' + + '(港股·平滑' + (hk.state_date||'') + ')
' + + '
' + + '温度: ' + (hk.temp_band||'?') + '' + + '
' + + '
' + + (hkActive.length ? '
' + hkActive.map(n => { + return '' + n + ''; + }).join('') + '
' : '
当前温区无港股激活策略
') + + '
港股策略按港股温区独立调度(hk_strategies),与A股分别呈现
' + + '
'; + } + } catch(e) {} } } catch(e) {}