From 0b97f49abedd79a5dd85ea9944d38d0b9c36d6bd Mon Sep 17 00:00:00 2001 From: yms Date: Fri, 21 Feb 2025 18:12:58 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/BridgeAreaDistribution/index.tsx | 6 +++--- .../DifficultEvents/ProblemTendencyCard/option.ts | 10 ++-------- .../PipeGalleryDetail/components/MonitorInfo/index.tsx | 4 +++- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/pages/GlobalModalServices/modals/BridgeManage/components/BridgeAreaDistribution/index.tsx b/src/pages/GlobalModalServices/modals/BridgeManage/components/BridgeAreaDistribution/index.tsx index 21c98b46..143a3312 100644 --- a/src/pages/GlobalModalServices/modals/BridgeManage/components/BridgeAreaDistribution/index.tsx +++ b/src/pages/GlobalModalServices/modals/BridgeManage/components/BridgeAreaDistribution/index.tsx @@ -1,7 +1,7 @@ import services from '@/services'; import { convertUnits } from '@/utils/ui'; import { useRequest } from 'ahooks'; -import { Flex, Space } from 'antd'; +import { Flex } from 'antd'; import * as echarts from 'echarts'; import EChartsReact from 'echarts-for-react'; @@ -218,7 +218,7 @@ const BridgeAreaDistribution: React.FC = () => {
{title}
- {title === '道路区域分布' && ( + {/* {title === '道路区域分布' && ( {tabs.map((tab) => (
{
))}
- )} + )} */}
单位:{unit}
diff --git a/src/pages/GlobalModalServices/modals/DifficultEvents/ProblemTendencyCard/option.ts b/src/pages/GlobalModalServices/modals/DifficultEvents/ProblemTendencyCard/option.ts index 04e5cd9e..518c6272 100644 --- a/src/pages/GlobalModalServices/modals/DifficultEvents/ProblemTendencyCard/option.ts +++ b/src/pages/GlobalModalServices/modals/DifficultEvents/ProblemTendencyCard/option.ts @@ -14,7 +14,7 @@ const option = { left: '2%', right: '2%', bottom: '2%', - top: '0%', + top: '40%', containLabel: true, }, legend: { @@ -55,18 +55,12 @@ const option = { yAxis: [ { type: 'value', - name: '件', + // name: '件', min: 0, interval: 10, axisLabel: { show: false, }, - nameTextStyle: { - align: 'left', - color: '#CBEDFF', - padding: [0, 0, 20, -20], - fontSize: 16, - }, splitLine: { show: false, }, diff --git a/src/pages/GlobalModalServices/modals/PipeGalleryDetail/components/MonitorInfo/index.tsx b/src/pages/GlobalModalServices/modals/PipeGalleryDetail/components/MonitorInfo/index.tsx index e87954fc..fe7a3960 100644 --- a/src/pages/GlobalModalServices/modals/PipeGalleryDetail/components/MonitorInfo/index.tsx +++ b/src/pages/GlobalModalServices/modals/PipeGalleryDetail/components/MonitorInfo/index.tsx @@ -55,7 +55,9 @@ const MonitorInfo: React.FC = ({ metaData }) => { unitStyle={commonUnitStyle} />