|
|
@ -192,7 +192,6 @@ const Bigscreen = (props) => { |
|
|
|
clearInterval(timer); |
|
|
|
}; |
|
|
|
}, [proportion]); |
|
|
|
|
|
|
|
return ( |
|
|
|
<div className='project-group'> |
|
|
|
<Header match={match} history={history} {...props} /> |
|
|
@ -448,13 +447,21 @@ const Bigscreen = (props) => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (c.offline % 1440 % 60) { |
|
|
|
if (title) { |
|
|
|
title = title + c.offline % 1440 % 60 + "分" |
|
|
|
} else { |
|
|
|
title = c.offline % 1440 % 60 + "分" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return <div style={{ display: "flex", background: index % 2 == 1 ? "#F6F9FF" : '', height: 40, alignItems: 'center' }}> |
|
|
|
<div style={{ textAlign: 'center', width: '33%', fontFamily: 'SourceHanSansCN-Regular', color: '#2C66F3', fontWeight: 400 }}>{c.name}</div> |
|
|
|
<div style={{ textAlign: 'center', width: '33%' }}>{title}</div> |
|
|
|
<div style={{ textAlign: 'center', width: '33%', fontFamily: 'SourceHanSansCN-Regular', color: '#F33B3B', fontWeight: 400 }}>{c.offnum + '/' + c.totnum}</div> |
|
|
|
</div> |
|
|
|
})}</> } containerStyle={{ position: "relative", height: "85%", }} |
|
|
|
divHeight={"100%"} divId={"chart"} /> |
|
|
|
divHeight={"100%"} divId={"interruptchart"}/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Card> |
|
|
|