fix: 详情table样式变化
This commit is contained in:
@@ -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>
|
||||||
<Table
|
<div class={styles.tableWrap}>
|
||||||
columns={PLAYER_COLUMNS}
|
<Table
|
||||||
dataSource={categoryPlayers.value[cat.id] || []}
|
columns={PLAYER_COLUMNS}
|
||||||
loading={categoryPlayerLoading.value[cat.id]}
|
dataSource={categoryPlayers.value[cat.id] || []}
|
||||||
scroll={{ x: 'max-content', y: 200 }}
|
loading={categoryPlayerLoading.value[cat.id]}
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user