v1.1.0: AI分析历史记录 + 数据源详情页(/analysis/<id>),展示大模型参考的RAG新闻/概况/指标/评级/持仓/提示词

This commit is contained in:
2026-08-19 21:00:20 +08:00
parent b0fece63ff
commit 4a9ea9ddd7
8 changed files with 273 additions and 10 deletions
+14
View File
@@ -208,3 +208,17 @@ tr:hover td { background: rgba(59,130,246,.05); }
.score-bar .sb-track { flex: 1; height: 6px; background: #262d3a; border-radius: 3px; overflow: hidden; }
.score-bar .sb-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); border-radius: 3px; }
.score-bar .sb-val { width: 28px; text-align: right; color: var(--text); }
/* ===== 数据源区块(分析详情页) ===== */
.src-block { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; background: var(--bg2); overflow: hidden; }
.src-block summary { cursor: pointer; padding: 11px 14px; font-weight: 600; font-size: 13px; user-select: none; list-style: none; }
.src-block summary::-webkit-details-marker { display: none; }
.src-block summary:hover { background: rgba(59,130,246,.06); }
.src-count { float: right; color: var(--accent); font-weight: 700; }
.src-body { padding: 0 14px 12px; border-top: 1px solid #1f2630; }
.src-news { padding: 10px 0; border-bottom: 1px dashed #1f2630; }
.src-news:last-child { border-bottom: none; }
.src-news-title { font-weight: 600; margin-bottom: 5px; font-size: 13px; }
.src-news-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 5px; flex-wrap: wrap; }
.src-news-text { font-size: 12px; color: var(--text2); line-height: 1.7; }
.src-pre { white-space: pre-wrap; word-break: break-word; font-size: 12px; color: var(--text2); line-height: 1.7; background: #0d1117; border: 1px solid #1f2630; border-radius: 8px; padding: 10px; overflow-x: auto; }