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;
}
.tableWrap {
max-height: 200px;
overflow-y: auto;
}
.paginationRow {
display: flex;
justify-content: flex-end;
@@ -247,15 +247,16 @@ export default defineComponent({
<div class={styles.groupTitle}>
{cat.name}{CATEGORY_TYPE_MAP[cat.type] ?? cat.type}
</div>
<div class={styles.tableWrap}>
<Table
columns={PLAYER_COLUMNS}
dataSource={categoryPlayers.value[cat.id] || []}
loading={categoryPlayerLoading.value[cat.id]}
scroll={{ x: 'max-content', y: 200 }}
size="small"
pagination={false}
bordered
/>
</div>
{categoryPlayerTotal.value[cat.id] > 0 && (
<div class={styles.paginationRow}>
<Pagination