master
LiuJiaNan 2026-01-07 14:03:14 +08:00
parent 0b154e0b05
commit 1407b78ce8
1 changed files with 14 additions and 14 deletions

View File

@ -3,15 +3,15 @@ import { CSSTransition, SwitchTransition } from "react-transition-group";
import collapseMenu from "~/assets/images/map_bi/content/collapse_menu.png"; import collapseMenu from "~/assets/images/map_bi/content/collapse_menu.png";
import collapseMenuBg from "~/assets/images/map_bi/content/collapse_menu_bg.png"; import collapseMenuBg from "~/assets/images/map_bi/content/collapse_menu_bg.png";
import { portUtilsList } from "~/pages/Container/Map/components/BottomUtils/portUtilsList"; import { portUtilsList } from "~/pages/Container/Map/components/BottomUtils/portUtilsList";
import FengBi from "~/pages/Container/Map/components/Content/port/FengBi"; import PortFengBi from "~/pages/Container/Map/components/Content/port/FengBi";
import IndexInfo from "~/pages/Container/Map/components/Content/port/IndexInfo"; import IndexInfo from "~/pages/Container/Map/components/Content/port/IndexInfo";
import MenJin from "~/pages/Container/Map/components/Content/port/MenJin"; import PortMenJin from "~/pages/Container/Map/components/Content/port/MenJin";
import PortIndex from "~/pages/Container/Map/components/Content/port/PortIndex"; import PortIndex from "~/pages/Container/Map/components/Content/port/PortIndex";
import QiXiang from "~/pages/Container/Map/components/Content/port/QiXiang"; import PortQiXiang from "~/pages/Container/Map/components/Content/port/QiXiang";
import RenYuan from "~/pages/Container/Map/components/Content/port/RenYuan"; import PortRenYuan from "~/pages/Container/Map/components/Content/port/RenYuan";
import WeiXian from "~/pages/Container/Map/components/Content/port/WeiXian"; import PortWeiXian from "~/pages/Container/Map/components/Content/port/WeiXian";
import XiaoFang from "~/pages/Container/Map/components/Content/port/XiaoFang"; import PortXiaoFang from "~/pages/Container/Map/components/Content/port/XiaoFang";
import ZhongDian from "~/pages/Container/Map/components/Content/port/ZhongDian"; import PortZhongDian from "~/pages/Container/Map/components/Content/port/ZhongDian";
import { Context } from "~/pages/Container/Map/js/context"; import { Context } from "~/pages/Container/Map/js/context";
import mitt from "~/pages/Container/Map/js/mitt"; import mitt from "~/pages/Container/Map/js/mitt";
import { changeContentAnimationKeyMittKey } from "~/pages/Container/Map/js/mittKey"; import { changeContentAnimationKeyMittKey } from "~/pages/Container/Map/js/mittKey";
@ -47,19 +47,19 @@ function Content() {
if (bottomUtilsCurrentType === "" || bottomUtilsCurrentType === "camera") if (bottomUtilsCurrentType === "" || bottomUtilsCurrentType === "camera")
return <PortIndex />; return <PortIndex />;
if (bottomUtilsCurrentType === "door") if (bottomUtilsCurrentType === "door")
return <MenJin />; return <PortMenJin />;
if (bottomUtilsCurrentType === "fire") if (bottomUtilsCurrentType === "fire")
return <XiaoFang />; return <PortXiaoFang />;
if (bottomUtilsCurrentType === "danger") if (bottomUtilsCurrentType === "danger")
return <WeiXian />; return <PortWeiXian />;
if (bottomUtilsCurrentType === "weather") if (bottomUtilsCurrentType === "weather")
return <QiXiang />; return <PortQiXiang />;
if (bottomUtilsCurrentType === "people") if (bottomUtilsCurrentType === "people")
return <RenYuan />; return <PortRenYuan />;
if (bottomUtilsCurrentType === "project") if (bottomUtilsCurrentType === "project")
return <ZhongDian />; return <PortZhongDian />;
if (bottomUtilsCurrentType === "closedArea") if (bottomUtilsCurrentType === "closedArea")
return <FengBi />; return <PortFengBi />;
} }
}; };