简化行情数据页面,修复同步数据无法补全历史的问题
This commit is contained in:
@@ -177,15 +177,6 @@
|
||||
.amp-cell { cursor: pointer; color: var(--accent); font-weight: 600; }
|
||||
.amp-cell:hover { text-decoration: underline; }
|
||||
|
||||
/* ── Tags / Chips ── */
|
||||
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
|
||||
.tag {
|
||||
padding: 5px 12px; border-radius: 20px; font-size: 0.78rem;
|
||||
font-weight: 500; cursor: pointer; text-decoration: none;
|
||||
border: 1px solid var(--border); color: var(--sub);
|
||||
transition: all .12s;
|
||||
}
|
||||
.tag:hover, .tag.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -4,27 +4,8 @@
|
||||
{% block breadcrumb %}<a href="/contracts/">合约总览</a>{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="stat-grid">
|
||||
<div class="stat-card">
|
||||
<div class="label">监控合约</div>
|
||||
<div class="value">{{ contracts|length }}</div>
|
||||
</div>
|
||||
<div class="stat-card">
|
||||
<div class="label">数据条数</div>
|
||||
<div class="value">{{ total_bars }}</div>
|
||||
</div>
|
||||
<div class="stat-card">
|
||||
<div class="label">最新日期</div>
|
||||
<div class="value">{{ latest_date }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section-title">合约列表</div>
|
||||
<div class="tag-row">
|
||||
{% for c in contracts %}
|
||||
<a class="tag" href="/contracts/{{ c }}">{{ c }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="table-wrap">
|
||||
<table>
|
||||
|
||||
Reference in New Issue
Block a user