import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { WebRepairsComponent } from "./web-repairs.component";
import { DetailSampleComponent } from 'src/app/share/detail-sample/detail-sample.component';
import { DetailBxComponent } from 'src/app/share/detail-bx/detail-bx.component';

const routes: Routes = [
  {
    path: "",
    component: WebRepairsComponent,
		children: [
		  {
		    // 报修详情
		    path: 'detailBx/:id',
		    component: DetailBxComponent
		  },
		]
  },
];

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