Add instance phone shell with bottom tabbar and more sheet.

This commit is contained in:
dekun
2026-07-27 07:13:04 +08:00
parent 4ef3b40353
commit b5a061e758
6 changed files with 523 additions and 11 deletions
@@ -37,4 +37,22 @@
<div class="instance-header-stats-wrap instance-desktop-only">
{% include 'instance_header_stats.html' %}
</div>
<div class="instance-header-phone-strip instance-phone-only" aria-label="手机资金摘要">
<span class="inst-phone-chip">
<em>交易</em>
<b data-funds-field="current-capital">{{ funds_fmt(current_capital) }}U</b>
</span>
<span class="inst-phone-chip">
<em>总资</em>
<b data-funds-field="total-funds">{% if total_funds is not none %}{{ funds_fmt(total_funds) }}U{% else %}—{% endif %}</b>
</span>
<span class="inst-phone-chip">
<em>胜率</em>
<b data-funds-field="stat-rate">{{ rate }}%</b>
</span>
<span class="inst-phone-chip inst-phone-chip--pnl">
<em>浮盈</em>
<b data-funds-field="realtime-pnl"></b>
</span>
</div>
</div>