Commit d8e5e5b4 authored by frank's avatar frank 🏀

首页小补了一下,补充了报警详情页

parent e3fe815d
...@@ -49,10 +49,8 @@ const routes: Routes = [ ...@@ -49,10 +49,8 @@ const routes: Routes = [
] ]
}, },
{path: 'env-alarmDetail', component: EnvAlarmDetailPage}, {path: 'env-alarmDetail', component: EnvAlarmDetailPage},
{ path: 'env-alarm-detail', loadChildren: './envCtrl/env-alarm-detail/env-alarm-detail.module#EnvAlarmDetailPageModule' },
{path: 'tabs', loadChildren: './envCtrl/tabs/tabs.module#TabsPageModule'}, {path: 'tabs', loadChildren: './envCtrl/tabs/tabs.module#TabsPageModule'},
// {path: 'd', component: EnvHomePage},
{ path: 'env-alarm-detail', loadChildren: './envCtrl/env-alarm-detail/env-alarm-detail.module#EnvAlarmDetailPageModule' },
]; ];
@NgModule({ @NgModule({
......
...@@ -194,7 +194,7 @@ export class EnvHomePage implements OnInit { ...@@ -194,7 +194,7 @@ export class EnvHomePage implements OnInit {
} }
slideDidChange() { slideDidChange() {
this.slide.startAutoplay(); //this.slide.startAutoplay();
} }
toggleFocus(a){ toggleFocus(a){
......
...@@ -30,10 +30,6 @@ const routes: Routes = [ ...@@ -30,10 +30,6 @@ const routes: Routes = [
path: 'tab-home', path: 'tab-home',
component: EnvHomePage component: EnvHomePage
}, },
// {
// path: 'tab-detail',
// component: EnvDetailPage
// },
{ {
path: 'tab-anal', path: 'tab-anal',
component: EnvAnalPage component: EnvAnalPage
...@@ -51,60 +47,8 @@ const routes: Routes = [ ...@@ -51,60 +47,8 @@ const routes: Routes = [
redirectTo: '/tabs/tab-home', redirectTo: '/tabs/tab-home',
pathMatch: 'full' pathMatch: 'full'
}, },
// {
// path: 'tab-2-fan',
// redirectTo: '/tabs/tab-detail/tab-2-fan',
// pathMatch: 'full'
// },
// {
// path: 'tab-2-fan',
// redirectTo: '/tabs/tab-detail/tab-2-fan',
// pathMatch: 'full'
// },
// {
// path: 'tab-2-shower',
// redirectTo: '/tabs/tab-detail/tab-2-shower',
// pathMatch: 'full'
// },
// {
// path: 'tab-2-light',
// redirectTo: '/tabs/tab-detail/tab-2-light',
// pathMatch: 'full'
// },
// {
// path: 'tab-2-channel',
// redirectTo: '/tabs/tab-detail/tab-2-channel',
// pathMatch: 'full'
// },
] ]
}, },
// {
// path: 'tab-detail',
// component: EnvDetailPage,
// children:[
// {
// path: 'tab-2-fan',
// component: EnvFanPage
// },
// {
// path: 'tab-2-shower',
// component: EnvShowerPage
// },
// {
// path: 'tab-2-light',
// component: EnvLightPage
// },
// {
// path: 'tab-2-channel',
// component: EnvWaterchannelPage
// },
// {
// path: '',
// redirectTo: 'tab-2-fan',
// },
// ],
//
// }
]; ];
@NgModule({ @NgModule({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment