fix: 详情table样式变化

This commit is contained in:
ZhuRui
2026-08-04 11:44:47 +08:00
parent 3f621a75ad
commit 256ba7bd0a
2 changed files with 15 additions and 9 deletions
@@ -49,6 +49,11 @@
font-weight: 500; font-weight: 500;
} }
.tableWrap {
max-height: 200px;
overflow-y: auto;
}
.paginationRow { .paginationRow {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
@@ -247,15 +247,16 @@ export default defineComponent({
<div class={styles.groupTitle}> <div class={styles.groupTitle}>
{cat.name}{CATEGORY_TYPE_MAP[cat.type] ?? cat.type} {cat.name}{CATEGORY_TYPE_MAP[cat.type] ?? cat.type}
</div> </div>
<div class={styles.tableWrap}>
<Table <Table
columns={PLAYER_COLUMNS} columns={PLAYER_COLUMNS}
dataSource={categoryPlayers.value[cat.id] || []} dataSource={categoryPlayers.value[cat.id] || []}
loading={categoryPlayerLoading.value[cat.id]} loading={categoryPlayerLoading.value[cat.id]}
scroll={{ x: 'max-content', y: 200 }}
size="small" size="small"
pagination={false} pagination={false}
bordered bordered
/> />
</div>
{categoryPlayerTotal.value[cat.id] > 0 && ( {categoryPlayerTotal.value[cat.id] > 0 && (
<div class={styles.paginationRow}> <div class={styles.paginationRow}>
<Pagination <Pagination