mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-05 19:41:59 +08:00
feat(about): add about page
This commit is contained in:
parent
d7ff1c712f
commit
ebe4861163
@ -13,7 +13,7 @@
|
||||
<script setup lang="ts">
|
||||
import { useAppStore } from './store';
|
||||
import { zhCN, dateZhCN, GlobalThemeOverrides, useOsTheme } from 'naive-ui';
|
||||
import themeConfig from './theme.json';
|
||||
// import themeConfig from './theme.json';
|
||||
|
||||
const locale = zhCN;
|
||||
const dateLocale = dateZhCN;
|
||||
@ -22,7 +22,7 @@ const appStore = useAppStore();
|
||||
const osThemeRef = useOsTheme();
|
||||
appStore.setDarkMode(osThemeRef.value === 'dark');
|
||||
|
||||
const themeOverrides: GlobalThemeOverrides = themeConfig;
|
||||
const themeOverrides: GlobalThemeOverrides = {};
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
@ -1,7 +1,79 @@
|
||||
<template>
|
||||
<div>关于本项目</div>
|
||||
<n-space vertical>
|
||||
<n-card title="关于">
|
||||
Ench-admin是一款基于Vue3+vite+TypeScript+Navie
|
||||
UI的后台管理模板,力求使用简约的代码实现完备功能,降低学习门槛和维护成本,让大家能早点下班做自己的事情
|
||||
</n-card>
|
||||
<n-card title="信息">
|
||||
<n-descriptions
|
||||
label-placement="left"
|
||||
bordered
|
||||
:column="2"
|
||||
>
|
||||
<n-descriptions-item label="Github">
|
||||
<n-button
|
||||
text
|
||||
tag="a"
|
||||
href="https://github.com/iam-see/Ench-admin"
|
||||
target="_blank"
|
||||
type="primary"
|
||||
>
|
||||
Github
|
||||
</n-button>
|
||||
</n-descriptions-item>
|
||||
<n-descriptions-item label="预览地址">
|
||||
<n-button
|
||||
text
|
||||
tag="a"
|
||||
href="https://ench-admin.vercel.app/"
|
||||
target="_blank"
|
||||
type="primary"
|
||||
>
|
||||
预览地址
|
||||
</n-button>
|
||||
</n-descriptions-item>
|
||||
<n-descriptions-item label="版本">
|
||||
<n-tag :bordered="false">
|
||||
{{ lib.version }}
|
||||
</n-tag>
|
||||
</n-descriptions-item>
|
||||
</n-descriptions>
|
||||
</n-card>
|
||||
<n-card title="生产环境依赖">
|
||||
<n-descriptions
|
||||
label-placement="left"
|
||||
bordered
|
||||
:column="4"
|
||||
>
|
||||
<n-descriptions-item
|
||||
v-for="(item, key, index) in lib.dependencies"
|
||||
:key="index"
|
||||
:label="key"
|
||||
>
|
||||
{{ item }}
|
||||
</n-descriptions-item>
|
||||
</n-descriptions>
|
||||
</n-card>
|
||||
<n-card title="开发环境依赖">
|
||||
<n-descriptions
|
||||
label-placement="left"
|
||||
bordered
|
||||
:column="4"
|
||||
>
|
||||
<n-descriptions-item
|
||||
v-for="(item, key, index) in lib.devDependencies"
|
||||
:key="index"
|
||||
:label="key"
|
||||
>
|
||||
{{ item }}
|
||||
</n-descriptions-item>
|
||||
</n-descriptions>
|
||||
</n-card>
|
||||
</n-space>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
import lib from '~/package.json';
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user