Browse Source

建设大屏部分标题修改

dev
dengyinhuan 2 years ago
parent
commit
a098c7ead8
  1. 1
      web/client/src/sections/quanju/containers/footer/build/Leftbottom.js
  2. 3
      web/client/src/sections/quanju/containers/footer/build/Rightbottom.js
  3. 8
      web/client/src/sections/quanju/containers/footer/build/index.js

1
web/client/src/sections/quanju/containers/footer/build/Leftbottom.js

@ -274,6 +274,7 @@ legend: {
return ( return (
<div className='build-left-bottom'> <div className='build-left-bottom'>
<span style={{position:"absolute",width:"10%",color:"#FFF",backgroundColor:'rgba(216, 240, 255, 0.1)',right:"5%",textAlign:"center",top:0}}>公里</span>
<div className='build-left-bottom-title'> <div className='build-left-bottom-title'>
<h2>{total}</h2> <h2>{total}</h2>
<span>道路总公里</span> <span>道路总公里</span>

3
web/client/src/sections/quanju/containers/footer/build/Rightbottom.js

@ -58,7 +58,7 @@ function Rightbottom(props) {
textStyle: { textStyle: {
color: '#fff', color: '#fff',
}, },
formatter: (values) => `${values.seriesName}<br /> ${values.marker} ${values.name}<b>${values.value}</b>`, formatter: (values) => `${values.seriesName}<br /> ${values.marker} ${values.name}<b>${values.value}</b>`,
}, },
legend: { legend: {
orient: "vertical", orient: "vertical",
@ -172,6 +172,7 @@ function Rightbottom(props) {
return ( return (
<div className='build-right-bottom'> <div className='build-right-bottom'>
<span style={{position:"absolute",width:"10%",color:"#FFF",backgroundColor:'rgba(216, 240, 255, 0.1)',right:"5%",textAlign:"center",top:0}}></span>
<div className='build-right-bottom-title'> <div className='build-right-bottom-title'>
<h2>{total||0}</h2> <h2>{total||0}</h2>
<span>道路总公里</span> <span>道路总公里</span>

8
web/client/src/sections/quanju/containers/footer/build/index.js

@ -118,7 +118,7 @@ const Build = (props) => {
return ( return (
<> <>
<div className='bgbuild-left'> <div className='bgbuild-left'>
<Module title={"各状态公路数量统计"} style={{ width: "100%", <Module title={"各状态公路数量统计"} style={{ width: "100%",
height:" 33%" height:" 33%"
}} customize = {true}> }} customize = {true}>
<div style={{height:"100%",position:"relative"}} > <div style={{height:"100%",position:"relative"}} >
@ -144,7 +144,7 @@ const Build = (props) => {
</div>:<NoData/>} </div>:<NoData/>}
</div> </div>
</Module> </Module>
<Module title={"各乡镇已建道路分布统计"} style={{ width: "100%", <Module title={"各乡镇已建道路统计"} style={{ width: "100%",
height:" 33%",marginTop:'3%' height:" 33%",marginTop:'3%'
}} customize = {true}> }} customize = {true}>
{ totalcount && totalcount!==0?<div className='build-left-center'> { totalcount && totalcount!==0?<div className='build-left-center'>
@ -211,12 +211,12 @@ const Build = (props) => {
<h2>全面建设好农村公路切实发挥先行官作用</h2> <h2>全面建设好农村公路切实发挥先行官作用</h2>
</div> </div>
</Module> </Module>
<Module title={"各乡镇在建公路工程"} style={{ width: "100%", <Module title={"各乡镇在建工程统计"} style={{ width: "100%",
height:" 33%",marginTop:'3%' height:" 33%",marginTop:'3%'
}} customize = {true}> }} customize = {true}>
{sunonlineproject!==0?<Rightcenter data={onlineproject} sundata={sunonlineproject}/>:<NoData/>} {sunonlineproject!==0?<Rightcenter data={onlineproject} sundata={sunonlineproject}/>:<NoData/>}
</Module> </Module>
<Module title={"公路等级统计"} style={{ width: "100%", <Module title={"各路段技术等级统计"} style={{ width: "100%",
height:" 30%",marginTop:'3%' height:" 30%",marginTop:'3%'
}} customize = {true}> }} customize = {true}>
{safetyData&&sunsafetyData!==0?<RightBottom width='100%' {safetyData&&sunsafetyData!==0?<RightBottom width='100%'

Loading…
Cancel
Save