From 9c98cf6f4cabee3329da71dfb7d1c9cb2fac053d Mon Sep 17 00:00:00 2001 From: tangshaojian <63377964@qq.com> Date: Sun, 12 Jan 2025 10:26:28 +0800 Subject: [PATCH] =?UTF-8?q?tsj:=20=E5=85=AD=E5=A4=A7=E8=A1=8C=E4=B8=9AV4?= =?UTF-8?q?=EF=BC=9A=E5=9B=BA=E5=BA=9F=E5=A4=84=E7=BD=AE=E3=80=81=E5=B8=82?= =?UTF-8?q?=E6=94=BF=E8=AE=BE=E6=96=BD=E7=9A=84DescriptionItem=E7=BC=A9?= =?UTF-8?q?=E7=9F=AD=E4=B8=A4=E8=A1=8C=E4=B9=8B=E9=97=B4=E8=B7=9D=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/MunicipalFacilities/index.less | 6 - .../components/MunicipalFacilities/index.tsx | 123 +++++++++--------- .../components/WasteDisposal/index.tsx | 1 + 3 files changed, 63 insertions(+), 67 deletions(-) diff --git a/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.less b/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.less index 18093661..7482b6fc 100644 --- a/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.less +++ b/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.less @@ -7,12 +7,6 @@ align-items: center; gap: 20px; - // .descriptionWrapper { - // :global(.verticalWrap) { - // gap: 200px !important; - // } - // } - &:last-child { margin-bottom: 0; } diff --git a/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.tsx b/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.tsx index db741952..b1be0b69 100644 --- a/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.tsx +++ b/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/MunicipalFacilities/index.tsx @@ -23,6 +23,7 @@ const MunicipalFacilities: React.FC = () => { color: '#BCCEE9', fontSize: '16px', fontWeight: 400, + marginTop: '-8px',// 添加这行来缩短间距 }; const commonUnitStyle = { @@ -32,10 +33,10 @@ const MunicipalFacilities: React.FC = () => { const commonStyle = { marginTop: '-14px', - padding: '0px 0 0 0px', + // padding: '0px 0 0 0px', // width: '100px', - height: '20px' - } + // height: '20px', + }; const handleBridgeClick = () => { dispatch.push('BridgeManage', { @@ -62,41 +63,41 @@ const MunicipalFacilities: React.FC = () => {
- - - { - dispatch.push('BridgeMaintenanceList'); - }} - /> + + + { + dispatch.push('BridgeMaintenanceList'); + }} + />
@@ -110,29 +111,29 @@ const MunicipalFacilities: React.FC = () => {
- { - dispatch.push('PipelinePassage'); - }} - /> - + { + dispatch.push('PipelinePassage'); + }} + /> +
diff --git a/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/WasteDisposal/index.tsx b/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/WasteDisposal/index.tsx index 04f55960..6a25c75e 100644 --- a/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/WasteDisposal/index.tsx +++ b/src/pages/NewHome/NewRightContent/IndustryOperationV4/components/WasteDisposal/index.tsx @@ -24,6 +24,7 @@ const WasteDisposal: React.FC = () => { color: '#BCCEE9', fontSize: '16px', fontWeight: 400, + marginTop: '-8px',// 添加这行来缩短间距 }; const commonUnitStyle = { -- GitLab