增加自然语言状态摘要

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
+10
View File
@@ -74,6 +74,7 @@ interface DashboardGreeting {
title: string
subtitle: string
label: string
narrative: string
insights: Array<{
label: string
value: string
@@ -350,6 +351,7 @@ onMounted(loadOverview)
<em>{{ insight.hint }}</em>
</article>
</section>
<p v-if="dashboardGreeting?.narrative" class="student-greeting-narrative">{{ dashboardGreeting.narrative }}</p>
<el-alert
v-if="failedSections.length"
@@ -595,6 +597,14 @@ onMounted(loadOverview)
.student-greeting-insights strong { color: var(--ink); font-size: 19px; }
.student-greeting-insights em { overflow: hidden; color: var(--muted); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.student-greeting-narrative {
margin: -5px 0 0;
padding: 0 3px;
color: #526078;
font-size: 12px;
line-height: 1.7;
}
.today-status {
min-width: 180px;
margin-left: auto;