diff --git a/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js b/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js
index 82097322..5036f587 100644
--- a/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js
+++ b/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js
@@ -17,18 +17,29 @@ let underColorList = [
"rgba(28,96,254,0.5)",
"rgba(4,251,240,0.5)",
]
-const LeftBottom = () => {
+const LeftBottom = (props) => {
const style = { height: "31%", marginTop: "3%" }
+ const { roadData } = props
+ const list = roadData?.greenMileage || {}
+ let grade = ['县道', '乡道', '村道']
+ let totalData = null
+ const value = Object.values(list)?.map((s, index) => {
+ totalData += s.isGreen
+ return {
+ name: grade[index],
+ value: s.isGreen.toFixed(3)
+ }
+ })
+
return (
<>
- {/* */}
diff --git a/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js b/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js
index 6689f500..053bdb42 100644
--- a/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js
+++ b/web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js
@@ -5,7 +5,7 @@ import { Col, Row } from 'antd'
const RightCenter = () => {
const style = { height: "31%", marginTop: "3%" }
const textStyle = { fontSize: 14, color: '#E9F7FF' }
- const numStyle = { color: '#fff', fontSize: 24, fontFamily: 'YouSheBiaoTiHei', textShadow: '0px 0px 8px #1C60FE', marginTop: 8 }
+ const numStyle = { color: '#fff', fontSize: 21, fontFamily: 'YouSheBiaoTiHei', textShadow: '0px 0px 8px #1C60FE', marginTop: 8 }
return (
<>
@@ -13,14 +13,14 @@ const RightCenter = () => {
-
+
-
+
雨水口
61个
@@ -29,14 +29,14 @@ const RightCenter = () => {
-
+
路牌名
2230个
-
+
养护责任牌
1217个
diff --git a/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js b/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js
index 6e1cd0c6..c2d68d16 100644
--- a/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js
+++ b/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js
@@ -2,24 +2,24 @@ import { Col, Row } from 'antd'
import React from 'react'
import Module from '../../../public/module'
-const RightTop = () => {
+const RightTop = (props) => {
const style = { height: "31%", marginTop: "3%" }
const textStyle = { fontSize: 14, color: '#E9F7FF' }
- const numStyle = { color: '#fff', fontSize: 20, fontFamily: 'YouSheBiaoTiHei', textShadow: '0px 0px 8px #1C60FE', marginTop: 8 }
+ const numStyle = { color: '#fff', fontSize: 21, fontFamily: 'YouSheBiaoTiHei', textShadow: '0px 0px 8px #1C60FE', marginTop: 8 }
return (
<>
-
+
-
+
人行道
80处
@@ -28,14 +28,14 @@ const RightTop = () => {
-
+
标志牌
4563个
-
+
防护栏
1054km