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 (
{list.map(({name,number,gongli},index)=>
@@ -201,7 +193,20 @@ const Build = (props) => { }} customize={true}>
{/* */} - + + {xuandata&&xuandata!==null&&xuandata.length!==0?xuandata.map((item,index)=>{ + if(item.enable){ + if(item.video&&item.video!==null&&item.video.length!==0){ + return item.video.map((i,index)=>{ + // console.log(i,'视频') + return + }) + } + // return + } + }):""} + {/* */} +

全面建设好农村公路,切实发挥先行官作用

diff --git a/web/client/src/sections/quanju/containers/footer/build/style.less b/web/client/src/sections/quanju/containers/footer/build/style.less index 7af5871d..436f2e8c 100644 --- a/web/client/src/sections/quanju/containers/footer/build/style.less +++ b/web/client/src/sections/quanju/containers/footer/build/style.less @@ -214,7 +214,7 @@ padding: 0 10px; video{ width: 100%; - height: 65%; + height: 17vh; // margin-bottom: 5%; } diff --git a/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js b/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js index 9aa8b9ea..07350e7e 100644 --- a/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js +++ b/web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js @@ -172,7 +172,7 @@ const LeftCenter = (props) => { rich: { a: { backgroundColor: { - image: 'assets/images/quanju/circle2.png' + image: '/assets/images/quanju/circle2.png' }, width: 15, height: 15,