Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0f75fd1bd0
commit
8bd3d998ae
1 file changed
+7
@@ -708,6 +708,7 @@ function dayBreak(index: number) {
|
||||
<!-- 老师只有「统计」(今日统计并进去了);学生看不到统计,仍是「今日统计」 -->
|
||||
<n-button
|
||||
v-if="teacher && route.name === 'submissions'"
|
||||
class="stats-btn"
|
||||
quaternary
|
||||
title="统计:这节课、今天,或者回头看以前的课"
|
||||
@click="openStatistics()"
|
||||
@@ -717,6 +718,7 @@ function dayBreak(index: number) {
|
||||
</n-button>
|
||||
<n-button
|
||||
v-else-if="route.name === 'submissions' && !flowMode"
|
||||
class="stats-btn"
|
||||
quaternary
|
||||
:title="`今日统计:今天全站 ${todayCount} 条`"
|
||||
@click="toggleTodayPanel(true)"
|
||||
@@ -1164,6 +1166,11 @@ function dayBreak(index: number) {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 「统计」单独折到第二行时,占位的 spacer 留在第一行,它自己靠右 */
|
||||
.stats-btn {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.mobile-filters {
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user