Commit 11d9caac authored by zhengjiangtao's avatar zhengjiangtao

更改首页图例

parent aa9d291a
...@@ -479,8 +479,8 @@ ...@@ -479,8 +479,8 @@
bottom: 20px; bottom: 20px;
left: 24%; left: 24%;
z-index: 1; z-index: 1;
width: 120px; width: 150px;
height: 180px; height: 90px;
padding-top: 10px; padding-top: 10px;
padding-left: 10px; padding-left: 10px;
border: 1px solid #eaeaea; border: 1px solid #eaeaea;
...@@ -495,10 +495,10 @@ ...@@ -495,10 +495,10 @@
} }
.indexMap-bottom-two { .indexMap-bottom-two {
width: 80px; width: 97px;
height: 20px; height: 20px;
margin-top: 3px; margin-top: 3px;
margin-left: 40px; margin-left: 31px;
color: black; color: black;
} }
} }
......
import React, { Component } from 'react'; import React, { Component } from 'react';
class LeftDown extends Component { class LeftDown extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
} }
...@@ -13,49 +11,20 @@ class LeftDown extends Component { ...@@ -13,49 +11,20 @@ class LeftDown extends Component {
<div style={{ width: '100px', height: '20px', float: 'left' }}> <div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#00A2FF' }}></div> <div className="indexMap-bottom-one" style={{ backgroundColor: '#00A2FF' }}></div>
<div className="indexMap-bottom-two"> <div className="indexMap-bottom-two">
<span>其它</span> <span>人行西安分行正常</span>
</div>
</div>
<div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#19FF00' }}></div>
<div className="indexMap-bottom-two">
<span>正常</span>
</div>
</div>
<div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#959595' }}></div>
<div className="indexMap-bottom-two">
<span>未运行</span>
</div> </div>
</div> </div>
<div style={{ width: '100px', height: '20px', float: 'left' }}> <div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#FF8800' }}></div> <div className="indexMap-bottom-one" style={{ backgroundColor: '#FF8800' }}></div>
<div className="indexMap-bottom-two"> <div className="indexMap-bottom-two">
<span>警告</span> <span>商业银行正常</span>
</div> </div>
</div> </div>
<div style={{ width: '100px', height: '20px', float: 'left' }}> <div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#FF0000' }}></div> <div className="indexMap-bottom-one" style={{ backgroundColor: '#FF0000' }}></div>
<div className="indexMap-bottom-two"> <div className="indexMap-bottom-two">
<span>故障</span> <span>异常</span>
</div>
</div>
<div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#02E3FC' }}></div>
<div className="indexMap-bottom-two">
<span>MBFE正常</span>
</div>
</div>
<div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#FFF948' }}></div>
<div className="indexMap-bottom-two">
<span>MBFE告警</span>
</div>
</div>
<div style={{ width: '100px', height: '20px', float: 'left' }}>
<div className="indexMap-bottom-one" style={{ backgroundColor: '#FFAA00' }}></div>
<div className="indexMap-bottom-two">
<span>MBFE故障</span>
</div> </div>
</div> </div>
</div> </div>
......
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