|
|
@@ -13,6 +13,7 @@ import QualityCheckRight from "../../components/Modules/QualityCheck/RightSide"; |
|
|
|
import { useSelector } from "react-redux"; |
|
|
|
import { useEffect, useRef } from "react"; |
|
|
|
import useRefresh from "../../hooks/useRefresh"; |
|
|
|
import TimeFireDir from "../../components/Common/TimeFireDir"; |
|
|
|
|
|
|
|
import WarnAlert from "../../components/Common/WarnAlert"; |
|
|
|
|
|
|
@@ -35,7 +36,11 @@ export default function Home({ active }) { |
|
|
|
|
|
|
|
return ( |
|
|
|
<div className="Main"> |
|
|
|
{active == "窑炉总览" && <WarnAlert />} |
|
|
|
{active == "窑炉总览" && ( |
|
|
|
<div style={{ position: "fixed", top: "210px", left: "50%", transform: 'translateX(-40%)' }}> |
|
|
|
<TimeFireDir /> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
{active != "窑炉总览" && <div className="bgDitu"></div>} |
|
|
|
{active == "窑炉总览" && <div className="bgOverview"></div>} |
|
|
|
<AnimatePresence mode="wait"> |
|
|
|