diff --git a/apps/web/src/oj/submission/components/FlowchartPane.vue b/apps/web/src/oj/submission/components/FlowchartPane.vue index 298f951..177970d 100644 --- a/apps/web/src/oj/submission/components/FlowchartPane.vue +++ b/apps/web/src/oj/submission/components/FlowchartPane.vue @@ -150,17 +150,32 @@ const canRetry = computed( > - · - + {{ row.problemDisplayId }} {{ row.problemTitle }} -
· - + {{ row.problemDisplayId }} {{ row.problemTitle }} !!exactFor.value && query.username === exactFor.value) + +function clearPerson() { + exactFor.value = "" + query.username = "" +} + function filterUser(username: string) { exactFor.value = username query.myself = "0" @@ -703,8 +711,20 @@ function dayBreak(index: number) { /> + + {{ submissionClockText(row.createTime) }} - + {{ row.problemDisplayId }} {{ row.problemTitle }} @@ -883,7 +903,7 @@ function dayBreak(index: number) { - + {{ row.problemDisplayId }} {{ row.problemTitle }} @@ -1180,6 +1200,15 @@ function dayBreak(index: number) { font-weight: 600; } +.chip.person { + max-width: 180px; + padding: 0 10px; +} + +.chip.person .person-name { + font-size: 13px; +} + .lesson b { font-weight: 600; } @@ -1195,9 +1224,11 @@ function dayBreak(index: number) { display: flex; } +/* 列表占多一点:学生的代码大多十来行、一行几十个字,右边给多了是一片空白(用户看过定的)。 + 大屏上列表最宽 1000,再宽一行里全是空隙 */ .list { - width: 560px; - flex: none; + flex: 0 0 56%; + max-width: 1000px; box-sizing: border-box; border-right: 1px solid v-bind("theme.dividerColor"); display: flex; @@ -1205,14 +1236,9 @@ function dayBreak(index: number) { min-height: 0; } -/* 1366 以下(机房 1280 的屏)左栏收窄一点,右边的代码多留几列 */ -@media (max-width: 1365px) { - .list { - width: 520px; - } -} - .mobile .list { + flex: 1 1 auto; + max-width: none; width: 100%; border-right: 0; } @@ -1343,7 +1369,7 @@ function dayBreak(index: number) { } .c-user { - width: 132px; + width: 116px; flex: none; display: flex; overflow: hidden;