diff --git a/src/assets/images/map_bi/back.png b/src/assets/images/map_bi/back1.png
similarity index 100%
rename from src/assets/images/map_bi/back.png
rename to src/assets/images/map_bi/back1.png
diff --git a/src/assets/images/map_bi/back2.png b/src/assets/images/map_bi/back2.png
new file mode 100644
index 0000000..406138d
Binary files /dev/null and b/src/assets/images/map_bi/back2.png differ
diff --git a/src/assets/images/map_bi/content/collapse_menu.png b/src/assets/images/map_bi/content/collapse_menu1.png
similarity index 100%
rename from src/assets/images/map_bi/content/collapse_menu.png
rename to src/assets/images/map_bi/content/collapse_menu1.png
diff --git a/src/assets/images/map_bi/content/collapse_menu2.png b/src/assets/images/map_bi/content/collapse_menu2.png
new file mode 100644
index 0000000..0bfa686
Binary files /dev/null and b/src/assets/images/map_bi/content/collapse_menu2.png differ
diff --git a/src/assets/images/map_bi/content/collapse_menu_bg.png b/src/assets/images/map_bi/content/collapse_menu_bg1.png
similarity index 100%
rename from src/assets/images/map_bi/content/collapse_menu_bg.png
rename to src/assets/images/map_bi/content/collapse_menu_bg1.png
diff --git a/src/assets/images/map_bi/content/collapse_menu_bg2.png b/src/assets/images/map_bi/content/collapse_menu_bg2.png
new file mode 100644
index 0000000..48cedec
Binary files /dev/null and b/src/assets/images/map_bi/content/collapse_menu_bg2.png differ
diff --git a/src/assets/images/map_bi/top.png b/src/assets/images/map_bi/top1.png
similarity index 100%
rename from src/assets/images/map_bi/top.png
rename to src/assets/images/map_bi/top1.png
diff --git a/src/assets/images/map_bi/top2.png b/src/assets/images/map_bi/top2.png
new file mode 100644
index 0000000..1133341
Binary files /dev/null and b/src/assets/images/map_bi/top2.png differ
diff --git a/src/pages/Container/Map/components/CenterUtils/index.less b/src/pages/Container/Map/components/CenterUtils/index.less
index c7b6a0a..994dd2e 100644
--- a/src/pages/Container/Map/components/CenterUtils/index.less
+++ b/src/pages/Container/Map/components/CenterUtils/index.less
@@ -1,4 +1,4 @@
-.center_options_container{
+.center_options_container {
.center_options {
width: 408px;
position: absolute;
@@ -45,7 +45,7 @@
}
}
- .statistics{
+ .statistics {
width: 408px;
position: absolute;
top: 205px;
@@ -54,20 +54,23 @@
gap: 5px;
color: #fff;
- .statistic{
+ .statistic {
border-radius: 2px;
- .title{
+ .title {
padding: 3px 0;
text-align: center;
border-radius: 2px;
}
- .info{
+
+ .info {
padding: 7px 14px;
border: 1px solid rgb(44, 105, 172);
border-radius: 2px;
background-color: rgba(0, 41, 82, 0.722);
- .value{}
+
+ .value {
+ }
}
}
}
diff --git a/src/pages/Container/Map/components/Content/port/IndexInfo/index.js b/src/pages/Container/Map/components/Content/IndexInfo/index.js
similarity index 100%
rename from src/pages/Container/Map/components/Content/port/IndexInfo/index.js
rename to src/pages/Container/Map/components/Content/IndexInfo/index.js
diff --git a/src/pages/Container/Map/components/Content/port/IndexInfo/index.less b/src/pages/Container/Map/components/Content/IndexInfo/index.less
similarity index 85%
rename from src/pages/Container/Map/components/Content/port/IndexInfo/index.less
rename to src/pages/Container/Map/components/Content/IndexInfo/index.less
index b311e84..cb6ab27 100644
--- a/src/pages/Container/Map/components/Content/port/IndexInfo/index.less
+++ b/src/pages/Container/Map/components/Content/IndexInfo/index.less
@@ -1,22 +1,17 @@
.index_info_container {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
display: flex;
justify-content: space-between;
padding: 10px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
.option {
@@ -61,22 +56,17 @@
}
.block2 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
margin-top: 10px;
.options {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
display: flex;
flex-wrap: wrap;
diff --git a/src/pages/Container/Map/components/Content/branchOffice/Index/index.js b/src/pages/Container/Map/components/Content/branchOffice/Index/index.js
new file mode 100644
index 0000000..9899f30
--- /dev/null
+++ b/src/pages/Container/Map/components/Content/branchOffice/Index/index.js
@@ -0,0 +1,9 @@
+import "./index.less";
+
+function Index() {
+ return (
+
-
车辆数
+
车辆数
diff --git a/src/pages/Container/Map/components/Content/port/PortIndex/index.js b/src/pages/Container/Map/components/Content/port/Index/index.js
similarity index 99%
rename from src/pages/Container/Map/components/Content/port/PortIndex/index.js
rename to src/pages/Container/Map/components/Content/port/Index/index.js
index a7c3313..6bd4311 100644
--- a/src/pages/Container/Map/components/Content/port/PortIndex/index.js
+++ b/src/pages/Container/Map/components/Content/port/Index/index.js
@@ -20,7 +20,7 @@ import "./index.less";
const block3OptionsNavList = ["分公司统计", "相关方单位统计"];
-function PortIndex() {
+function Index() {
const { currentPort, area, currentBranchOffice } = useContext(Context);
const [block1OptionsList, setBlock1OptionsList] = useState([
@@ -125,4 +125,4 @@ function PortIndex() {
);
}
-export default PortIndex;
+export default Index;
diff --git a/src/pages/Container/Map/components/Content/port/PortIndex/index.less b/src/pages/Container/Map/components/Content/port/Index/index.less
similarity index 83%
rename from src/pages/Container/Map/components/Content/port/PortIndex/index.less
rename to src/pages/Container/Map/components/Content/port/Index/index.less
index 652d948..f25588e 100644
--- a/src/pages/Container/Map/components/Content/port/PortIndex/index.less
+++ b/src/pages/Container/Map/components/Content/port/Index/index.less
@@ -1,22 +1,17 @@
.port_index {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
display: flex;
justify-content: space-between;
padding: 10px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
.option {
@@ -66,22 +61,17 @@
.block2 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
display: flex;
flex-wrap: wrap;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
padding: 10px;
@@ -134,20 +124,15 @@
.block3 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.content {
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
padding: 10px;
diff --git a/src/pages/Container/Map/components/Content/port/MenJin/index.less b/src/pages/Container/Map/components/Content/port/MenJin/index.less
index 2821a66..4638022 100644
--- a/src/pages/Container/Map/components/Content/port/MenJin/index.less
+++ b/src/pages/Container/Map/components/Content/port/MenJin/index.less
@@ -1,22 +1,17 @@
.menjin {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
display: flex;
justify-content: space-between;
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
.option {
@@ -47,22 +42,17 @@
}
.block2 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
margin-top: 10px;
.options {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
.main1_node {
@@ -74,20 +64,15 @@
.block3 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.content {
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
padding: 10px;
diff --git a/src/pages/Container/Map/components/Content/port/QiXiang/index.less b/src/pages/Container/Map/components/Content/port/QiXiang/index.less
index 4fe5292..1a796af 100644
--- a/src/pages/Container/Map/components/Content/port/QiXiang/index.less
+++ b/src/pages/Container/Map/components/Content/port/QiXiang/index.less
@@ -1,21 +1,16 @@
.qixiang {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
margin-top: 20px;
.options {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
display: flex;
flex-wrap: wrap;
@@ -60,22 +55,17 @@
}
.block2 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
margin-top: 10px;
.options {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
display: flex;
flex-wrap: wrap;
@@ -132,20 +122,15 @@
.block3 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.content {
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
padding: 10px;
diff --git a/src/pages/Container/Map/components/Content/port/RenYuan/index.less b/src/pages/Container/Map/components/Content/port/RenYuan/index.less
index 9fd4f95..9789d10 100644
--- a/src/pages/Container/Map/components/Content/port/RenYuan/index.less
+++ b/src/pages/Container/Map/components/Content/port/RenYuan/index.less
@@ -1,20 +1,15 @@
.renyuan {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
display: flex;
flex-wrap: wrap;
@@ -73,20 +68,15 @@
.block2 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.content {
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
padding: 10px;
diff --git a/src/pages/Container/Map/components/Content/port/WeiXian/index.less b/src/pages/Container/Map/components/Content/port/WeiXian/index.less
index 6f6151e..b8424a0 100644
--- a/src/pages/Container/Map/components/Content/port/WeiXian/index.less
+++ b/src/pages/Container/Map/components/Content/port/WeiXian/index.less
@@ -1,42 +1,40 @@
.weixian {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
display: flex;
justify-content: space-between;
padding: 13px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
.option {
display: flex;
flex-direction: column;
align-items: center;
- .circular{
+
+ .circular {
background-size: 100% 100%;
background-repeat: no-repeat;
width: 70px;
height: 70px;
text-align: center;
padding-top: 13px;
- img{
+
+ img {
width: 25px;
height: 26px;
animation: weixianSlideY 2s infinite;
}
}
- .label{
+
+ .label {
display: flex;
justify-content: center;
background-size: 100% 100%;
@@ -55,41 +53,31 @@
.block2 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.content {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
}
}
.block3 {
margin-top: 10px;
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.content {
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
padding: 10px;
diff --git a/src/pages/Container/Map/components/Content/port/ZhongDian/index.less b/src/pages/Container/Map/components/Content/port/ZhongDian/index.less
index ea9ec36..c864bbd 100644
--- a/src/pages/Container/Map/components/Content/port/ZhongDian/index.less
+++ b/src/pages/Container/Map/components/Content/port/ZhongDian/index.less
@@ -1,22 +1,17 @@
.zhongdian {
.block1 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
.options {
display: flex;
justify-content: space-between;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
.option {
@@ -53,22 +48,17 @@
}
.block2 {
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.8)
- );
+ background-image: linear-gradient(to bottom,
+ rgba(0, 0, 0, 0),
+ rgba(0, 0, 0, 0.8));
margin-top: 10px;
.options {
padding: 10px 15px;
border: 1px solid;
- border-image: linear-gradient(
- to bottom,
- rgba(58, 122, 149, 0),
- rgba(58, 122, 149, 1)
- )
- 1;
+ border-image: linear-gradient(to bottom,
+ rgba(58, 122, 149, 0),
+ rgba(58, 122, 149, 1)) 1;
border-top: none;
display: flex;
flex-wrap: wrap;
diff --git a/src/pages/Container/Map/components/Header/index.js b/src/pages/Container/Map/components/Header/index.js
index 2906087..58890e2 100644
--- a/src/pages/Container/Map/components/Header/index.js
+++ b/src/pages/Container/Map/components/Header/index.js
@@ -1,8 +1,10 @@
-import { useContext, useEffect, useState } from "react";
-import { CSSTransition } from "react-transition-group";
-import backImg from "~/assets/images/map_bi/back.png";
+import { useContext } from "react";
+import { CSSTransition, SwitchTransition } from "react-transition-group";
+import backImg1 from "~/assets/images/map_bi/back1.png";
+import backImg2 from "~/assets/images/map_bi/back2.png";
import guangImg from "~/assets/images/map_bi/guang.png";
-import topImg from "~/assets/images/map_bi/top.png";
+import topImg1 from "~/assets/images/map_bi/top1.png";
+import topImg2 from "~/assets/images/map_bi/top2.png";
import { Context } from "~/pages/Container/Map/js/context";
import mitt from "~/pages/Container/Map/js/mitt";
import {
@@ -18,20 +20,15 @@ import {
} from "~/pages/Container/Map/js/mittKey";
import "./index.less";
-function Header() {
+function Header(props) {
const { currentPort, currentBranchOffice, mapMethods, area } = useContext(Context);
- const [animationKey, setAnimationKey] = useState(0);
-
- useEffect(() => {
- setAnimationKey(Math.random());
- }, []);
-
const onBack = () => {
+ sessionStorage.removeItem("mapCurrentBranchOfficeId");
mitt.emit(deletePeoplePositionPointMittKey);
if (currentPort !== "00003" && currentBranchOffice) {
- mitt.emit(clickPortPointMittKey, { id: "" });
- mitt.emit(clickBranchOfficePointMittKey, { id: "" });
+ mitt.emit(clickPortPointMittKey, { id: "", name: "秦港股份" });
+ mitt.emit(clickBranchOfficePointMittKey, { id: "", corpName: "秦港股份" });
mapMethods.current.removeWall();
mapMethods.current.removeFourColorDiagram();
mapMethods.current.removeBranchOfficePoint();
@@ -40,7 +37,7 @@ function Header() {
mapMethods.current.addPortPoint();
}
else if (currentBranchOffice) {
- mitt.emit(clickBranchOfficePointMittKey, { id: "" });
+ mitt.emit(clickBranchOfficePointMittKey, { id: "", corpName: "秦港股份" });
mapMethods.current.removeBranchOfficePoint();
mapMethods.current.removeMarkPoint();
mapMethods.current.returnPreviousCenterPoint();
@@ -49,7 +46,7 @@ function Header() {
}, 2000);
}
else if (currentPort) {
- mitt.emit(clickPortPointMittKey, { id: "" });
+ mitt.emit(clickPortPointMittKey, { id: "", name: "秦港股份" });
mapMethods.current.removeWall();
mapMethods.current.removeFourColorDiagram();
mapMethods.current.removeBranchOfficePoint();
@@ -67,39 +64,40 @@ function Header() {
return (
-
-
-
+ {(currentPort && props.headerTitle === "秦港股份安全监管平台") && (
+
+ )}
+ {props.headerTitle !== "秦港股份安全监管平台" && (
+
+

+
返回
+
+ )}
+
{props.headerTitle}
+
+
+
+
);
}
diff --git a/src/pages/Container/Map/components/Header/index.less b/src/pages/Container/Map/components/Header/index.less
index 674a0ea..4eb0018 100644
--- a/src/pages/Container/Map/components/Header/index.less
+++ b/src/pages/Container/Map/components/Header/index.less
@@ -1,58 +1,80 @@
.header_container {
- header {
- width: 100%;
- height: 70px;
+ header {
+ width: 100%;
+ height: 70px;
+ background-size: 100% 100%;
+ background-repeat: no-repeat;
+ font-size: 40px;
+ color: #fff;
+ text-align: center;
+ font-weight: bold;
+ position: absolute;
+
+ &.port {
+ padding-top: 10px;
+
+ .back {
background-size: 100% 100%;
background-repeat: no-repeat;
- font-size: 40px;
- color: #fff;
- text-align: center;
- padding-top: 10px;
- font-weight: bold;
+ width: 100px;
+ height: 30px;
position: absolute;
-
- .back {
- background-size: 100% 100%;
- background-repeat: no-repeat;
- width: 100px;
- height: 30px;
- position: absolute;
- top: 0;
- left: 0;
- cursor: pointer;
- }
-
- .title {
- background-image: linear-gradient(to bottom, #5bb4f7, #ffffff);
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent;
- font-size: 34px;
- }
-
- .guang {
- background-size: 100% 100%;
- background-repeat: no-repeat;
- width: 707px;
- height: 85px;
- position: absolute;
- top: 25px;
- left: 50%;
- animation: headerContainerScale 2s infinite;
-
- @keyframes headerContainerScale {
- 0% {
- transform: translateX(-50%) scale(1);
- }
-
- 50% {
- transform: translateX(-50%) scale(0.5);
- }
-
- 100% {
- transform: translateX(-50%) scale(1);
- }
- }
- }
+ top: 0;
+ left: 0;
+ cursor: pointer;
+ }
}
+
+ &.branch_office {
+ .back {
+ position: absolute;
+ top: calc(50% - 15px);
+ left: 30px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ gap: 5px;
+ font-size: 14px;
+ font-weight: normal;
+
+ img {
+ width: 20px;
+ height: 20px;
+ }
+ }
+ }
+
+ .title {
+ background-image: linear-gradient(to bottom, #5bb4f7, #ffffff);
+ -webkit-background-clip: text;
+ background-clip: text;
+ -webkit-text-fill-color: transparent;
+ font-size: 34px;
+ }
+
+ .guang {
+ background-size: 100% 100%;
+ background-repeat: no-repeat;
+ width: 707px;
+ height: 85px;
+ position: absolute;
+ top: 25px;
+ left: 50%;
+ animation: headerContainerScale 2s infinite;
+
+ @keyframes headerContainerScale {
+ 0% {
+ transform: translateX(-50%) scale(1);
+ }
+
+ 50% {
+ transform: translateX(-50%) scale(0.5);
+ }
+
+ 100% {
+ transform: translateX(-50%) scale(1);
+ }
+ }
+ }
+ }
}
diff --git a/src/pages/Container/Map/components/RightUtils/index.js b/src/pages/Container/Map/components/RightUtils/index.js
index 7eae40b..9a2ac1a 100644
--- a/src/pages/Container/Map/components/RightUtils/index.js
+++ b/src/pages/Container/Map/components/RightUtils/index.js
@@ -165,7 +165,10 @@ function RightUtils(props) {
}
-