Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
muChangApp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WitCloud
muChangApp
Commits
d8e5e5b4
Commit
d8e5e5b4
authored
Aug 21, 2019
by
frank
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页小补了一下,补充了报警详情页
parent
e3fe815d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
60 deletions
+2
-60
app-routing.module.ts
src/app/app-routing.module.ts
+1
-3
env-home.page.ts
src/app/envCtrl/env-home/env-home.page.ts
+1
-1
tabs.module.ts
src/app/envCtrl/tabs/tabs.module.ts
+0
-56
No files found.
src/app/app-routing.module.ts
View file @
d8e5e5b4
...
@@ -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
({
...
...
src/app/envCtrl/env-home/env-home.page.ts
View file @
d8e5e5b4
...
@@ -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
){
...
...
src/app/envCtrl/tabs/tabs.module.ts
View file @
d8e5e5b4
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment