feat: 优化后台列表高度与分页容量

This commit is contained in:
Nixevol
2026-07-03 04:45:01 +08:00
parent 0e817c453e
commit 5c564e9f24
14 changed files with 227 additions and 94 deletions
+15 -2
View File
@@ -1,5 +1,5 @@
<template>
<div class="page">
<div class="page table-page">
<div class="page-toolbar">
<n-button quaternary @click="router.back()">
<template #icon><n-icon :component="ArrowBackOutline" /></template>
@@ -25,7 +25,7 @@
</n-descriptions>
</n-card>
<n-card :title="t('pages.artwork.traceCodes')" :bordered="false">
<n-card :title="t('pages.artwork.traceCodes')" :bordered="false" class="table-card">
<trace-code-panel :artwork-id="artworkId" />
</n-card>
</div>
@@ -65,6 +65,19 @@ onMounted(loadArtwork);
}
.summary-card {
margin-bottom: 16px;
flex: 0 0 auto;
}
.table-card {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.table-card :deep(.n-card__content) {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.summary-title {
display: flex;