This commit is contained in:
2024-07-05 17:09:55 +08:00
parent 329489d83a
commit b63ba1c628
3 changed files with 8 additions and 5 deletions

View File

@@ -39,7 +39,6 @@ const passwordFormVisible = computed(
<Icon <Icon
v-if="contestStore.isPrivate" v-if="contestStore.isPrivate"
icon="streamline-emojis:locked-with-key" icon="streamline-emojis:locked-with-key"
:width="30"
:height="30" :height="30"
></Icon> ></Icon>
<h2 class="contestTitle">{{ contestStore.contest.title }}</h2> <h2 class="contestTitle">{{ contestStore.contest.title }}</h2>

View File

@@ -10,7 +10,6 @@ defineProps<{ contest: Contest }>()
<Icon <Icon
v-if="contest.contest_type === ContestType.private" v-if="contest.contest_type === ContestType.private"
:height="24" :height="24"
:width="24"
icon="streamline-emojis:locked-with-key" icon="streamline-emojis:locked-with-key"
></Icon> ></Icon>
<span>{{ contest.title }}</span> <span>{{ contest.title }}</span>

View File

@@ -122,7 +122,7 @@ function goHome() {
<n-flex justify="space-between" align="center"> <n-flex justify="space-between" align="center">
<n-flex align="center"> <n-flex align="center">
<n-flex align="center" class="title" @click="goHome"> <n-flex align="center" class="title" @click="goHome">
<Icon icon="streamline-emojis:dog" :width="30" :height="30"></Icon> <Icon icon="streamline-emojis:dog" :height="30"></Icon>
<div v-if="isDesktop">{{ configStore.config?.website_name }}</div> <div v-if="isDesktop">{{ configStore.config?.website_name }}</div>
</n-flex> </n-flex>
<div> <div>
@@ -136,7 +136,12 @@ function goHome() {
</n-flex> </n-flex>
<n-flex align="center"> <n-flex align="center">
<n-dropdown v-if="isMobile" :options="menus" size="large"> <n-dropdown v-if="isMobile" :options="menus" size="large">
<n-button>菜单</n-button> <n-button>
<Icon icon="twemoji:artist-palette" height="20"></Icon>
<span style="padding-left: 8px">
菜单
</span>
</n-button>
</n-dropdown> </n-dropdown>
<n-button <n-button
v-if=" v-if="
@@ -150,7 +155,7 @@ function goHome() {
<div v-if="userStore.isFinished"> <div v-if="userStore.isFinished">
<n-dropdown v-if="userStore.isAuthed" :options="options" size="large"> <n-dropdown v-if="userStore.isAuthed" :options="options" size="large">
<n-button @click="getRandomAvatar"> <n-button @click="getRandomAvatar">
<Icon :icon="avatar" :height="20" :width="20"></Icon> <Icon :icon="avatar" height="20"></Icon>
<span style="padding-left: 8px"> <span style="padding-left: 8px">
{{ userStore.user!.username }} {{ userStore.user!.username }}
</span> </span>