更新前端

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

View File

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