refactor: 按甲方确认重构为一款多码(档案编号标识款、批次码、按款统计)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
<n-list-item v-for="(item, i) in data.topArtworks" :key="i">
|
||||
<div class="top-row">
|
||||
<n-tag :type="i < 3 ? 'warning' : 'default'" size="small" round>{{ i + 1 }}</n-tag>
|
||||
<span class="top-title text-ellipsis">{{ item.title }}</span>
|
||||
<span class="top-title text-ellipsis">
|
||||
<span v-if="item.archiveNo" class="top-archive">{{ item.archiveNo }}</span>{{ item.title }}
|
||||
</span>
|
||||
<span class="top-count">{{ item.queryCount }}</span>
|
||||
</div>
|
||||
</n-list-item>
|
||||
@@ -63,7 +65,7 @@ const data = ref<any>(null);
|
||||
|
||||
const stats = computed(() => [
|
||||
{ key: 'totalArtworks', label: t('pages.dashboard.totalArtworks'), icon: ImagesOutline, color: '#1f3864' },
|
||||
{ key: 'boundCodes', label: t('pages.dashboard.boundCodes'), icon: QrCodeOutline, color: '#2e5496' },
|
||||
{ key: 'totalCodes', label: t('pages.dashboard.totalCodes'), icon: QrCodeOutline, color: '#2e5496' },
|
||||
{ key: 'activatedCodes', label: t('pages.dashboard.activatedCodes'), icon: CheckmarkCircleOutline, color: '#138a72' },
|
||||
{ key: 'totalQueries', label: t('pages.dashboard.totalQueries'), icon: SearchOutline, color: '#3a7bd5' },
|
||||
{ key: 'todayQueries', label: t('pages.dashboard.todayQueries'), icon: TodayOutline, color: '#b9851f' },
|
||||
@@ -144,6 +146,11 @@ onMounted(async () => {
|
||||
.top-title {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.top-archive {
|
||||
color: var(--brand);
|
||||
font-size: 12px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
.top-count {
|
||||
font-weight: 600;
|
||||
color: var(--brand);
|
||||
|
||||
Reference in New Issue
Block a user