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