update fe

This commit is contained in:
Himit_ZH 2021-07-07 15:49:46 +08:00
parent 10ec994b0d
commit c63f8b0237
5 changed files with 24 additions and 7 deletions

View File

@ -404,4 +404,9 @@ export default {
/deep/.el-card__header { /deep/.el-card__header {
padding-bottom: 0; padding-bottom: 0;
} }
@media screen and (min-width: 1050px) {
/deep/ .vxe-table--body-wrapper {
overflow-x: hidden !important;
}
}
</style> </style>

View File

@ -441,4 +441,10 @@ span.rank-tag {
.cite.no2 { .cite.no2 {
border-top: 5px solid #e6bf25; border-top: 5px solid #e6bf25;
} }
@media screen and (min-width: 1050px) {
/deep/ .vxe-table--body-wrapper {
overflow-x: hidden !important;
}
}
</style> </style>

View File

@ -56,13 +56,13 @@
<vxe-table-column <vxe-table-column
field="id" field="id"
type="seq" type="seq"
min-width="50" width="50"
fixed="left" fixed="left"
></vxe-table-column> ></vxe-table-column>
<vxe-table-column <vxe-table-column
field="username" field="username"
fixed="left" fixed="left"
min-width="150" min-width="96"
:title="$t('m.User')" :title="$t('m.User')"
> >
<template v-slot="{ row }"> <template v-slot="{ row }">
@ -78,7 +78,7 @@
<vxe-table-column <vxe-table-column
field="realname" field="realname"
fixed="left" fixed="left"
min-width="100" min-width="96"
:title="$t('m.RealName')" :title="$t('m.RealName')"
v-if="isContestAdmin" v-if="isContestAdmin"
> >

View File

@ -216,4 +216,10 @@ export default {
}; };
</script> </script>
<style scoped></style> <style scoped>
@media screen and (min-width: 1050px) {
/deep/ .vxe-table--body-wrapper {
overflow-x: hidden !important;
}
}
</style>

View File

@ -63,7 +63,7 @@
></vxe-table-column> ></vxe-table-column>
<vxe-table-column <vxe-table-column
field="username" field="username"
min-width="150" min-width="96"
fixed="left" fixed="left"
:title="$t('m.User')" :title="$t('m.User')"
> >
@ -79,7 +79,7 @@
</vxe-table-column> </vxe-table-column>
<vxe-table-column <vxe-table-column
field="realname" field="realname"
min-width="100" min-width="96"
fixed="left" fixed="left"
:title="$t('m.RealName')" :title="$t('m.RealName')"
v-if="isContestAdmin" v-if="isContestAdmin"
@ -104,7 +104,7 @@
</template> </template>
</vxe-table-column> </vxe-table-column>
<vxe-table-column <vxe-table-column
min-width="80" min-width="70"
v-for="problem in contestProblems" v-for="problem in contestProblems"
:key="problem.displayId" :key="problem.displayId"
> >