jiangchengfeiyi-Web/src/router/routes.ts

69 lines
2.1 KiB
TypeScript
Raw Normal View History

2024-10-23 09:55:22 +00:00
export const routes = [
{
path: '/',
name:'login',
component: () => import("../views/Login.vue")
},
2024-10-27 11:05:39 +00:00
{
path: '/home',
name:'home',
component: () => import("../views/Home.vue")
},
2024-10-23 09:55:22 +00:00
{
path: '/manage',
component: () => import("@/layout/Manage.vue"),
children:[
{
path: '/PersonalCenter',
name:'个人中心',
component: ()=> import("../views/User/PersonalCenter.vue")
},
{
path: '/UserManagement',
name:'用户列表',
component: ()=> import("../views/User/UserManagement.vue")
},
2024-10-23 09:55:22 +00:00
{
path: '/AddProduct',
name: '添加商品',
component: ()=> import("../views/Commodity/AddProduct.vue")
},
{
path: '/MerchandiseCenter',
name: '商品中心',
component: ()=> import("../views/Commodity/MerchandiseCenter.vue")
2024-10-24 08:07:45 +00:00
},
{
path: '/TypeManagement',
name: '类别管理',
component: ()=> import("../views/Commodity/TypeManagement.vue")
},
{
path: '/OrderList',
name: '订单列表',
component: ()=> import("../views/Orders/OrderList.vue")
2024-11-03 10:59:41 +00:00
},
{
path: '/AddCoupons',
name:'添加优惠券',
component: ()=> import("../views/Coupons/AddCoupons.vue")
},
{
path: '/CouponCenter',
name:'优惠券中心',
component: ()=> import("../views/Coupons/CouponCenter.vue")
2024-11-04 10:30:18 +00:00
},
{
path: '/orderOperations',
name:'商品订单操作',
component: ()=> import("../views/Orders/orderOperations.vue")
2024-10-23 09:55:22 +00:00
}
]
2024-11-01 05:04:02 +00:00
},
{
path: '/Test',
name:'测试页面',
component: () => import("../views/test.vue")
2024-10-31 03:53:32 +00:00
}
2024-10-23 09:55:22 +00:00
]