Commit 5974dc75 authored by wangqinghua's avatar wangqinghua

IE10兼容

parent 15ac19fa
...@@ -500,6 +500,11 @@ export class HomeComponent implements OnInit, AfterViewInit { ...@@ -500,6 +500,11 @@ export class HomeComponent implements OnInit, AfterViewInit {
name: '严重', name: '严重',
type: 'bar', type: 'bar',
stack: '严重', stack: '严重',
itemStyle: {
normal: {
color: '#e96545',
}
},
data: data.map(e => { data: data.map(e => {
return e.errorcount; return e.errorcount;
}) })
...@@ -508,6 +513,11 @@ export class HomeComponent implements OnInit, AfterViewInit { ...@@ -508,6 +513,11 @@ export class HomeComponent implements OnInit, AfterViewInit {
name: '告警', name: '告警',
type: 'bar', type: 'bar',
stack: '告警', stack: '告警',
itemStyle: {
normal: {
color: '#eede85',
}
},
data: data.map(e => { data: data.map(e => {
return e.waringcount; return e.waringcount;
}) })
......
...@@ -16,7 +16,6 @@ import {Subscription} from 'rxjs'; ...@@ -16,7 +16,6 @@ import {Subscription} from 'rxjs';
.layout{ .layout{
display: -ms-flexbox; display: -ms-flexbox;
-ms-flex-direction:row; -ms-flex-direction:row;
background-color: #193250;
} }
.layout-content{ .layout-content{
display: -ms-flexbox; display: -ms-flexbox;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</div> </div>
<div nz-col nzSpan="1"></div> <div nz-col nzSpan="1"></div>
<div nz-col nzSpan="16"> <div nz-col nzSpan="16">
<input class="no-padding-left" style="width: 50%" nz-input placeholder="事件编号前缀" disabled="{{isDisabled}}" [(ngModel)]="eventPre.eventNoPre"> <input class="padding-left-10" style="width: 50%" nz-input placeholder="事件编号前缀" disabled="{{isDisabled}}" [(ngModel)]="eventPre.eventNoPre">
<button *ngIf="isDisabled" (click)="editType()" nz-button nzType="default">编辑</button> <button *ngIf="isDisabled" (click)="editType()" nz-button nzType="default">编辑</button>
<button *ngIf="!isDisabled" (click)="saveType()" nz-button nzType="default">保存</button> <button *ngIf="!isDisabled" (click)="saveType()" nz-button nzType="default">保存</button>
</div> </div>
......
...@@ -80,6 +80,9 @@ $fontColor: #b7d1f1; ...@@ -80,6 +80,9 @@ $fontColor: #b7d1f1;
//自己写的 //自己写的
//主机详情 //主机详情
.layout{
background-color: #193250;
}
.host-item-title { .host-item-title {
background-color: $dark; background-color: $dark;
color: #f2f2f2; color: #f2f2f2;
......
.white { .white {
.ant-layout-header{ .ant-layout-header {
background-color: #fff; background-color: #fff;
border-bottom: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee;
} }
//自己写的 //自己写的
//主机详情 //主机详情
.layout {
background-color: #414852;
}
.host-item-title { .host-item-title {
color: #4b4b4b; color: #4b4b4b;
padding: 10px 15px; padding: 10px 15px;
...@@ -50,8 +55,9 @@ ...@@ -50,8 +55,9 @@
height: 400px; height: 400px;
border: 1px solid #eee; border: 1px solid #eee;
border-radius: 5px; border-radius: 5px;
nz-col { nz-col {
padding:6px 10px; padding: 6px 10px;
word-break: break-all; word-break: break-all;
} }
...@@ -103,7 +109,8 @@ ...@@ -103,7 +109,8 @@
margin: 0 auto; margin: 0 auto;
background-color: #e5e5e5; background-color: #e5e5e5;
height: 23px; height: 23px;
.space{
.space {
height: 23px; height: 23px;
background-color: #89d885; background-color: #89d885;
transition: all 500ms; transition: all 500ms;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"noImplicitAny": false, "noImplicitAny": false,
"skipLibCheck": true, "skipLibCheck": true,
"suppressImplicitAnyIndexErrors": true, "suppressImplicitAnyIndexErrors": true,
"outDir": "build/wx/app", "outDir": "build/www/app",
"lib": ["es7", "dom"], "lib": ["es7", "dom"],
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
......
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