Commit 8afb13d2 authored by wangqinghua's avatar wangqinghua

update

parent 2db7ef83
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
<div nz-row> <div nz-row>
<div nz-col class="handle" [nzSpan]="12"> <div nz-col class="handle" [nzSpan]="12">
<a class="main-color margin-right-10" routerLink="../main/home">首页</a> <a class="main-color margin-right-10" routerLink="../main/home">首页</a>
<span class="color-666" (click)="transition()">快捷添加 +</span> <span class="main-color" (click)="transition()">快捷添加 +</span>
<span #parent class="span-hov"> <span #parent class="span-hov">
<span #children class="addBtn"> <span #children class="addBtn">
<span (click)="showGroupModal()">添加设备分组</span> <span (click)="showGroupModal()">添加设备分组</span>
<span (click)="showBasicEditModal()">添加资源</span> <span (click)="showBasicEditModal()">添加资源</span>
</span> </span>
</span> </span>
<a class="main-color margin-left-10" (click)="goOut()">首页</a>
</div> </div>
<div nz-col [nzSpan]="12" style="text-align: right"> <div nz-col [nzSpan]="12" style="text-align: right">
<nz-select style="width: 150px;margin-right: 20px" [(ngModel)]="theme" (ngModelChange)="changeTheme()"> <nz-select style="width: 150px;margin-right: 20px" [(ngModel)]="theme" (ngModelChange)="changeTheme()">
......
...@@ -137,4 +137,8 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{ ...@@ -137,4 +137,8 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{
changeTheme(){ changeTheme(){
this.appSer.setTheme(this.theme); this.appSer.setTheme(this.theme);
} }
goOut(){
}
} }
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