增加自然语言状态摘要

This commit is contained in:
2026-08-10 10:19:19 +08:00 Unverified
parent d4dd40bb72
commit 360af12d02
4 changed files with 77 additions and 18 deletions
+11
View File
@@ -66,6 +66,7 @@ interface DashboardGreeting {
title: string
subtitle: string
label: string
narrative: string
insights: Array<{
label: string
value: string
@@ -465,6 +466,8 @@ onMounted(async () => {
</div>
</section>
<p class="greeting-narrative">{{ data.greeting.narrative }}</p>
<section class="overview-metrics" aria-label="关键教学数据">
<button
v-for="metric in adminMetrics"
@@ -652,6 +655,14 @@ onMounted(async () => {
.greeting-insight strong { color: var(--dashboard-navy); font-size: 20px; }
.greeting-insight small { overflow: hidden; color: #84909d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.greeting-narrative {
margin: -7px 0 0;
padding: 0 3px;
color: #526078;
font-size: 12px;
line-height: 1.7;
}
.overview-hero::after {
content: "";
position: absolute;