Compare commits

...

2 Commits

  1. 8
      web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js
  2. 1
      web/client/src/sections/quanju/containers/footer/leadership/left/left-top.js
  3. 16
      web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js

8
web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js

@ -70,7 +70,7 @@ const Leftcenter = () => {
</div> </div>
<div style={{ width: "100%", height: "100%", marginTop: "3%" }}> <div style={{ width: "100%", height: "100%", marginTop: "3%" }}>
<div style={{ width: "60%", height: "100%", float: "left", marginLeft: "1%" }}> <div style={{ width: "60%", height: "100%", float: "left", marginLeft: "1%" }}>
{ {/* {
list.map((item, index) => { list.map((item, index) => {
return index + 1 == num ? return index + 1 == num ?
<div style={{ width: "100%", height: "100%", position: "relative" }}> <div style={{ width: "100%", height: "100%", position: "relative" }}>
@ -86,15 +86,15 @@ const Leftcenter = () => {
}) })
} } */}
</div> </div>
<Lunbo {/* <Lunbo
// canScroll={true} // canScroll={true}
content={renderBody()} content={renderBody()}
containerStyle={{ position: "relative", height: "100%", width: "35%", float: "right", marginRight: "2%", marginTop: "1%" }} containerStyle={{ position: "relative", height: "100%", width: "35%", float: "right", marginRight: "2%", marginTop: "1%" }}
divHeight={"100%"} divHeight={"100%"}
divId={"screen-slope-midde-top-jiangxi"} divId={"screen-slope-midde-top-jiangxi"}
/> /> */}
</div> </div>
</> </>
) )

1
web/client/src/sections/quanju/containers/footer/leadership/left/left-top.js

@ -19,7 +19,6 @@ const Lefttop = (props) => {
setspeed(res.payload.data.speed) setspeed(res.payload.data.speed)
}) })
}, []) }, [])
// console.log(mass); // console.log(mass);
return ( return (
<> <>

16
web/client/src/sections/quanju/containers/footer/leadership/right/right-top.js

@ -77,13 +77,13 @@ const Righttop = () => {
<Module style={style} title={"路面执法监控"}> <Module style={style} title={"路面执法监控"}>
<div style={{ width: "100%", height: "65%", position: "relative" }}> <div style={{ width: "100%", height: "65%", position: "relative" }}>
<p style={{ position: "absolute", left: "25%", top: "2%", fontSize: "14px", color: "#FFFFFF" }}>监控总数</p><p style={{ position: "absolute", left: "37%", fontSize: "24px", marginLeft: "1%", top: "-0.5%", color: "#FFFFFF", fontFamily: "YouSheBiaoTiHei" }}>129</p> {/* <p style={{ position: "absolute", left: "25%", top: "2%", fontSize: "14px", color: "#FFFFFF" }}></p><p style={{ position: "absolute", left: "37%", fontSize: "24px", marginLeft: "1%", top: "-0.5%", color: "#FFFFFF", fontFamily: "YouSheBiaoTiHei" }}>129</p>
<p style={{ position: "absolute", left: "55%", top: "2%", fontSize: "14px", color: "#FFFFFF" }}>在线率</p><p style={{ position: "absolute", right: "15%", fontSize: "24px", marginLeft: "2%", top: "-0.5%", color: "#FFFFFF", fontFamily: "YouSheBiaoTiHei" }}>88.87%</p> <p style={{ position: "absolute", left: "55%", top: "2%", fontSize: "14px", color: "#FFFFFF" }}>在线率</p><p style={{ position: "absolute", right: "15%", fontSize: "24px", marginLeft: "2%", top: "-0.5%", color: "#FFFFFF", fontFamily: "YouSheBiaoTiHei" }}>88.87%</p> */}
<div style={{ width: "100%", height: "10%", position: "relative" }}> <div style={{ width: "100%", height: "10%", position: "relative" }}>
<img src='/assets/images/leadership/head.png' style={{ width: "15%", marginLeft: "5%" }} /> {/* <img src='/assets/images/leadership/head.png' style={{ width: "15%", marginLeft: "5%" }} /> */}
<div className='wy-rightTop' style={{ position: "absolute", right: "5%", top: "130%" }}> <div className='wy-rightTop' style={{ position: "absolute", right: "5%", top: "130%" }}>
<Select {/* <Select
size={size} size={size}
defaultValue="选择路段" defaultValue="选择路段"
onChange={handleChange} onChange={handleChange}
@ -94,14 +94,14 @@ const Righttop = () => {
}} }}
> >
{children} {children}
</Select> </Select> */}
{/* <div>{size}</div> */} {/* <div>{size}</div> */}
</div> </div>
</div> </div>
<div style={{ width: "100%", height: "80%", position: "relative", top: "10%" }}> <div style={{ width: "100%", height: "80%", position: "relative", top: "10%" }}>
<Huadong /> {/* <Huadong /> */}
</div> </div>
</div> </div>
<div style={{ width: "100%", height: "35%" }}> <div style={{ width: "100%", height: "35%" }}>
@ -112,13 +112,13 @@ const Righttop = () => {
<img src='/assets/images/leadership/zibiaoti.png' style={{ width: "94%", height: "34px", position: "absolute", top: "8px", left: "35px" }} /> <img src='/assets/images/leadership/zibiaoti.png' style={{ width: "94%", height: "34px", position: "absolute", top: "8px", left: "35px" }} />
</div> </div>
{/* <Spin tip="Loading..." spinning={num ? true : false} style={{ width: "100%", height: "100%" }}> */} {/* <Spin tip="Loading..." spinning={num ? true : false} style={{ width: "100%", height: "100%" }}> */}
<Lunbo {/* <Lunbo
// canScroll={true} // canScroll={true}
content={renderBody()} content={renderBody()}
containerStyle={{ position: "relative", height: "100%", width: "90%", left: "5%", top: "5%" }} containerStyle={{ position: "relative", height: "100%", width: "90%", left: "5%", top: "5%" }}
divHeight={"100%"} divHeight={"100%"}
divId={"screen-slope"} divId={"screen-slope"}
/> /> */}
{/* </Spin> */} {/* </Spin> */}
</div> </div>

Loading…
Cancel
Save