Browse Source

(*)更新

dev
yangsen 3 years ago
parent
commit
dbd78c882f
  1. 4
      web/client/src/sections/quanju/containers/footer/build/Rightbottom.js
  2. 2
      web/client/src/sections/quanju/containers/footer/build/index.js
  3. 2
      web/client/src/sections/quanju/containers/footer/build/style.less
  4. 6
      web/client/src/sections/quanju/containers/footer/guanli/index.js

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

@ -217,8 +217,8 @@ function Rightbottom (props) {
</div>
{/* <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'>
<h2>{siji[0] + siji[1]+sanji[2] + sanji[3] + sanji[4] || 0}</h2>
<span>路段总数</span>
<h2>{total || 0}</h2>
<span>道路总公里</span>
</div>
{/* <div className='img1'>
<img src='/assets/images/quanju/all.png' />

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

@ -170,7 +170,7 @@ const Build = (props) => {
</div> : <NoData />}
</div>
</Module>
<Module title={"各乡镇已建道路统计"} style={{
<Module title={"各乡镇现有道路统计"} style={{
width: "100%",
height: " 33%", marginTop: '3%'
}} customize={true}>

2
web/client/src/sections/quanju/containers/footer/build/style.less

@ -309,7 +309,7 @@
justify-content: center;
position: absolute;
align-items: center;
left: 44%;
left: 40%;
top: 35%;
h2 {

6
web/client/src/sections/quanju/containers/footer/guanli/index.js

@ -64,14 +64,13 @@ const Guanli = (props) => {
{rightitemlist && rightitemlist.length !== 0 ? rightitemlist?.map(({ id, licensePlate, overrunRate, fine, processingTime, deductPoints, nameOfInspectionPoint }, index) => {
if (index < 120) {
return <div key={index} className='guanli-right-item'>
<div className='popover'>
<Tooltip title={<div className='popover-content'>
<div style={{ width: "100%", height: "100%", marginTop: "0" }}>
{/* <img src='/assets/images/leadership/beijinglan.png' style={{ width: "100%", height: "100%" }} /> */}
<div style={{ position: "absolute", top: "0", width: "50%", padding: "20px" }}>
<img src='/assets/images/leadership/yuanxing.png' style={{ width: "100%", height: "100%" }} />
<p style={{ color: "#09BAFF", position: "absolute", top: "42%", left: "27%", fontSize: "29px", fontFamily: "YouSheBiaoTiHei" }}>{overrunRate?overrunRate:0}{/* {item.overrunRate ? item.overrunRate + "%" : "--"} */}</p>
<p style={{ color: "#09BAFF", position: "absolute", top: "42%", left: "27%", fontSize: "29px", fontFamily: "YouSheBiaoTiHei" }}>{overrunRate ? overrunRate.toFixed(2) : 0}%{/* {item.overrunRate ? item.overrunRate + "%" : "--"} */}</p>
<p style={{ color: "rgba(216,240,255,0.8)", position: "absolute", top: "60%", left: "43%", fontSize: "14px" }}>超限</p>
</div>
<div style={{ position: "absolute", top: "0", width: "50%", left: "50%", top: '5px' }}>
@ -87,12 +86,13 @@ const Guanli = (props) => {
overlayClassName='popover'
>
<div style={{ width: '100%', height: '100%', display: 'flex' }}>
<span>{licensePlate}</span>
<span>{overrunRate}%</span>
<span>{deductPoints ? `-${deductPoints}` : ""}-{fine}{fine ? "元" : ""}</span>
<span>{processingTime}</span>
</Tooltip>
</div>
</Tooltip>
</div>
}
}) : ""}

Loading…
Cancel
Save