update WarnAlert

This commit is contained in:
lb
2024-04-19 17:03:43 +08:00
parent 9f7652d9f3
commit 9894aeca50
4 changed files with 34 additions and 7 deletions

View File

@@ -36,8 +36,16 @@ export default function Home({ active }) {
return (
<div className="Main">
<WarnAlert x={800} y={200} />
{active == "窑炉总览" && (
<div style={{ position: "fixed", top: "210px", left: "50%", transform: 'translateX(-40%)' }}>
<div
style={{
position: "fixed",
top: "210px",
left: "50%",
transform: "translateX(-40%)",
}}
>
<TimeFireDir />
</div>
)}