新增品种简介查询页,支持东方财富/新浪合约规格展示

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-15 15:54:38 +08:00
parent 706a0fd1a3
commit b77f30b3ff
7 changed files with 425 additions and 0 deletions
+9
View File
@@ -372,6 +372,14 @@
.btn-verify:disabled{opacity:.45;cursor:not-allowed}
.badge.result-manual{background:var(--dir-bg);color:var(--accent)}
.badge.result-external{background:var(--expired-bg);color:var(--expired-text)}
.profile-page .profile-head{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:1rem 0 .75rem;font-size:.9rem}
.profile-page .profile-source{font-size:.72rem;color:var(--text-muted)}
.profile-spec{max-width:820px;border:1px solid var(--card-border);border-radius:10px;background:var(--card-inner);padding:.25rem .85rem}
.profile-row{display:grid;grid-template-columns:minmax(120px,28%) 1fr;gap:.5rem 1rem;padding:.6rem 0;border-bottom:1px solid var(--table-border);align-items:start}
.profile-row:last-child{border-bottom:none}
.profile-label{color:var(--text-muted);font-size:.84rem;line-height:1.4}
.profile-value{color:var(--text-primary);font-size:.86rem;line-height:1.5;word-break:break-word}
.profile-hint{color:var(--planned-text);font-size:.74rem;margin-top:.25rem;line-height:1.35}
.calc-readonly{background:var(--calc-bg);color:var(--accent)}
@media(max-width:1100px){
.split-grid{grid-template-columns:1fr}
@@ -406,6 +414,7 @@
<a href="{{ url_for('records') }}" class="{% if request.endpoint in ('records', 'trades') %}active{% endif %}">交易记录与复盘</a>
<a href="{{ url_for('stats') }}" class="{% if request.endpoint == 'stats' %}active{% endif %}">统计分析</a>
<a href="{{ url_for('fees') }}" class="{% if request.endpoint == 'fees' %}active{% endif %}">手续费配置</a>
<a href="{{ url_for('contract_profile_page') }}" class="{% if request.endpoint == 'contract_profile_page' %}active{% endif %}">品种简介</a>
<a href="{{ url_for('settings') }}" class="{% if request.endpoint == 'settings' %}active{% endif %}">系统设置</a>
</nav>
</header>