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-22 10:41:24 +08:00
1 parent a718394284
commit b3f5ed41ae
24 files changed
+56 -58

No files matched your search

@@ -113,7 +113,7 @@ function go(path: string, query: Record<string, string>) {
<span v-if="detail.gradeAvg !== null">年级平均 {{ detail.gradeAvg }}</span>
</div>
<div class="big">
<span>中间那位同学做对</span><b>{{ detail.median }} 道</b><span>一半人比他多</span>
<span>中间那位同学做对</span><b>{{ detail.median }} 道</b><span>一半人比这多</span>
</div>
<div class="big">
<span>做对过题的</span>
@@ -205,7 +205,7 @@ function go(path: string, query: Record<string, string>) {
@click.prevent="
go('/submission', { username: row.user.username, exactUsername: '1' })
"
>看他的提交 ›</a
>看提交 ›</a
>
<a href="#" @click.prevent="go('/ai-analysis', { username: row.user.username })"
>智能分析 ›</a
@@ -83,8 +83,8 @@ const HEIGHTS: Record<number, number> = { 1: 56, 2: 44, 3: 34 }
<button
v-if="teacher"
class="clear"
aria-label="清空他的签名"
title="清空他的签名"
aria-label="清空签名"
title="清空签名"
@click="$emit('clearMood', row)"
>
×
@@ -171,9 +171,9 @@ function width(row: RankRow) {
function menuOf(row: RankRow): DropdownOption[] {
return [
{ label: "看他的提交", key: "submissions" },
{ label: "看他的智能分析", key: "analysis" },
...(row.mood ? [{ label: "清空他的签名…", key: "mood" }] : []),
{ label: "看提交", key: "submissions" },
{ label: "看智能分析", key: "analysis" },
...(row.mood ? [{ label: "清空签名…", key: "mood" }] : []),
{ label: "不计入排名…", key: "hide" },
]
}
+2 -2
View File
@@ -319,7 +319,7 @@ function openSubmissions(username: string) {
function hide(row: RankRow) {
dialog.warning({
title: "不计入排名",
content: `${row.user.username} 会从所有排名里消失(本班、本年级、全服、首页周榜),他自己会看到「不计入排名」。比赛排名不受影响,随时能恢复。`,
content: `${row.user.username} 会从所有排名里消失(本班、本年级、全服、首页周榜),本人会看到「不计入排名」。比赛排名不受影响,随时能恢复。`,
positiveText: "不计入排名",
negativeText: "取消",
onPositiveClick: async () => {
@@ -347,7 +347,7 @@ function onMoodSaved(mood: string | null) {
function confirmClearMood(row: RankRow) {
dialog.warning({
title: "清空个性签名",
content: `${row.user.username} 的签名「${row.mood}」会被清空。只清这一句,他之后还能重新写。`,
content: `${row.user.username} 的签名「${row.mood}」会被清空。只清这一句,之后还能重新写。`,
positiveText: "清空",
negativeText: "取消",
onPositiveClick: async () => {