1、隐藏首页、分析页、工作台、关于

2、隐藏分析页面的访问数、成交额、下载数、成交数
pull/44/head
zqx 2024-09-03 20:19:21 +08:00
parent 26df81a16f
commit 6af1f55403
5 changed files with 7513 additions and 8311 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,7 @@ const about: AppRouteModule = {
component: LAYOUT,
redirect: '/about/index',
meta: {
hideMenu: true,
hideChildrenInMenu: true,
icon: 'ant-design:pushpin-filled',
title: t('routes.dashboard.about'),

View File

@ -10,6 +10,7 @@ const dashboard: AppRouteModule = {
parentId: 0,
redirect: '/dashboard/analysis',
meta: {
hideMenu:true,//隐藏首页、分析页、工作台
orderNo: 10,
icon: 'ant-design:home-outlined',
title: t('routes.dashboard.dashboard'),

View File

@ -1,6 +1,7 @@
<script lang="ts" setup>
import { Card, Tag } from 'ant-design-vue'
import { growCardList } from '../data'
import { CountTo } from '@/components/CountTo'
import { Icon } from '@/components/Icon'

View File

@ -7,37 +7,41 @@ export interface GrowCardItem {
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[] = [
{
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: '年',
},
]