|
@ -8,14 +8,30 @@ import Rightcenter from './Rightcenter' |
|
|
import { Carousel } from 'antd' |
|
|
import { Carousel } from 'antd' |
|
|
import Module from '../../public/module' |
|
|
import Module from '../../public/module' |
|
|
import RightBottom from './Rightbottom' |
|
|
import RightBottom from './Rightbottom' |
|
|
|
|
|
import AutoRollComponent from './AutoRollComponent' |
|
|
import './style.less' |
|
|
import './style.less' |
|
|
const Build = () => { |
|
|
const Build = () => { |
|
|
|
|
|
const datas = new Array(15) |
|
|
|
|
|
datas.fill({ |
|
|
|
|
|
name:"东乡镇", |
|
|
|
|
|
number:"11111", |
|
|
|
|
|
gongli:'9999' |
|
|
|
|
|
},0,15) |
|
|
|
|
|
const rendercontent = ()=>{ |
|
|
|
|
|
return (<div className='build-left-center-content'> |
|
|
|
|
|
{datas.map(({name,number,gongli},index)=><div className='build-left-center-item' key={index}> |
|
|
|
|
|
<span>{name}</span> |
|
|
|
|
|
<span>{number}</span> |
|
|
|
|
|
<span>{gongli}</span> |
|
|
|
|
|
</div>)} |
|
|
|
|
|
</div>) |
|
|
|
|
|
} |
|
|
return ( |
|
|
return ( |
|
|
<div className='bgbuild'> |
|
|
<div className='bgbuild'> |
|
|
<div className='bgbuild-left'> |
|
|
<div className='bgbuild-left'> |
|
|
<Module title={"各种状态公路数量统计"} style={{ width: "100%", |
|
|
<Module title={"各种状态公路数量统计"} style={{ width: "100%", |
|
|
height:" 33%" |
|
|
height:" 33%" |
|
|
}}> |
|
|
}} customize = {true}> |
|
|
<div className='build-left-top'> |
|
|
<div className='build-left-top'> |
|
|
<div className='build-left-top-item'> |
|
|
<div className='build-left-top-item'> |
|
|
<div> |
|
|
<div> |
|
@ -38,7 +54,7 @@ const Build = () => { |
|
|
</Module> |
|
|
</Module> |
|
|
<Module title={"各乡镇道路占比统计"} style={{ width: "100%", |
|
|
<Module title={"各乡镇道路占比统计"} style={{ width: "100%", |
|
|
height:" 33%",marginTop:'3%' |
|
|
height:" 33%",marginTop:'3%' |
|
|
}}> |
|
|
}} customize = {true}> |
|
|
<div className='build-left-center'> |
|
|
<div className='build-left-center'> |
|
|
<div className='build-left-center-top'> |
|
|
<div className='build-left-center-top'> |
|
|
<div> |
|
|
<div> |
|
@ -61,45 +77,13 @@ const Build = () => { |
|
|
<span>公路数量/条</span> |
|
|
<span>公路数量/条</span> |
|
|
<span>公里</span> |
|
|
<span>公里</span> |
|
|
</div> |
|
|
</div> |
|
|
<div className='build-left-center-content'> |
|
|
<AutoRollComponent content = {rendercontent()} containerStyle={{ position: "relative", height: "50%", }} |
|
|
<Carousel dotPosition='left' autoplay={true} dots={false}> |
|
|
divHeight={"100%"} divId={"chart"} /> |
|
|
<div className='build-left-center-item'> |
|
|
|
|
|
<span>乡镇名称</span> |
|
|
|
|
|
<span>公路数量/条</span> |
|
|
|
|
|
<span>公里</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div className='build-left-center-item'> |
|
|
|
|
|
<span>乡镇名称</span> |
|
|
|
|
|
<span>公路数量/条</span> |
|
|
|
|
|
<span>公里</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div className='build-left-center-item'> |
|
|
|
|
|
<span>乡镇名称</span> |
|
|
|
|
|
<span>公路数量/条</span> |
|
|
|
|
|
<span>公里</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div className='build-left-center-item'> |
|
|
|
|
|
<span>乡镇名称</span> |
|
|
|
|
|
<span>公路数量/条</span> |
|
|
|
|
|
<span>公里</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div className='build-left-center-item'> |
|
|
|
|
|
<span>乡镇名称</span> |
|
|
|
|
|
<span>公路数量/条</span> |
|
|
|
|
|
<span>公里</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div className='build-left-center-item'> |
|
|
|
|
|
<span>乡镇名称</span> |
|
|
|
|
|
<span>公路数量/条</span> |
|
|
|
|
|
<span>公里</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</Carousel> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</Module> |
|
|
</Module> |
|
|
<Module title={"道路统计"} style={{ width: "100%", |
|
|
<Module title={"道路统计"} style={{ width: "100%", |
|
|
height:" 30%",marginTop:'3%' |
|
|
height:" 30%",marginTop:'3%' |
|
|
}}> |
|
|
}} customize = {true}> |
|
|
<LeftBottom/> |
|
|
<LeftBottom/> |
|
|
</Module> |
|
|
</Module> |
|
|
|
|
|
|
|
@ -115,12 +99,12 @@ const Build = () => { |
|
|
</Module> |
|
|
</Module> |
|
|
<Module title={"各乡镇在建公路工程"} style={{ width: "100%", |
|
|
<Module title={"各乡镇在建公路工程"} style={{ width: "100%", |
|
|
height:" 33%",marginTop:'3%' |
|
|
height:" 33%",marginTop:'3%' |
|
|
}}> |
|
|
}} customize = {true}> |
|
|
<Rightcenter/> |
|
|
<Rightcenter/> |
|
|
</Module> |
|
|
</Module> |
|
|
<Module title={"公路等级统计"} style={{ width: "100%", |
|
|
<Module title={"公路等级统计"} style={{ width: "100%", |
|
|
height:" 30%",marginTop:'3%' |
|
|
height:" 30%",marginTop:'3%' |
|
|
}}> |
|
|
}} customize = {true}> |
|
|
<RightBottom/> |
|
|
<RightBottom/> |
|
|
</Module> |
|
|
</Module> |
|
|
</div> |
|
|
</div> |
|
|