数据统计移到工作台后;权利金提示改为开仓占用。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-4
@@ -153,8 +153,8 @@
|
|||||||
const cash = prem.cash_usdt;
|
const cash = prem.cash_usdt;
|
||||||
const tipParts = [];
|
const tipParts = [];
|
||||||
if (cash != null) tipParts.push("余额 " + fmtMoneyU(cash));
|
if (cash != null) tipParts.push("余额 " + fmtMoneyU(cash));
|
||||||
if (paid != null) tipParts.push("权利金 " + fmtMoneyU(paid));
|
if (paid != null) tipParts.push("开仓占用 " + fmtMoneyU(paid));
|
||||||
if (equity != null) tipParts.push("合计 " + fmtMoneyU(equity));
|
if (equity != null) tipParts.push("合计(余额+占用) " + fmtMoneyU(equity));
|
||||||
const tip = tipParts.join(" · ") || "账户资金暂无";
|
const tip = tipParts.join(" · ") || "账户资金暂无";
|
||||||
return (
|
return (
|
||||||
'<span title="' +
|
'<span title="' +
|
||||||
@@ -170,9 +170,9 @@
|
|||||||
const ratio = prem.ratio_pct;
|
const ratio = prem.ratio_pct;
|
||||||
const tip =
|
const tip =
|
||||||
prem.paid_usdt != null && prem.equity_usdt != null
|
prem.paid_usdt != null && prem.equity_usdt != null
|
||||||
? "权利金 " +
|
? "开仓占用 " +
|
||||||
fmtMoneyU(prem.paid_usdt) +
|
fmtMoneyU(prem.paid_usdt) +
|
||||||
" / (余额+权利金) " +
|
" / (余额+占用) " +
|
||||||
fmtMoneyU(prem.equity_usdt)
|
fmtMoneyU(prem.equity_usdt)
|
||||||
: "";
|
: "";
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-1
@@ -11,10 +11,10 @@
|
|||||||
<header class="topbar">
|
<header class="topbar">
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/" class="{% if request.path == '/' %}active{% endif %}">总览</a>
|
<a href="/" class="{% if request.path == '/' %}active{% endif %}">总览</a>
|
||||||
<a href="/stats" class="{% if request.path.startswith('/stats') %}active{% endif %}">数据统计</a>
|
|
||||||
<a href="/cond_orders" class="{% if request.path.startswith('/cond_orders') %}active{% endif %}">条件单</a>
|
<a href="/cond_orders" class="{% if request.path.startswith('/cond_orders') %}active{% endif %}">条件单</a>
|
||||||
<a href="/instances" class="{% if request.path.startswith('/instances') %}active{% endif %}">实例</a>
|
<a href="/instances" class="{% if request.path.startswith('/instances') %}active{% endif %}">实例</a>
|
||||||
<a href="/desk" class="{% if request.path.startswith('/desk') %}active{% endif %}">工作台</a>
|
<a href="/desk" class="{% if request.path.startswith('/desk') %}active{% endif %}">工作台</a>
|
||||||
|
<a href="/stats" class="{% if request.path.startswith('/stats') %}active{% endif %}">数据统计</a>
|
||||||
<a href="/settings" class="{% if request.path.startswith('/settings') %}active{% endif %}">系统设置</a>
|
<a href="/settings" class="{% if request.path.startswith('/settings') %}active{% endif %}">系统设置</a>
|
||||||
<a href="/logout">退出</a>
|
<a href="/logout">退出</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user