import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:shopping-cart',
      order: 1000,
      title: '订单管理',
    },
    name: 'Order',
    path: '/order',
    component: () => import('#/views/order/order/index.vue'),
  },
  {
    meta: {
      hideInMenu: true,
      title: '订单查询详情',
    },
    name: 'OrderQueryDetail',
    path: '/order/query/detail/:id',
    component: () => import('#/views/order/query/query-details.vue'),
  },
];

export default routes;
