diff options
author | 2019-04-02 16:35:22 +0800 | |
---|---|---|
committer | 2019-04-02 16:35:32 +0800 | |
commit | d5f7ee6e80bb55f2baf89ee5e669ef6829fd20fd (patch) | |
tree | 120b8249b56ac26408e44ebdb1628f9a6099a24e /usecaseui-portal/src/app/management/management.component.ts | |
parent | b19b6af7444f5c5b9b2869270e26e76cc5d47f2d (diff) |
Add user service type management module
Change-Id: Id86465d839b27dd4350d391198b8eacdf1f330a8
Issue-ID: USECASEUI-212
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/management/management.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/management/management.component.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/management/management.component.ts b/usecaseui-portal/src/app/management/management.component.ts new file mode 100644 index 00000000..7345e7a3 --- /dev/null +++ b/usecaseui-portal/src/app/management/management.component.ts @@ -0,0 +1,34 @@ +import { Component, OnInit , HostBinding} from '@angular/core'; +import { showHideAnimate, slideToRight } from '../animates'; + +@Component({ + selector: 'app-management', + templateUrl: './management.component.html', + styleUrls: ['./management.component.less'], + animations: [ + showHideAnimate, slideToRight + ] +}) +export class ManagementComponent implements OnInit { + @HostBinding('@routerAnimate') routerAnimateState; //Routing animation + + constructor() { } + + ngOnInit() { + } + + show = "show"; + hide = "hide"; + custerhide = false; + customershow(){ + this.show = "show"; + this.hide = "hide"; + this.custerhide = true; + } + customerhide(){ + this.show = "hide"; + this.hide = "show"; + this.custerhide = false; + } + +} |