feat:重构模块
This commit is contained in:
274
src/views/meta.ts
Normal file
274
src/views/meta.ts
Normal file
@@ -0,0 +1,274 @@
|
||||
import type { IRouteMetaConfig } from 'vue3-common/types'
|
||||
|
||||
export const mobileHomeMeta: IRouteMetaConfig = {
|
||||
'/blog': {
|
||||
title: '博客记录',
|
||||
icon: '',
|
||||
order: 1,
|
||||
redirect: '/blog/overview'
|
||||
},
|
||||
'/blog/overview': {
|
||||
title: '博客列表',
|
||||
icon: ''
|
||||
},
|
||||
'/blog/category': {
|
||||
title: '博客分类',
|
||||
icon: ''
|
||||
},
|
||||
'/blog/category/:name': {
|
||||
title: '博客分类',
|
||||
icon: ''
|
||||
},
|
||||
'/blog/archive': {
|
||||
title: '博客归档',
|
||||
icon: ''
|
||||
},
|
||||
'/blog/detail/:id': {
|
||||
title: '博客内容',
|
||||
icon: ''
|
||||
},
|
||||
'/bill': {
|
||||
title: '收支记录',
|
||||
icon: 'home-bill',
|
||||
order: 2,
|
||||
redirect: '/bill/data'
|
||||
},
|
||||
'/bill/data': {
|
||||
title: '账单数据',
|
||||
icon: ''
|
||||
},
|
||||
'/bill/chart': {
|
||||
title: '账单图表',
|
||||
icon: ''
|
||||
},
|
||||
'/bill/detail/:id': {
|
||||
title: '账单内容',
|
||||
icon: ''
|
||||
},
|
||||
'/bill/setting': {
|
||||
title: '账单设置',
|
||||
icon: ''
|
||||
},
|
||||
'/food': {
|
||||
title: '美食记录',
|
||||
icon: 'home-food',
|
||||
order: 3,
|
||||
redirect: '/food/recipe'
|
||||
},
|
||||
'/food/recipe': {
|
||||
title: '美食菜谱',
|
||||
icon: ''
|
||||
},
|
||||
'/food/record': {
|
||||
title: '美食记录',
|
||||
icon: ''
|
||||
},
|
||||
'/food/detail/id': {
|
||||
title: '菜谱内容',
|
||||
icon: ''
|
||||
},
|
||||
'/food/recordForm': {
|
||||
title: '记录表单',
|
||||
icon: ''
|
||||
},
|
||||
'/travel': {
|
||||
title: '旅行记录',
|
||||
icon: 'home-food',
|
||||
order: 4,
|
||||
redirect: '/travel/spot'
|
||||
},
|
||||
'/travel/spot': {
|
||||
title: '旅行景点',
|
||||
icon: ''
|
||||
},
|
||||
'/travel/record': {
|
||||
title: '旅行记录',
|
||||
icon: ''
|
||||
},
|
||||
'/travel/detail/id': {
|
||||
title: '旅行内容',
|
||||
icon: ''
|
||||
},
|
||||
'/travel/spotForm': {
|
||||
title: '景点表单',
|
||||
icon: ''
|
||||
},
|
||||
'/travel/recordForm': {
|
||||
title: '记录表单',
|
||||
icon: ''
|
||||
},
|
||||
'/plan': {
|
||||
title: '时光日程',
|
||||
icon: 'home-calendar',
|
||||
order: 5,
|
||||
redirect: '/plan/calendar'
|
||||
},
|
||||
'/plan/calendar': {
|
||||
title: '日程安排',
|
||||
icon: ''
|
||||
},
|
||||
'/plan/list': {
|
||||
title: '日程清单',
|
||||
icon: ''
|
||||
},
|
||||
'/plan/detail/id': {
|
||||
title: '日程内容',
|
||||
icon: ''
|
||||
},
|
||||
'/anniversary': {
|
||||
title: '纪念日',
|
||||
icon: 'home-anniversary',
|
||||
order: 6,
|
||||
redirect: '/anniversary/list'
|
||||
},
|
||||
'/anniversary/list': {
|
||||
title: '纪念日',
|
||||
icon: ''
|
||||
},
|
||||
'/anniversary/category': {
|
||||
title: '分类',
|
||||
icon: ''
|
||||
},
|
||||
'/anniversary/detail/id': {
|
||||
title: '纪念日内容',
|
||||
icon: ''
|
||||
},
|
||||
'/period': {
|
||||
title: '月经记录',
|
||||
icon: 'home-period',
|
||||
order: 7,
|
||||
redirect: '/period/calendar'
|
||||
},
|
||||
'/period/calendar': {
|
||||
title: '记录',
|
||||
icon: ''
|
||||
},
|
||||
'/period/setting': {
|
||||
title: '设置',
|
||||
icon: ''
|
||||
},
|
||||
'/product': {
|
||||
title: '物品记录',
|
||||
icon: 'home-product',
|
||||
order: 8,
|
||||
redirect: '/product/list'
|
||||
},
|
||||
'/product/list': {
|
||||
title: '清单',
|
||||
icon: ''
|
||||
},
|
||||
'/product/detail/id': {
|
||||
title: '内容',
|
||||
icon: ''
|
||||
},
|
||||
'/journal': {
|
||||
title: '日记',
|
||||
icon: 'home-product',
|
||||
order: 9,
|
||||
redirect: '/journal/record'
|
||||
},
|
||||
'/journal/record': {
|
||||
title: '清单',
|
||||
icon: ''
|
||||
},
|
||||
'/journal/detail': {
|
||||
title: '内容',
|
||||
icon: ''
|
||||
},
|
||||
'/journal/timeline': {
|
||||
title: '时间轴',
|
||||
icon: ''
|
||||
},
|
||||
'/kpi': {
|
||||
title: '绩效',
|
||||
icon: 'home-kpi',
|
||||
order: 10,
|
||||
redirect: '/kpi/record'
|
||||
},
|
||||
'/kpi/record': {
|
||||
title: '记录',
|
||||
icon: ''
|
||||
},
|
||||
'/pki/detail/:id': {
|
||||
title: '内容',
|
||||
icon: ''
|
||||
},
|
||||
'/server': {
|
||||
title: '服务',
|
||||
icon: 'home-server',
|
||||
order: 11,
|
||||
redirect: '/server/list'
|
||||
},
|
||||
'/server/monitor': {
|
||||
title: '监控',
|
||||
icon: ''
|
||||
},
|
||||
'/server/file': {
|
||||
title: '文件',
|
||||
icon: ''
|
||||
},
|
||||
'/server/preview/:url': {
|
||||
title: '预览',
|
||||
icon: ''
|
||||
},
|
||||
'/asset': {
|
||||
title: '资产',
|
||||
icon: 'home-asset',
|
||||
order: 12,
|
||||
redirect: '/asset/list'
|
||||
},
|
||||
'/asset/list': {
|
||||
title: '清单',
|
||||
icon: ''
|
||||
},
|
||||
'/asset/detail/id': {
|
||||
title: '内容',
|
||||
icon: ''
|
||||
},
|
||||
'/ledger': {
|
||||
title: '账本',
|
||||
icon: 'home-ledger',
|
||||
order: 13,
|
||||
redirect: '/ledger/list'
|
||||
},
|
||||
'/ledger/list': {
|
||||
title: '清单',
|
||||
icon: ''
|
||||
},
|
||||
'/ledger/detail/id': {
|
||||
title: '内容',
|
||||
icon: ''
|
||||
},
|
||||
'/password': {
|
||||
title: '密码',
|
||||
icon: 'home-password',
|
||||
order: 14,
|
||||
redirect: '/password/list'
|
||||
},
|
||||
'/password/list': {
|
||||
title: '清单',
|
||||
icon: ''
|
||||
},
|
||||
'/profile': {
|
||||
title: '个人信息',
|
||||
icon: '',
|
||||
order: 15,
|
||||
hidden: true,
|
||||
redirect: '/profile/index'
|
||||
},
|
||||
'/profile/index': {
|
||||
title: '个人信息',
|
||||
icon: '',
|
||||
hidden: true
|
||||
},
|
||||
'/profile/info': {
|
||||
title: '信息',
|
||||
icon: '',
|
||||
hidden: true
|
||||
},
|
||||
'/profile/password': {
|
||||
title: '密码',
|
||||
icon: '',
|
||||
hidden: true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user