diff --git a/frontend/src/views/ProductAttribute/Index.vue b/frontend/src/views/ProductAttribute/Index.vue index 370ba8d..cff4d05 100644 --- a/frontend/src/views/ProductAttribute/Index.vue +++ b/frontend/src/views/ProductAttribute/Index.vue @@ -48,4 +48,15 @@ const tabs: { key: AttrType; label: string }[] = [ .attr-card :deep(.el-tabs--left .el-tabs__header) { margin-right: 16px; } +/* 页签内容撑满,面板内部才能把分页固定到底部(与订单页一致) */ +.attr-card :deep(.el-tabs--left .el-tabs__content), +.attr-card :deep(.el-tab-pane) { + height: 100%; + overflow: hidden; +} +.attr-card :deep(.el-tab-pane) { + display: flex; + flex-direction: column; + min-height: 0; +} diff --git a/frontend/src/views/ProductAttribute/ProductAttributePanel.vue b/frontend/src/views/ProductAttribute/ProductAttributePanel.vue index f88d229..ffb604c 100644 --- a/frontend/src/views/ProductAttribute/ProductAttributePanel.vue +++ b/frontend/src/views/ProductAttribute/ProductAttributePanel.vue @@ -331,6 +331,7 @@ onMounted(fetchList)