统计页面优化

This commit is contained in:
2026-03-17 10:08:11 +08:00
parent 8e51ca8930
commit 861d5c49b3
2 changed files with 6 additions and 6 deletions

View File

@@ -16,13 +16,13 @@
:header-cell-style="{ background: 'transparent' }" :header-cell-style="{ background: 'transparent' }"
> >
<template #default> <template #default>
<ElTableColumn label="玩家" prop="name" min-width="120" /> <ElTableColumn label="玩家" prop="name" min-width="120" align="center" />
<ElTableColumn label="余额" prop="coin" min-width="120" align="right"> <ElTableColumn label="余额" prop="coin" min-width="120" align="center">
<template #default="scope"> <template #default="scope">
{{ formatCoin(scope.row.coin) }} {{ formatCoin(scope.row.coin) }}
</template> </template>
</ElTableColumn> </ElTableColumn>
<ElTableColumn label="抽奖券" prop="total_ticket_count" min-width="100" align="right" /> <ElTableColumn label="抽奖券" prop="total_ticket_count" min-width="100" align="center" />
</template> </template>
</ArtTable> </ArtTable>
</div> </div>

View File

@@ -16,13 +16,13 @@
:header-cell-style="{ background: 'transparent' }" :header-cell-style="{ background: 'transparent' }"
> >
<template #default> <template #default>
<ElTableColumn label="玩家" prop="player_name" min-width="120" /> <ElTableColumn label="玩家" prop="player_name" min-width="120" align="center" />
<ElTableColumn label="充值金额" prop="coin" min-width="120" align="right"> <ElTableColumn label="充值金额" prop="coin" min-width="120" align="center">
<template #default="scope"> <template #default="scope">
{{ formatCoin(scope.row.coin) }} {{ formatCoin(scope.row.coin) }}
</template> </template>
</ElTableColumn> </ElTableColumn>
<ElTableColumn label="充值时间" prop="create_time" min-width="170" /> <ElTableColumn label="充值时间" prop="create_time" min-width="170" align="center" />
</template> </template>
</ArtTable> </ArtTable>
</div> </div>