hookehuyr

新增简单详情页

1 /* 1 /*
2 * @Date: 2024-08-26 10:42:15 2 * @Date: 2024-08-26 10:42:15
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-27 16:38:24 4 + * @LastEditTime: 2025-01-03 09:22:05
5 * @FilePath: /hager/src/route.js 5 * @FilePath: /hager/src/route.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -51,6 +51,15 @@ export default [{ ...@@ -51,6 +51,15 @@ export default [{
51 }, 51 },
52 children: [] 52 children: []
53 }, { 53 }, {
54 + path: '/product/detail_lite/:id',
55 + name: '详情页lite',
56 + component: () => import('@/views/product/detail_lite'),
57 + meta: {
58 + title: '海格电气',
59 + tag: 'product'
60 + },
61 + children: []
62 +}, {
54 path: '/solution/index', 63 path: '/solution/index',
55 name: '解决方案', 64 name: '解决方案',
56 component: () => import('@/views/solution/index'), 65 component: () => import('@/views/solution/index'),
...@@ -78,24 +87,6 @@ export default [{ ...@@ -78,24 +87,6 @@ export default [{
78 }, 87 },
79 children: [] 88 children: []
80 }, { 89 }, {
81 - path: '/solution/detail_test/:id/:timestamp',
82 - name: '解决方案详情1-test',
83 - component: () => import('@/views/solution/detail_test'),
84 - meta: {
85 - title: '解决方案 | Hager China',
86 - tag: 'solution'
87 - },
88 - children: []
89 -}, {
90 - path: '/solution/detail_test/:id/:current_index/:timestamp',
91 - name: '解决方案详情2-test',
92 - component: () => import('@/views/solution/detail_test'),
93 - meta: {
94 - title: '解决方案 | Hager China',
95 - tag: 'solution'
96 - },
97 - children: []
98 -}, {
99 path: '/solution/case/:id/:current_index?', 90 path: '/solution/case/:id/:current_index?',
100 name: '成功案例', 91 name: '成功案例',
101 component: () => import('@/views/solution/case'), 92 component: () => import('@/views/solution/case'),
...@@ -124,10 +115,10 @@ export default [{ ...@@ -124,10 +115,10 @@ export default [{
124 children: [] 115 children: []
125 }, { 116 }, {
126 path: '/about/china', 117 path: '/about/china',
127 - name: '海格电气在中国', 118 + name: '海格中国',
128 component: () => import('@/views/about/china'), 119 component: () => import('@/views/about/china'),
129 meta: { 120 meta: {
130 - title: '海格电气在中国 | Hager China', 121 + title: '海格中国 | Hager China',
131 tag: 'about' 122 tag: 'about'
132 }, 123 },
133 children: [] 124 children: []
......
This diff is collapsed. Click to expand it.