diff --git a/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.less b/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.less index 862b776421600d941c02b01510a92d83a09f51d2..b061dc950244580101e1712cd9777252bbf46f9c 100644 --- a/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.less +++ b/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.less @@ -2,10 +2,17 @@ position: relative; background: rgba(27, 124, 181, 0.2); width: 382x; - height: 178px; + height: 175px; padding: 10px 10px; overflow: auto; - +:global{ + .ant-descriptions-item-container{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: 350px; + } +} .title { font-size: 24px; color: rgb(255, 255, 255); diff --git a/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.tsx b/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.tsx index 615288d5cd5e289f35174a3ca78888d7c9bb160b..deaacff86514aaf97aed4ade7f6da058ccd86c08 100644 --- a/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.tsx +++ b/src/pages/GlobalModalServices/modals/LivingGarbage/PopoverCard/index.tsx @@ -11,33 +11,33 @@ const PopoverCard: React.FC = (props) => { return [ { key: '1', - label: '处置厂类型:', + label: '处置厂类型:', children: data?.czclx, }, { key: '4', - label: '处置厂最大处置量(万吨):', + label: '处置厂最大处置量(万吨):', children: data?.czcln, }, { key: '3', - label: '管理单位:', + label: '管理单位:', children: data?.manageunitname, }, { key: '2', - label: '所在位置:', + label: '所在位置:', children: data?.address, }, { key: '5', - label: '建设时间:', + label: '建设时间:', children: data?.jcsscreatetime, }, { key: '6', - label: '本月处置量(万吨):', + label: '本月处置量(万吨):', children: data?.czl, }, ]; diff --git a/src/pages/GlobalModalServices/modals/LivingGarbage/index.tsx b/src/pages/GlobalModalServices/modals/LivingGarbage/index.tsx index bacbf6fcc78d601b5d4bd4fe50928729f6b468bc..d93c582ff912de7c2ac4d46fc0128718809a9525 100644 --- a/src/pages/GlobalModalServices/modals/LivingGarbage/index.tsx +++ b/src/pages/GlobalModalServices/modals/LivingGarbage/index.tsx @@ -249,9 +249,10 @@ const LivingGarbage: React.FC = () => { > {pointData ?.filter((it) => checkedKeys?.includes(it.czclx)) - ?.map((item) => { + ?.map((item,index) => { return ( { try { @@ -389,9 +390,9 @@ const LivingGarbage: React.FC = () => { {expand === item?.title && (
- {item?.children?.map((it, index) => ( + {item?.children?.map((it, idx) => (
handleLocation(it)} >