master
LiuJiaNan 2026-01-08 16:12:58 +08:00
parent 2de07c83c7
commit b0cb1ce5e2
17 changed files with 31 additions and 18 deletions

View File

@ -0,0 +1,9 @@
import "./index.less";
function WeiXian() {
return (
<div className="branch_office_weixian">1</div>
);
}
export default WeiXian;

View File

@ -0,0 +1,3 @@
.branch_office_weixian {
}

View File

@ -7,6 +7,7 @@ import { branchOfficeUtilsList } from "~/pages/Container/Map/components/BottomUt
import { portUtilsList } from "~/pages/Container/Map/components/BottomUtils/portUtilsList"; import { portUtilsList } from "~/pages/Container/Map/components/BottomUtils/portUtilsList";
import BranchOfficeIndexLeft from "~/pages/Container/Map/components/Content/branchOffice/IndexLeft"; import BranchOfficeIndexLeft from "~/pages/Container/Map/components/Content/branchOffice/IndexLeft";
import BranchOfficeIndexRight from "~/pages/Container/Map/components/Content/branchOffice/IndexRight"; import BranchOfficeIndexRight from "~/pages/Container/Map/components/Content/branchOffice/IndexRight";
import BranchWeiXian from "~/pages/Container/Map/components/Content/branchOffice/WeiXian";
import IndexInfo from "~/pages/Container/Map/components/Content/IndexInfo"; import IndexInfo from "~/pages/Container/Map/components/Content/IndexInfo";
import PortFengBi from "~/pages/Container/Map/components/Content/port/FengBi"; import PortFengBi from "~/pages/Container/Map/components/Content/port/FengBi";
import PortIndex from "~/pages/Container/Map/components/Content/port/Index"; import PortIndex from "~/pages/Container/Map/components/Content/port/Index";
@ -47,16 +48,16 @@ function Content() {
const renderBranchOfficeContentLeft = () => { const renderBranchOfficeContentLeft = () => {
const bottomUtilsCurrentType = bottomUtilsCurrentIndex !== -1 ? branchOfficeUtilsList[bottomUtilsCurrentIndex].type : ""; const bottomUtilsCurrentType = bottomUtilsCurrentIndex !== -1 ? branchOfficeUtilsList[bottomUtilsCurrentIndex].type : "";
if (bottomUtilsCurrentType === "") { if (bottomUtilsCurrentType === "")
return <BranchOfficeIndexLeft />; return <BranchOfficeIndexLeft />;
} if (bottomUtilsCurrentType === "danger")
return <BranchWeiXian />;
}; };
const renderBranchOfficeContentRight = () => { const renderBranchOfficeContentRight = () => {
const bottomUtilsCurrentType = bottomUtilsCurrentIndex !== -1 ? branchOfficeUtilsList[bottomUtilsCurrentIndex].type : ""; const bottomUtilsCurrentType = bottomUtilsCurrentIndex !== -1 ? branchOfficeUtilsList[bottomUtilsCurrentIndex].type : "";
if (bottomUtilsCurrentType === "") { if (bottomUtilsCurrentType === "")
return <BranchOfficeIndexRight />; return <BranchOfficeIndexRight />;
}
}; };
const renderContent = () => { const renderContent = () => {

View File

@ -72,7 +72,7 @@ function FengBi() {
}; };
return ( return (
<div className="fengbi"> <div className="port_fengbi">
<div className="block1"> <div className="block1">
<Title title="口门统计" /> <Title title="口门统计" />
<div className="options"> <div className="options">

View File

@ -1,4 +1,4 @@
.fengbi { .port_fengbi {
.tabs-style() { .tabs-style() {
display: flex; display: flex;

View File

@ -97,7 +97,7 @@ const MenJin = () => {
}); });
return ( return (
<div className="menjin"> <div className="port_menjin">
<div className="block1"> <div className="block1">
<Title title="口门统计" /> <Title title="口门统计" />
<div className="options"> <div className="options">

View File

@ -1,4 +1,4 @@
.menjin { .port_menjin {
.block1 { .block1 {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),

View File

@ -89,7 +89,7 @@ const QiXiang = () => {
}, []); }, []);
return ( return (
<div className="qixiang"> <div className="port_qixiang">
<div className="block1"> <div className="block1">
<Title title="气象监测数据" /> <Title title="气象监测数据" />
<div className="options"> <div className="options">

View File

@ -1,4 +1,4 @@
.qixiang { .port_qixiang {
.block1 { .block1 {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),

View File

@ -43,7 +43,7 @@ const RenYuan = () => {
]); ]);
return ( return (
<div className="renyuan"> <div className="port_renyuan">
<div className="block1"> <div className="block1">
<Title title="定位基础信息" /> <Title title="定位基础信息" />
<div className="options"> <div className="options">

View File

@ -1,4 +1,4 @@
.renyuan { .port_renyuan {
.block1 { .block1 {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),

View File

@ -63,7 +63,7 @@ const WeiXian = () => {
}); });
return ( return (
<div className="weixian"> <div className="port_weixian">
<div className="block1"> <div className="block1">
<Title title="安全作业状态统计" /> <Title title="安全作业状态统计" />
<div className="options"> <div className="options">

View File

@ -1,4 +1,4 @@
.weixian { .port_weixian {
.block1 { .block1 {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),

View File

@ -87,7 +87,7 @@ const XiaoFang = () => {
}; };
return ( return (
<div className="xiaofang"> <div className="port_xiaofang">
<div className="block1"> <div className="block1">
<Title title="消防设备查询" /> <Title title="消防设备查询" />
<div className="content"> <div className="content">

View File

@ -1,4 +1,4 @@
.xiaofang { .port_xiaofang {
.block1 { .block1 {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),

View File

@ -24,7 +24,7 @@ const ZhongDian = () => {
]); ]);
return ( return (
<div className="zhongdian"> <div className="port_zhongdian">
<div className="block1"> <div className="block1">
<Title title="视频定位" /> <Title title="视频定位" />
<div className="options"> <div className="options">

View File

@ -1,4 +1,4 @@
.zhongdian { .port_zhongdian {
.block1 { .block1 {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
rgba(0, 0, 0, 0), rgba(0, 0, 0, 0),