Files
BongoCat/src/pages/about/index.vue

37 lines
917 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { Button } from 'ant-design-vue'
import ProList from '@/components/pro-list/index.vue'
import ProListItem from '@/components/pro-list-item/index.vue'
import { GITHUB_LINK } from '@/constants'
import { useAppStore } from '@/stores/app'
const appStore = useAppStore()
</script>
<template>
<ProList title="关于软件">
<ProListItem :description="`版本v${appStore.version}`" :title="appStore.name">
<Button type="primary">
检查更新
</Button>
<template #icon>
<img class="size-12 drop-shadow" src="/images/logo.png">
</template>
</ProListItem>
<ProListItem title="开源地址">
<Button danger>
反馈问题
</Button>
<template #description>
<a :href="GITHUB_LINK" target="_blank">
{{ GITHUB_LINK }}
</a>
</template>
</ProListItem>
</ProList>
</template>