
import { NgModule } from "@angular/core";
import { Routes, RouterModule } from '@angular/router';

 import {  ManualyComponent } from "./manualy/manualy/manualy.component";
import {  ManualyDetailComponent } from "./manualy/manualy/detail/manualy.component";
import {  QrScanComponent } from "./qrScan/qrScan/qr-scan.component";
import {  QrScanDetailComponent } from "./qrScan/qrScan/detail/qr-scan.component";



const routes: Routes = [
  {
    "path": "manualy",
    "children": [
      {
        "path": "manualy",
        "component": ManualyComponent,
        "data": {
          "title": "manualy"
        }
      },
      {
        "path": "manualyDetail",
        "component": ManualyDetailComponent,
        "data": {
          "title": "manualy详情"
        }
      }
    ]
  },
  {
    "path": "qrScan",
    "children": [
      {
        "path": "qrScan",
        "component": QrScanComponent,
        "data": {
          "title": "二维码扫描"
        }
      },
      {
        "path": "qrScanDetail",
        "component": QrScanDetailComponent,
        "data": {
          "title": "二维码扫描详情"
        }
      }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class CheckRoutingModule {}
