@@ -130,11 +130,6 @@ const menus = computed<MenuOption[]>(() => [
|
|||||||
key: "announcement",
|
key: "announcement",
|
||||||
icon: renderIcon("twemoji:loudspeaker"),
|
icon: renderIcon("twemoji:loudspeaker"),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: () => "别点",
|
|
||||||
key: "dont-click",
|
|
||||||
icon: renderIcon("twemoji:zany-face"),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: () =>
|
label: () =>
|
||||||
h(
|
h(
|
||||||
@@ -213,12 +208,7 @@ function handleMenuSelect(key: string) {
|
|||||||
<template>
|
<template>
|
||||||
<n-flex justify="space-between" align="center">
|
<n-flex justify="space-between" align="center">
|
||||||
<n-flex align="center">
|
<n-flex align="center">
|
||||||
<n-flex
|
<n-flex align="center" class="title" @click="goHome">
|
||||||
align="center"
|
|
||||||
class="title"
|
|
||||||
:class="isDesktop ? 'desktop' : ''"
|
|
||||||
@click="goHome"
|
|
||||||
>
|
|
||||||
<Icon icon="streamline-emojis:dog" :height="30"></Icon>
|
<Icon icon="streamline-emojis:dog" :height="30"></Icon>
|
||||||
<div>{{ configStore.config?.website_name }}</div>
|
<div>{{ configStore.config?.website_name }}</div>
|
||||||
<div v-if="showEnvVersion">({{ envVersion }})</div>
|
<div v-if="showEnvVersion">({{ envVersion }})</div>
|
||||||
@@ -295,8 +285,4 @@ function handleMenuSelect(key: string) {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title.desktop {
|
|
||||||
margin: 0 16px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user