- 优化口门位置显示,在查看模式下展示经纬度坐标信息
master
LiuJiaNan 2026-04-14 10:46:02 +08:00
parent f2e5aac6fe
commit 1b5ac4f362
4 changed files with 32 additions and 16 deletions

View File

@ -374,10 +374,14 @@ const ViewModalComponent = (props) => {
{
label: "位置",
children: (
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
<span>{info.longitude}</span>
<span>{info.latitude}</span>
<LocationIcon onClick={() => {
setMapVisible(true);
}}
/>
</div>
),
},
{ label: "口门进入区域", children: info.inDirectionAreaName },

View File

@ -301,10 +301,14 @@ const InfoModalComponent = (props) => {
{
label: "地理位置",
children: (
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
<span>{info.longitude}</span>
<span>{info.latitude}</span>
<LocationIcon onClick={() => {
setMapVisible(true);
}}
/>
</div>
),
},
{ label: "闸机状态", children: getLabelName({ list: FARE_GATE_STATUS_ENUM, status: info.gateStatus }) },

View File

@ -276,10 +276,14 @@ const InfoModalComponent = (props) => {
{
label: "地理位置",
children: (
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
<span>{info.longitude}</span>
<span>{info.latitude}</span>
<LocationIcon onClick={() => {
setMapVisible(true);
}}
/>
</div>
),
},
]}

View File

@ -308,10 +308,14 @@ function InfoModalComponent(props) {
{
label: "位置",
children: (
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
<span>{info.longitude}</span>
<span>{info.latitude}</span>
<LocationIcon onClick={() => {
setMapVisible(true);
}}
/>
</div>
),
},
]}