update 一层温度

This commit is contained in:
lb
2023-12-01 13:59:53 +08:00
parent b601e9065a
commit 04a15dc14c
5 changed files with 76 additions and 30 deletions

View File

@@ -2,11 +2,10 @@ import { motion, AnimatePresence } from "framer-motion";
import { useRef, useEffect, useMemo, useState } from "react";
import cls from "../index.module.css";
// import SocketContext from '../../../../../store/socket-data-provider';
import { useContext } from "react";
// import { useContext } from "react";
import TemperatureTop from "../../../../../components/Common/TemperatureTop";
function FloorTwoToOne(props) {
// const ctx = useContext(SocketContext);
const ctx = null;
const fireDir = ctx?.runState?.fireDirection || null;
@@ -75,7 +74,7 @@ function FloorTwoToOne(props) {
></video>
)}
<motion.div
{/* <motion.div
className={cls.videoLayer1}
key="eto1div"
style={{
@@ -87,7 +86,15 @@ function FloorTwoToOne(props) {
opacity: [0, 0, 0, 0.6, 1],
transition: { duration: 0.3, delay: 2 },
}}
></motion.div>
></motion.div> */}
<TemperatureTop
style={{
top: "208px",
left: "638px",
width: "2380px",
zIndex: 0
}}
/>
</motion.div>
)}
</AnimatePresence>