更新前端

This commit is contained in:
Himit_ZH 2021-09-04 19:42:03 +08:00
parent 7fdbdddee5
commit dd3b825052
2 changed files with 14 additions and 6 deletions

View File

@ -62,7 +62,7 @@
<vxe-table-column
field="username"
fixed="left"
min-width="96"
min-width="112"
:title="$t('m.User')"
>
<template v-slot="{ row }">
@ -101,14 +101,14 @@
<vxe-table-column
field="totalTime"
:title="$t('m.TotalTime')"
min-width="80"
min-width="100"
>
<template v-slot="{ row }">
<span>{{ parseTotalTime(row.totalTime) }}</span>
</template>
</vxe-table-column>
<vxe-table-column
min-width="80"
min-width="120"
v-for="problem in contestProblems"
:key="problem.displayId"
>
@ -448,4 +448,8 @@ a.emphasis:hover {
vertical-align: middle;
border-bottom: 1px solid #e9eaec;
}
/deep/.vxe-table .vxe-cell {
padding-left: 5px !important;
padding-right: 5px !important;
}
</style>

View File

@ -46,7 +46,6 @@
<div v-show="showTable">
<vxe-table
round
border
auto-resize
size="small"
align="center"
@ -63,7 +62,7 @@
></vxe-table-column>
<vxe-table-column
field="username"
min-width="96"
min-width="112"
fixed="left"
:title="$t('m.User')"
>
@ -103,7 +102,7 @@
</template>
</vxe-table-column>
<vxe-table-column
min-width="100"
min-width="120"
v-for="problem in contestProblems"
:key="problem.displayId"
>
@ -354,4 +353,9 @@ a.emphasis:hover {
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
}
/deep/.vxe-table .vxe-cell {
padding-left: 5px !important;
padding-right: 5px !important;
}
</style>