深色浅色主题切换;去掉新浪行情徽章;科技感卡片样式

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-15 13:04:48 +08:00
parent a35a08d2f6
commit db2443273f
8 changed files with 418 additions and 102 deletions
+6 -6
View File
@@ -4,8 +4,8 @@
<div class="stat-grid">
<div class="stat-item"><div class="label">总交易</div><div class="value">{{ total }}</div></div>
<div class="stat-item"><div class="label">止盈</div><div class="value" style="color:#4cd97f">{{ win }}</div></div>
<div class="stat-item"><div class="label">止损</div><div class="value" style="color:#ff6666">{{ loss }}</div></div>
<div class="stat-item"><div class="label">止盈</div><div class="value text-profit">{{ win }}</div></div>
<div class="stat-item"><div class="label">止损</div><div class="value text-loss">{{ loss }}</div></div>
<div class="stat-item"><div class="label">胜率</div><div class="value">{{ rate }}%</div></div>
</div>
@@ -22,7 +22,7 @@
<td>{{ round(s.wins / s.cnt * 100, 2) if s.cnt else 0 }}%</td>
</tr>
{% else %}
<tr><td colspan="4" style="color:#888">暂无数据</td></tr>
<tr><td colspan="4" class="text-muted">暂无数据</td></tr>
{% endfor %}
</tbody>
</table>
@@ -41,7 +41,7 @@
<td>{{ round(t.wins / t.cnt * 100, 2) if t.cnt else 0 }}%</td>
</tr>
{% else %}
<tr><td colspan="4" style="color:#888">暂无数据</td></tr>
<tr><td colspan="4" class="text-muted">暂无数据</td></tr>
{% endfor %}
</tbody>
</table>
@@ -60,7 +60,7 @@
<td>{{ round(d.wins / d.cnt * 100, 2) if d.cnt else 0 }}%</td>
</tr>
{% else %}
<tr><td colspan="4" style="color:#888">暂无数据</td></tr>
<tr><td colspan="4" class="text-muted">暂无数据</td></tr>
{% endfor %}
</tbody>
</table>
@@ -82,7 +82,7 @@
<td>{{ r.created_at[:16] if r.created_at else '' }}</td>
</tr>
{% else %}
<tr><td colspan="4" style="color:#888">暂无数据</td></tr>
<tr><td colspan="4" class="text-muted">暂无数据</td></tr>
{% endfor %}
</tbody>
</table>