diff --git a/static/hub.js b/static/hub.js index 62fd580..b0ca8ed 100644 --- a/static/hub.js +++ b/static/hub.js @@ -112,13 +112,20 @@ const items = list.slice(0, 8).map(function (p) { const id = p.inst_id || ""; const sheets = escapeHtml(String(p.sheets != null ? p.sheets : "—")); + const lev = Number(p.contract_leverage != null ? p.contract_leverage : p.leverage); + const levTxt = + Number.isFinite(lev) && lev > 0 + ? " · 约" + lev.toFixed(1) + "×" + : ""; const fromCond = tagOpen && (!opened || opened === id); return ( "