feat(projects): 分析页更新,添加关于页面

This commit is contained in:
Soybean
2021-11-04 23:11:20 +08:00
parent 7527b1f07c
commit 8e18218196
44 changed files with 1623 additions and 617 deletions

View File

@ -1,24 +1,13 @@
<template>
<div>
<data-card :loading="loading" />
<nav-card :loading="loading" />
</div>
<n-space :vertical="true" :size="16">
<top-chart />
<data-card />
<bottom-part />
</n-space>
</template>
<script lang="ts" setup>
import { onActivated } from 'vue';
import { useLoading } from '@/hooks';
import { DataCard, NavCard } from './components';
const { loading, startLoading, endLoading } = useLoading(true);
function handleEndLoading() {
startLoading();
setTimeout(() => {
endLoading();
}, 1000);
}
onActivated(() => {
handleEndLoading();
});
import { NSpace } from 'naive-ui';
import { TopChart, DataCard, BottomPart } from './components';
</script>
<style scoped></style>