2021-11-04 23:11:20 +08:00
|
|
|
<template>
|
|
|
|
<shadow-card class="p-18px !rounded-4px">
|
|
|
|
<h3 class="pb-18px text-16px font-semibold">项目信息</h3>
|
|
|
|
<n-descriptions label-placement="left" bordered size="small" :column="2">
|
|
|
|
<n-descriptions-item label="版本">
|
2021-11-05 23:03:53 +08:00
|
|
|
<n-tag type="primary">{{ version }}</n-tag>
|
2021-11-04 23:11:20 +08:00
|
|
|
</n-descriptions-item>
|
|
|
|
<n-descriptions-item label="最后编译时间">
|
2021-11-05 22:55:30 +08:00
|
|
|
<n-tag type="primary">{{ lastestBuildTime }}</n-tag>
|
2021-11-04 23:11:20 +08:00
|
|
|
</n-descriptions-item>
|
|
|
|
<n-descriptions-item label="Github地址">
|
|
|
|
<a class="g_text-primary" href="https://github.com/honghuangdc/soybean-admin" target="_blank">Github地址</a>
|
|
|
|
</n-descriptions-item>
|
|
|
|
<n-descriptions-item label="预览地址">
|
|
|
|
<a class="g_text-primary" href="https://soybean.pro" target="_blank">预览地址</a>
|
|
|
|
</n-descriptions-item>
|
|
|
|
</n-descriptions>
|
|
|
|
</shadow-card>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { NDescriptions, NDescriptionsItem, NTag } from 'naive-ui';
|
2021-11-05 23:03:53 +08:00
|
|
|
import { packageJson } from '@/utils';
|
2021-11-05 22:55:30 +08:00
|
|
|
|
2021-11-05 23:03:53 +08:00
|
|
|
const { version } = packageJson;
|
2021-11-05 22:55:30 +08:00
|
|
|
const lastestBuildTime = PROJECT_BUILD_TIME;
|
2021-11-04 23:11:20 +08:00
|
|
|
</script>
|
|
|
|
<style scoped></style>
|