|
地板
楼主 |
发表于 2016-9-19 16:17:14
|
只看该作者
APP.JS:
.state('funcTab', {
url: '/funcTab',
abstract: true,
templateUrl: 'templates/tab-account.html'
})
.state('funcTab.hotel', {
url: '/account/hotel/',
views: {
'funcTab-diagnosis': {
templateUrl: 'templates/account-hotel.html',
controller:'hotelCtrl'
}
}
})
.state('funcTab.canteen', {
url: '/account/canteen/',
views: {
'funcTab-order': {
templateUrl: 'templates/account-canteen.html',
controller:'canteenCtrl'
}
}
})
.state('funcTab.performance', {
url: '/account/performance/',
views: {
'funcTab-check': {
templateUrl: 'templates/account-performance.html',
controller:'performanceCtrl'
}
}
})
.state('funcTab.traffic', {
url: '/account/traffic/',
views: {
'funcTab-test': {
templateUrl: 'templates/account-traffic.html',
controller:'trafficCtrl'
}
}
})
.state('funcTab.announcement', {
url: '/account/announcement/',
views: {
'funcTab-blood': {
templateUrl: 'templates/account-announcement.html',
controller:'announcementlCtrl'
}
}
}) |
|