优化构架

This commit is contained in:
2026-08-03 18:49:18 +08:00
parent 1241d11c01
commit 44c33a6280
133 changed files with 651 additions and 603 deletions
+16
View File
@@ -0,0 +1,16 @@
<script setup lang="ts">
defineProps<{
items: Array<{ label: string; value: string | number; note?: string }>
}>()
</script>
<template>
<section class="metric-strip" aria-label="数据摘要">
<div v-for="item in items" :key="item.label" class="metric-item">
<span>{{ item.label }}</span>
<strong>{{ item.value }}</strong>
<small v-if="item.note">{{ item.note }}</small>
</div>
</section>
</template>