Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions ui/css/style.css
Original file line numberDiff line numberDiff line change
Expand Up@@ -327,27 +327,27 @@ select.input option { background: var(--bg-card); }
.tx-summary .ts-value.danger { color: var(--danger-text); }

/* 交易趋势图(rant 2026-08-23T16:01:07 需求 2):SVG 折线图,无外部依赖 */
.tx-trend { padding: 10px 16px 8px; border-bottom: 1px solid var(--border); }
.tx-trend-title { color: var(--text-mute); font-size: 12px; margin-bottom: 2px; }
.tx-trend { padding: 8px 16px 6px; border-bottom: 1px solid var(--border); }
.tx-trend-title { color: var(--text-mute); font-size: 11px; margin-bottom: 1px; }
/* 指标切换(rant 2026-08-23T16:17:18 需求 2) */
.tx-trend-switch { display: flex; gap: 6px; margin: 6px 0 8px; flex-wrap: wrap; }
.tx-trend-switch { display: flex; gap: 5px; margin: 4px 0 6px; flex-wrap: wrap; }
.tsw-btn {
border: 1px solid var(--border);
background: transparent;
color: var(--text-dim);
padding: 3px 12px;
padding: 2px 10px;
border-radius: 999px;
cursor: pointer;
font-size: 12px;
font-size: 11px;
}
.tsw-btn:hover { color: var(--text); }
.tsw-btn.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.tx-trend-chart { position: relative; }
.tx-trend svg { width: 100%; height: auto; display: block; }
.tx-trend-axis { fill: var(--text-mute); font-size: 9px; }
.tx-trend-axis { fill: var(--text-mute); font-size: 8px; }
/* 平滑折线 + 渐变面积(sparkline 化,rant 2026-08-24T10:51:57.821209:
无网格线、无数据点圆、渐变 0.35→0、teal 主题色系——消费用主强调色区分) */
.tx-trend svg .trend-line { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tx-trend svg .trend-line { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tx-trend svg .trend-area { stroke: none; }
/* 悬停引导线 + tooltip */
.tx-trend-guide { position: absolute; top: 2px; bottom: 6px; width: 1px; background: var(--text-dim); opacity: 0.45; display: none; pointer-events: none; }
Expand All@@ -358,8 +358,8 @@ select.input option { background: var(--bg-card); }
box-shadow: var(--shadow); z-index: 5; white-space: nowrap; line-height: 1.5;
}
.tx-trend-tip b { color: var(--accent-text); font-weight: 600; }
.tx-trend-legend { display: flex; gap: 12px; font-size: 11px; color: var(--text-mute); padding-top: 4px; align-items: center; }
.tx-trend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.tx-trend-legend { display: flex; gap: 10px; font-size: 10px; color: var(--text-mute); padding-top: 2px; align-items: center; }
.tx-trend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 3px; vertical-align: middle; }
.tx-trend-dot.exp { background: var(--accent); }
.tx-trend-dot.inc { background: var(--ok); }
.tx-trend-dot.net { background: var(--accent-text); }
Expand Down
10 changes: 5 additions & 5 deletions ui/index.html
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AITokenPool</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234ecdc4'/%3E%3Cstop offset='1' stop-color='%232a9d8f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='64' height='64' rx='14' fill='url(%23g)'/%3E%3Ctext x='32' y='43' font-family='-apple-system,Segoe UI,Arial,sans-serif' font-size='30' font-weight='800' text-anchor='middle' fill='%23062021'%3EAT%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="css/style.css?v=20260824-9">
<link rel="stylesheet" href="css/style.css?v=20260824-10">
</head>
<body>

Expand DownExpand Up@@ -683,9 +683,9 @@ <h3 id="chat-title">使用模型</h3>
</div>
</div>

<script src="js/api.js?v=20260824-9"></script>
<script src="js/data.js?v=20260824-9"></script>
<script src="js/i18n.js?v=20260824-9"></script>
<script src="js/app.js?v=20260824-9"></script>
<script src="js/api.js?v=20260824-10"></script>
<script src="js/data.js?v=20260824-10"></script>
<script src="js/i18n.js?v=20260824-10"></script>
<script src="js/app.js?v=20260824-10"></script>
</body>
</html>
Loading