parent
26df81a16f
commit
6af1f55403
15753
pnpm-lock.yaml
15753
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -9,6 +9,7 @@ const about: AppRouteModule = {
|
||||||
component: LAYOUT,
|
component: LAYOUT,
|
||||||
redirect: '/about/index',
|
redirect: '/about/index',
|
||||||
meta: {
|
meta: {
|
||||||
|
hideMenu: true,
|
||||||
hideChildrenInMenu: true,
|
hideChildrenInMenu: true,
|
||||||
icon: 'ant-design:pushpin-filled',
|
icon: 'ant-design:pushpin-filled',
|
||||||
title: t('routes.dashboard.about'),
|
title: t('routes.dashboard.about'),
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ const dashboard: AppRouteModule = {
|
||||||
parentId: 0,
|
parentId: 0,
|
||||||
redirect: '/dashboard/analysis',
|
redirect: '/dashboard/analysis',
|
||||||
meta: {
|
meta: {
|
||||||
|
hideMenu:true,//隐藏首页、分析页、工作台
|
||||||
orderNo: 10,
|
orderNo: 10,
|
||||||
icon: 'ant-design:home-outlined',
|
icon: 'ant-design:home-outlined',
|
||||||
title: t('routes.dashboard.dashboard'),
|
title: t('routes.dashboard.dashboard'),
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Card, Tag } from 'ant-design-vue'
|
import { Card, Tag } from 'ant-design-vue'
|
||||||
import { growCardList } from '../data'
|
import { growCardList } from '../data'
|
||||||
|
|
||||||
import { CountTo } from '@/components/CountTo'
|
import { CountTo } from '@/components/CountTo'
|
||||||
import { Icon } from '@/components/Icon'
|
import { Icon } from '@/components/Icon'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,37 +7,41 @@ export interface GrowCardItem {
|
||||||
action: string
|
action: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// export const growCardList: GrowCardItem[] = [
|
||||||
|
// {
|
||||||
|
// title: '访问数',
|
||||||
|
// icon: 'visit-count|svg',
|
||||||
|
// value: 2000,
|
||||||
|
// total: 120000,
|
||||||
|
// color: 'green',
|
||||||
|
// action: '月',
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '成交额',
|
||||||
|
// icon: 'total-sales|svg',
|
||||||
|
// value: 20000,
|
||||||
|
// total: 500000,
|
||||||
|
// color: 'blue',
|
||||||
|
// action: '月',
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '下载数',
|
||||||
|
// icon: 'download-count|svg',
|
||||||
|
// value: 8000,
|
||||||
|
// total: 120000,
|
||||||
|
// color: 'orange',
|
||||||
|
// action: '周',
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '成交数',
|
||||||
|
// icon: 'transaction|svg',
|
||||||
|
// value: 5000,
|
||||||
|
// total: 50000,
|
||||||
|
// color: 'purple',
|
||||||
|
// action: '年',
|
||||||
|
// },
|
||||||
|
// ]
|
||||||
|
|
||||||
export const growCardList: GrowCardItem[] = [
|
export const growCardList: GrowCardItem[] = [
|
||||||
{
|
|
||||||
title: '访问数',
|
|
||||||
icon: 'visit-count|svg',
|
|
||||||
value: 2000,
|
|
||||||
total: 120000,
|
|
||||||
color: 'green',
|
|
||||||
action: '月',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '成交额',
|
|
||||||
icon: 'total-sales|svg',
|
|
||||||
value: 20000,
|
|
||||||
total: 500000,
|
|
||||||
color: 'blue',
|
|
||||||
action: '月',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '下载数',
|
|
||||||
icon: 'download-count|svg',
|
|
||||||
value: 8000,
|
|
||||||
total: 120000,
|
|
||||||
color: 'orange',
|
|
||||||
action: '周',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '成交数',
|
|
||||||
icon: 'transaction|svg',
|
|
||||||
value: 5000,
|
|
||||||
total: 50000,
|
|
||||||
color: 'purple',
|
|
||||||
action: '年',
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue