diff --git a/web/client/src/sections/quanju/containers/footer/build/Rightbottom.js b/web/client/src/sections/quanju/containers/footer/build/Rightbottom.js index 17788224..ef527284 100644 --- a/web/client/src/sections/quanju/containers/footer/build/Rightbottom.js +++ b/web/client/src/sections/quanju/containers/footer/build/Rightbottom.js @@ -11,13 +11,15 @@ function Rightbottom(props) { "rgba(7,185,254,1)", "rgba(28,96,254,1)", "rgba(4,251,240,1)", - "rgba(255,194,20,1)" + "rgba(255,194,20,1)", + 'rgba(255,255,255,1)' ] let underColorList = [ "rgba(7,185,254,0.5)", "rgba(28,96,254,0.5)", "rgba(4,251,240,0.5)", - "rgba(255,194,20,0.5)" + "rgba(255,194,20,0.5)", + 'rgba(255,255,255,0.5)', ] let name = [], emptyName = [] // const name = data?.map(d) diff --git a/web/client/src/sections/quanju/containers/footer/build/index.js b/web/client/src/sections/quanju/containers/footer/build/index.js index c4a20980..23c59447 100644 --- a/web/client/src/sections/quanju/containers/footer/build/index.js +++ b/web/client/src/sections/quanju/containers/footer/build/index.js @@ -12,7 +12,8 @@ import RightBottom from './Rightbottom' import AutoRollComponent from './AutoRollComponent' import './style.less' import {getdaolutongji,getxuanchuan} from '../../../actions/example' -import { number } from 'echarts'; +import { Carousel } from 'antd'; +// import { number } from 'echarts'; const Build = (props) => { const { dispatch } = props let data1 = [ @@ -89,20 +90,11 @@ const Build = (props) => { let safetyData = alldengji?.filter(item=>item.name==='一级公路'||item.name==='二级公路'||item.name==='三级公路'||item.name==='四级公路'||item.name==='等外公路') let sundata = data?.reduce((x,y)=>x+y.value,0) let sunsafetyData = safetyData?.reduce((x,y)=>x+y.value,0) - // console.log(safetyData,'好凶猛') - // console.log(data1,'对比') - // console.log(totalgongli,"好好的") - // console.log(keepThreeNum(totalgongli),'jjjjj') + useEffect(()=>{ requestbuildingnumber(); requestxuanchuanlan() },[]) - // const datas = new Array(15) - // datas.fill({ - // name:"东乡镇", - // number:"11111", - // gongli:'9999' - // },0,15) const rendercontent = ()=>{ return (