增加自然语言状态摘要
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user