update about

This commit is contained in:
2023-10-25 12:03:16 +08:00
parent 7b50aa39db
commit 248825be5b
3 changed files with 21 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { NButton, NCard, NDivider, NLayoutContent, NSpace, NText } from 'naive-ui'
import { NButton, NCard, NDivider, NLayoutContent, NSpace, NText, NTimeline, NTimelineItem } from 'naive-ui'
</script>
<template>
<NLayoutContent style="height: 100vh">
@@ -7,9 +7,9 @@ import { NButton, NCard, NDivider, NLayoutContent, NSpace, NText } from 'naive-u
<NCard style="max-width: 80vw; width: 700px">
<template #header> 关于 </template>
<NText>
一个兴趣然的网站.
一个兴趣使然的网站
<br />
反馈 | 建议 | 需求 | 闲聊: :
反馈 | 建议 | 需求 | 闲聊: 🐧
<NButton
tag="a"
type="info"
@@ -21,14 +21,7 @@ import { NButton, NCard, NDivider, NLayoutContent, NSpace, NText } from 'naive-u
</NButton>
<NDivider vertical />
邮箱:
<NButton
tag="a"
type="info"
href="mailto:megghy@qq.com"
text
>
megghy@qq.com
</NButton>
<NButton tag="a" type="info" href="mailto:admin@vtsuru.live" text> admin@vtsuru.live </NButton>
</NText>
<template #footer>
<NSpace vertical>
@@ -36,15 +29,16 @@ import { NButton, NCard, NDivider, NLayoutContent, NSpace, NText } from 'naive-u
开发者:
<NButton type="primary" tag="a" href="https://space.bilibili.com/10021741" target="_blank" text style=""> Megghy </NButton>
</span>
<span>
技术栈: 前端 VUE3 + NAIVE UI, 后端 .NET 8
</span>
<span> 技术栈: 前端 VUE3 + NAIVE UI, 后端 .NET 8 </span>
</NSpace>
<NDivider title-placement="left"> 更新日志 </NDivider>
<NTimeline>
<NTimelineItem type="success" title="功能添加" content="舰长及SC记录" time="2023-10-24" line-type="dashed" />
<NTimelineItem type="info" content="开始运行" time="2023-10-23" />
</NTimeline>
</template>
</NCard>
<NButton @click="$router.push({ name: 'manage-index' })">
回到主页
</NButton>
<NButton @click="$router.push({ name: 'manage-index' })"> 回到主页 </NButton>
</NSpace>
</NLayoutContent>
</template>

View File

@@ -56,11 +56,11 @@ const menuOptions = [
to: {
name: 'manage-history',
},
disabled: !accountInfo.value?.isEmailVerified,
},
{ default: () => '历史' }
),
key: 'manage-history',
disabled: !accountInfo.value?.isEmailVerified,
icon: renderIcon(AnalyticsSharp),
},
{
@@ -71,11 +71,11 @@ const menuOptions = [
to: {
name: 'manage-event',
},
disabled: accountInfo.value?.isBiliVerified != true,
},
{ default: () => '舰长和SC' }
),
key: 'manage-event',
disabled: !accountInfo.value?.isEmailVerified,
icon: renderIcon(VehicleShip24Filled),
},
{
@@ -86,12 +86,12 @@ const menuOptions = [
to: {
name: 'manage-schedule',
},
disabled: !accountInfo.value?.isEmailVerified || (accountInfo.value?.settings?.enableFunctions.indexOf(FunctionTypes.Schedule) ?? -1) == -1,
},
{ default: () => '日程' }
),
key: 'manage-schedule',
icon: renderIcon(CalendarClock24Filled),
disabled: !accountInfo.value?.isEmailVerified || (accountInfo.value?.settings?.enableFunctions.indexOf(FunctionTypes.Schedule) ?? -1) == -1,
},
{
label: () =>
@@ -101,12 +101,12 @@ const menuOptions = [
to: {
name: 'manage-songList',
},
disabled: !accountInfo.value?.isEmailVerified || (accountInfo.value?.settings?.enableFunctions.indexOf(FunctionTypes.SongList) ?? -1) == -1,
},
{ default: () => '歌单' }
),
key: 'manage-songList',
icon: renderIcon(MusicalNote),
disabled: !accountInfo.value?.isEmailVerified || (accountInfo.value?.settings?.enableFunctions.indexOf(FunctionTypes.SongList) ?? -1) == -1,
},
{
label: () =>
@@ -116,12 +116,12 @@ const menuOptions = [
to: {
name: 'manage-questionBox',
},
disabled: !accountInfo.value?.isEmailVerified || (accountInfo.value?.settings?.enableFunctions.indexOf(FunctionTypes.QuestionBox) ?? -1) == -1,
},
{ default: () => '棉花糖 (提问箱' }
),
key: 'manage-questionBox',
icon: renderIcon(Chatbox),
disabled: !accountInfo.value?.isEmailVerified || (accountInfo.value?.settings?.enableFunctions.indexOf(FunctionTypes.QuestionBox) ?? -1) == -1,
},
{
label: () =>
@@ -136,6 +136,7 @@ const menuOptions = [
),
key: 'manage-lottery',
icon: renderIcon(Lottery24Filled),
disabled: !accountInfo.value?.isEmailVerified,
},
]

View File

@@ -166,7 +166,10 @@ onMounted(() => {
</script>
<template>
<NSpace vertical>
<NAlert type="warning"> 实验性功能, 尚不稳定. </NAlert>
<NAlert v-if="!accountInfo?.isBiliVerified" type="warning"> 使用此功能前你需要先<NButton type="info" text @click="$router.push({ name: 'manage-biliVerify' })">认证Bilibili账号</NButton> </NAlert>
</NSpace>
<NDivider />
<NAlert title="EVENT-FETCHER 状态" :type="accountInfo?.eventFetcherOnline ? (accountInfo?.eventFetcherStatus == 'ok' ? 'success' : 'warning') : 'info'">
<NTag :type="accountInfo?.eventFetcherOnline ? (accountInfo?.eventFetcherStatus == 'ok' ? 'success' : 'warning') : 'error'">