master
parent
5d1747b35b
commit
0619dcb940
|
|
@ -1,15 +1,13 @@
|
||||||
import { useMount } from "ahooks";
|
import { useMount } from "ahooks";
|
||||||
import { useContext, useState } from "react";
|
import { useContext, useState } from "react";
|
||||||
import { CSSTransition } from "react-transition-group";
|
import { CSSTransition } from "react-transition-group";
|
||||||
|
import guangImg from "~/assets/images/map_bi/guang.png";
|
||||||
import backImg from "~/assets/images/public/bigScreen/back.png";
|
import backImg from "~/assets/images/public/bigScreen/back.png";
|
||||||
import imgOk from "~/assets/images/public/bigScreen/imgok.png";
|
import imgOk from "~/assets/images/public/bigScreen/imgok.png";
|
||||||
import guangImg from "~/assets/images/map_bi/guang.png";
|
|
||||||
import topImg from "~/assets/images/public/bigScreen/title.png";
|
import topImg from "~/assets/images/public/bigScreen/title.png";
|
||||||
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 {
|
import {
|
||||||
changeBottomUtilsAnimationMittKey,
|
|
||||||
changeContentAnimationKeyMittKey,
|
|
||||||
changePeopleTrajectorySelectVisibleMittKey,
|
changePeopleTrajectorySelectVisibleMittKey,
|
||||||
clickBackMittKey,
|
clickBackMittKey,
|
||||||
clickBranchOfficePointMittKey,
|
clickBranchOfficePointMittKey,
|
||||||
|
|
@ -60,12 +58,10 @@ function Header() {
|
||||||
mapMethods.current.flyTo();
|
mapMethods.current.flyTo();
|
||||||
mapMethods.current.addPortPoint();
|
mapMethods.current.addPortPoint();
|
||||||
}
|
}
|
||||||
mitt.emit(changeBottomUtilsAnimationMittKey);
|
|
||||||
mitt.emit(initBottomUtilsMittKey);
|
mitt.emit(initBottomUtilsMittKey);
|
||||||
mitt.emit(resetBottomCurrentIndexMittKey);
|
mitt.emit(resetBottomCurrentIndexMittKey);
|
||||||
mitt.emit(resetAllBottomUtilsCheckMittKey);
|
mitt.emit(resetAllBottomUtilsCheckMittKey);
|
||||||
mitt.emit(clickBackMittKey);
|
mitt.emit(clickBackMittKey);
|
||||||
mitt.emit(changeContentAnimationKeyMittKey);
|
|
||||||
mitt.emit(changePeopleTrajectorySelectVisibleMittKey, false);
|
mitt.emit(changePeopleTrajectorySelectVisibleMittKey, false);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -99,10 +95,20 @@ function Header() {
|
||||||
<div
|
<div
|
||||||
className="back"
|
className="back"
|
||||||
onClick={onBack}
|
onClick={onBack}
|
||||||
> <img src={backImg} alt="返回" /> 返回</div>
|
>
|
||||||
|
{" "}
|
||||||
|
<img src={backImg} alt="返回" />
|
||||||
|
{" "}
|
||||||
|
返回
|
||||||
|
</div>
|
||||||
<div className="title">秦港股份安全监管平台</div>
|
<div className="title">秦港股份安全监管平台</div>
|
||||||
<div style={{ backgroundImage: `url(${guangImg})` }} className="guang" />
|
<div style={{ backgroundImage: `url(${guangImg})` }} className="guang" />
|
||||||
<div className="time"> <img src={imgOk} /> 企业已连续平安运行 1095 天</div>
|
<div className="time">
|
||||||
|
{" "}
|
||||||
|
<img src={imgOk} />
|
||||||
|
{" "}
|
||||||
|
企业已连续平安运行 1095 天
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
</CSSTransition>
|
</CSSTransition>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue