fix(排名): 题数一样时一列灰色短条像没加载完的占位块,看不出是什么
Deploy / deploy (push) Canceled after 0s

条后面加一道淡色的满宽底槽,读得出「离满格还差多少」;桌面图例补上「做出的题数」,
老师也看得到。手机上条本来就是整行底色,不动。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-10 14:07:31 +08:00
1 parent eaab224ba8
commit aba3767fc1
3 files changed
+23 -2

No files matched your search

@@ -239,7 +239,7 @@ function onMenu(key: string, row: RankRow) {
</template>
{{ item.row.mood }}
</n-tooltip>
<span class="bar-box">
<span class="bar-box" :style="{ background: palette.track }">
<span class="bar" :style="{ width: width(item.row), background: barColor(item.row) }" />
</span>
<span class="solved">{{ item.row.solved }}</span>
@@ -414,6 +414,7 @@ function onMenu(key: string, row: RankRow) {
height: 16px;
position: relative;
min-width: 40px;
border-radius: 2px 6px 6px 2px;
}
.bar {