mobile.routes.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import { Routes } from '@angular/router';
  2. import { NavMobileMenu } from './nav-mobile-menu/nav-mobile-menu';
  3. export const MOBILE_ROUTES: Routes = [
  4. {
  5. path: '',
  6. component: NavMobileMenu,
  7. children: [
  8. {
  9. path: 'home',
  10. loadComponent: () => import('./page-crm-home/page-crm-home').then(m => m.PageCrmHome)
  11. },
  12. {
  13. path: 'platform',
  14. loadComponent: () => import('./page-crm-platform/page-crm-platform').then(m => m.PageCrmPlatform)
  15. },
  16. {
  17. path: 'business',
  18. loadComponent: () => import('./page-crm-business/page-vibration-monitor.component').then(m => m.PageVibrationMonitorComponent)
  19. },
  20. {
  21. path: 'member',
  22. loadComponent: () => import('./page-crm-member/page-crm-member').then(m => m.PageCrmMember)
  23. },
  24. {
  25. path: 'system',
  26. loadComponent: () => import('./page-crm-system/page-crm-system').then(m => m.PageCrmSystem)
  27. },
  28. {
  29. path: '',
  30. redirectTo: 'home',
  31. pathMatch: 'full'
  32. },
  33. {
  34. path: 'development',
  35. loadComponent: () => import('./page-crm-development/page-crm-development').then(m => m.PageCrmDevelopment),
  36. title: '功能开发中'
  37. },
  38. {
  39. path: 'news',
  40. loadComponent: () => import('./page-crm-home-news/page-crm-home-news').then(m => m.PageCrmHomeNews),
  41. title: '新闻'
  42. }
  43. ]
  44. }
  45. ];