update fe

This commit is contained in:
Himit_ZH 2021-12-26 21:00:07 +08:00
parent ab04560a37
commit 48f5556d1c
3 changed files with 27 additions and 13 deletions

View File

@ -483,4 +483,7 @@ export const m = {
To_Enter_Training_Need_Password:'To enter the Private training, please input the password!', To_Enter_Training_Need_Password:'To enter the Private training, please input the password!',
Enter_the_training_password:'Enter the training password', Enter_the_training_password:'Enter the training password',
Register_training_successfully:'Register training successfully', Register_training_successfully:'Register training successfully',
// /views/oj/training/TrainingRank.vue
Total_AC:'Total AC',
} }

View File

@ -486,4 +486,7 @@ export const m = {
To_Enter_Training_Need_Password:'请输入该私有训练的密码,方可进入', To_Enter_Training_Need_Password:'请输入该私有训练的密码,方可进入',
Enter_the_training_password:'请输入私有训练的密码', Enter_the_training_password:'请输入私有训练的密码',
Register_training_successfully:'验证训练密码成功!', Register_training_successfully:'验证训练密码成功!',
// /views/oj/training/TrainingRank.vue
Total_AC:'AC总数',
} }

View File

@ -95,7 +95,7 @@
</vxe-table-column> </vxe-table-column>
<vxe-table-column <vxe-table-column
field="rating" field="rating"
:title="$t('m.Total_Score')" :title="$t('m.Total_AC')"
min-width="90" min-width="90"
> >
<template v-slot="{ row }"> <template v-slot="{ row }">
@ -127,19 +127,27 @@
</template> </template>
<template v-slot="{ row }"> <template v-slot="{ row }">
<template v-if="row.submissionInfo[problem.problemId]"> <template v-if="row.submissionInfo[problem.problemId]">
<span <el-tooltip effect="dark" placement="top">
class="judge-status" <div slot="content">
:style=" {{
'color:' +
JUDGE_STATUS[row.submissionInfo[problem.problemId].status] JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.color .name
" }}
> </div>
{{ <span
JUDGE_STATUS[row.submissionInfo[problem.problemId].status] class="judge-status"
.short :style="
}} 'color:' +
</span> JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.rgb
"
>
{{
JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.short
}}
</span>
</el-tooltip>
<br /> <br />
<span class="judge-time"> <span class="judge-time">
({{ ({{