.0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
`).join("") + `
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`