diff --git a/static/index.html b/static/index.html index 72335bb9..af5c4f82 100644 --- a/static/index.html +++ b/static/index.html @@ -2516,9 +2516,11 @@ function renderStrategyTable(strategies) { }; const th = (key, label, cls, title, colKey) => { const arrow = window._sortKey === key ? (window._sortDir === 'desc' ? '▼' : '▲') : ''; - const helpBtns = colKey ? `§` : ''; + // 2026-08-17 老莫:?§按钮只保留第一个表格表头(_colBtnsOn 控制) + const showBtns = colKey && window._colBtnsOn !== false; + const helpBtns = showBtns ? `§` : ''; // 2026-08-17 老莫:ⓘ§按钮放第二行(spec-th-row),列名一行保持列宽,避免横向滚动条 - const thInner = colKey + const thInner = showBtns ? `
${label}${arrow ? ' ' + arrow : ''}
${helpBtns}
` : `${label}${arrow ? ' ' + arrow : ''}`; return `${thInner}`; @@ -2851,8 +2853,11 @@ function renderStrategyTable(strategies) { return ' · 温度: ' + bandIcon + ' ' + bandName + '' + (hasRsi && reg.temp_rsi ? ' RSI=' + reg.temp_rsi + '' : ''); }; let html = ''; + // 2026-08-17 老莫:?§按钮只保留第一个表格(A股当前市)表头 + window._colBtnsOn = true; // 头两个:A股当前市 + 港股当前市(标题尾部带温度) if (aCur) html += renderRegimeTable(aStrats, aCur, true, '🇨🇳 A股', tempHtml(regA, true)); + window._colBtnsOn = false; if (hkCur) html += renderRegimeTable(hkStrats, hkCur, true, '🇭🇰 港股', tempHtml(regHK, false)); // 后四个:A股其他2市 + 港股其他2市 for (const rg of REGIME_ORDER) if (rg !== aCur) html += renderRegimeTable(aStrats, rg, false, '🇨🇳 A股', '');