总览从在线客户端快照展示 ETH/BTC 报价,优先 live。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 19:52:56 +08:00
parent bcd32a25c3
commit 2c21f5e675
4 changed files with 177 additions and 4 deletions
+15 -1
View File
@@ -3,6 +3,20 @@
{% block body %}
<section class="page-head">
<h1>期权持仓总览</h1>
<div class="overview-quotes" id="overview-quotes" title="来自在线客户端 · 相对北京 08:00">
<div class="overview-quote-row" data-base="ETH">
<span class="overview-quote-sym">ETH</span>
<span class="overview-quote-last" data-field="last">—</span>
<span class="overview-quote-chg" data-field="change">—</span>
<span class="overview-quote-pct" data-field="change_pct">—</span>
</div>
<div class="overview-quote-row" data-base="BTC">
<span class="overview-quote-sym">BTC</span>
<span class="overview-quote-last" data-field="last">—</span>
<span class="overview-quote-chg" data-field="change">—</span>
<span class="overview-quote-pct" data-field="change_pct">—</span>
</div>
</div>
<div class="overview-bj-clock" id="overview-bj-clock" title="Asia/Shanghai">
<span class="overview-bj-label">北京时间</span>
<time class="overview-bj-time" id="overview-bj-time" datetime="">--</time>
@@ -15,6 +29,6 @@
<div id="overview-grid"></div>
{% endblock %}
{% block scripts %}
<script src="{{ url_for('static', filename='hub.js') }}?v=20"></script>
<script src="{{ url_for('static', filename='hub.js') }}?v=21"></script>
<script>HubOverview.boot();</script>
{% endblock %}