|
|
@ -4,14 +4,45 @@ import { Spin, Card, Modal, TreeSelect, message } from 'antd'; |
|
|
|
import ProForm, { ProFormText, ModalForm, ProFormSwitch, ProFormTreeSelect } from '@ant-design/pro-form'; |
|
|
|
import Title from 'antd/lib/skeleton/Title'; |
|
|
|
|
|
|
|
const Capacity = ({ user, }) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return <div style={{ width: '100%', heigh: '100%' }}> |
|
|
|
能耗监测 |
|
|
|
const Capacity = ({ user, }) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return <div style={{ width: '100%', height: 'calc(100% - 160px)' }}> |
|
|
|
|
|
|
|
<div style={{ width: '100%', height: 'calc(60%)', display: 'flex', }}> |
|
|
|
<div style={{ |
|
|
|
width: '30%', height: '100%', borderRight: '1px solid white', display: 'flex', justifyContent: 'center', |
|
|
|
}}> |
|
|
|
<div style={{ width: '80%', height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center' }}> |
|
|
|
<img style={{ width: 36, height: 36 }} src="/assets/images/monitor/left.png" /> |
|
|
|
<div style={{ display: 'flex', }}> |
|
|
|
<div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img style={{ width: 36, height: 36 }} src="/assets/images/monitor/right.png" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ |
|
|
|
width: '40%', height: '100%', borderRight: '1px solid white', |
|
|
|
backgroundImage: 'url(/assets/images/monitor/pillar.png)', |
|
|
|
backgroundSize: '80% 80%', |
|
|
|
backgroundPosition: 'center', |
|
|
|
backgroundRepeat: 'no-repeat', |
|
|
|
}}> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div style={{ width: '30%', height: '100%', }}></div> |
|
|
|
</div> |
|
|
|
<div style={{ width: '100%', height: 'calc(40% - 1px)', borderTop: '1px solid white', display: 'flex', }}> |
|
|
|
<div style={{ width: '33%', height: '100%', borderRight: '1px solid white' }}></div> |
|
|
|
<div style={{ width: '33%', height: '100%', borderRight: '1px solid white' }}></div> |
|
|
|
<div style={{ width: '33%', height: '100%', }}></div> |
|
|
|
</div> |
|
|
|
</div > |
|
|
|
} |
|
|
|
|
|
|
@ -23,4 +54,4 @@ function mapStateToProps (state) { |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
export default connect(mapStateToProps)(Capacity); |
|
|
|
export default connect(mapStateToProps)(Capacity); |