route.js
3.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/*
* @Date: 2024-08-26 10:42:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-20 17:01:09
* @FilePath: /hager/src/route.js
* @Description: 文件描述
*/
export default [{
path: '/',
name: '首页',
component: () => import('@/views/index'),
meta: {
title: '海格电器',
tag: 'index'
},
children: []
}, {
path: '/product/index',
name: '二级目录',
component: () => import('@/views/product/index'),
meta: {
title: '海格电器',
tag: 'product'
},
children: []
}, {
path: '/product/detail',
name: '详情页',
component: () => import('@/views/product/detail'),
meta: {
title: '海格电器',
tag: 'product'
},
children: []
}, {
path: '/solution/index',
name: '解决方案',
component: () => import('@/views/solution/index'),
meta: {
title: '海格电器',
tag: 'solution'
},
children: []
}, {
path: '/solution/detail',
name: '解决方案详情',
component: () => import('@/views/solution/detail'),
meta: {
title: '海格电器',
tag: 'solution'
},
children: []
}, {
path: '/about',
name: '关于海格',
component: () => import('@/views/about'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/about/global',
name: '海格全球',
component: () => import('@/views/about/global'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/about/china',
name: '海格电气在中国',
component: () => import('@/views/about/china'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/about/design',
name: '创新设计',
component: () => import('@/views/about/design'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/about/product',
name: '生产研发',
component: () => import('@/views/about/product'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/about/development',
name: '可持续发展',
component: () => import('@/views/about/development'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/about/honors',
name: '荣誉展示',
component: () => import('@/views/about/honors'),
meta: {
title: '海格电器',
tag: 'about'
},
children: []
}, {
path: '/concat',
name: '联系我们',
component: () => import('@/views/concat'),
meta: {
title: '海格电器',
tag: 'concat'
},
children: []
}, {
path: '/news',
name: '新闻中心',
component: () => import('@/views/news/index'),
meta: {
title: '海格电器',
tag: 'news'
},
children: []
}, {
path: '/news/detail',
name: '新闻详情',
component: () => import('@/views/news/detail'),
meta: {
title: '海格电器',
tag: 'news'
},
children: []
}, {
path: '/recruit',
name: '招聘信息',
component: () => import('@/views/recruit'),
meta: {
title: '海格电器',
tag: 'recruit'
},
children: []
}, {
path: '/user',
name: '用户管理',
component: () => import('@/views/user/index'),
meta: {
title: '海格电器',
tag: 'user'
},
children: [
{
path: 'login',
name: '用户登录',
component: () => import('@/views/user/login'),
meta: {
title: '海格电器',
tag: 'login'
},
},
{
path: 'register',
name: '用户注册',
component: () => import('@/views/user/register'),
meta: {
title: '海格电器',
tag: 'register'
},
},
{
path: 'info',
name: '用户信息',
component: () => import('@/views/user/info'),
meta: {
title: '海格电器',
tag: 'info'
},
},
]
}, {
path: '/search',
name: '搜索结果',
component: () => import('@/views/search'),
meta: {
title: '海格电器',
tag: 'search'
},
children: []
}]