add class pk
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2026-01-03 21:52:09 +08:00
parent 577538f689
commit 078e643987
7 changed files with 729 additions and 0 deletions

View File

@@ -118,6 +118,30 @@ const menus = computed<MenuOption[]>(() => [
key: "rank",
icon: renderIcon("streamline-emojis:hibiscus"),
},
{
label: () => "班级",
key: "class",
show: false,
icon: renderIcon("twemoji:crossed-swords"),
children: [
{
label: () =>
h(RouterLink, { to: "/class/rank" }, { default: () => "班级排名" }),
key: "class-rank",
},
{
label: () =>
h(RouterLink, { to: "/class/pk" }, { default: () => "班级PK" }),
key: "class-pk",
},
{
label: () =>
h(RouterLink, { to: "/class/my-rank" }, { default: () => "我的排名" }),
key: "my-rank",
show: userStore.isAuthed,
},
],
},
{
label: () =>
h(RouterLink, { to: "/announcement" }, { default: () => "公告" }),