From fdb71d6896739477d37a90cf9489d92942a5248d Mon Sep 17 00:00:00 2001 From: dekun Date: Fri, 2 Oct 2026 16:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E8=A7=88=E8=B5=84=E9=87=91=E5=8D=A0?= =?UTF-8?q?=E6=AF=94=E6=8F=90=E7=A4=BA=E6=94=B9=E4=B8=BA=E4=BD=99=E9=A2=9D?= =?UTF-8?q?+=E6=9D=83=E5=88=A9=E9=87=91=E5=8F=A3=E5=BE=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- static/hub.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/static/hub.js b/static/hub.js index 54ede94..a364969 100644 --- a/static/hub.js +++ b/static/hub.js @@ -150,11 +150,12 @@ const prem = snap.premium || {}; const paid = prem.paid_usdt; const equity = prem.equity_usdt; - const ratio = prem.ratio_pct; - const tip = - equity != null - ? "账户资金(资+交) " + fmtMoneyU(equity) - : "账户资金暂无"; + const cash = prem.cash_usdt; + const tipParts = []; + if (cash != null) tipParts.push("余额 " + fmtMoneyU(cash)); + if (paid != null) tipParts.push("权利金 " + fmtMoneyU(paid)); + if (equity != null) tipParts.push("合计 " + fmtMoneyU(equity)); + const tip = tipParts.join(" · ") || "账户资金暂无"; return ( '