update一层温度
This commit is contained in:
@@ -2,7 +2,8 @@ import { motion, AnimatePresence } from "framer-motion";
|
||||
import { useRef, useEffect, useMemo, useCallback, useState } from "react";
|
||||
import cls from "../index.module.css";
|
||||
// import SocketContext from '../../../../../store/socket-data-provider';
|
||||
import TemperatureTop from "../../../../Common/TemperatureTop";
|
||||
// import TemperatureTop from "../../../../Common/TemperatureTop";
|
||||
import TemperatureBottom from "../../../../Common/TemperatureBottom";
|
||||
|
||||
function EnterToFloorOne(props) {
|
||||
// const ctx = useContext(SocketContext);
|
||||
@@ -83,14 +84,14 @@ function EnterToFloorOne(props) {
|
||||
transition: { duration: 0.3, delay: 2 },
|
||||
}}
|
||||
></motion.div> */}
|
||||
{/* <TemperatureTop
|
||||
<TemperatureBottom
|
||||
style={{
|
||||
top: "208px",
|
||||
left: "638px",
|
||||
width: "2380px",
|
||||
zIndex: 0,
|
||||
}}
|
||||
/> */}
|
||||
/>
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
|
||||
@@ -3,7 +3,8 @@ 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 TemperatureTop from "../../../../../components/Common/TemperatureTop";
|
||||
// import TemperatureTop from "../../../../../components/Common/TemperatureTop";
|
||||
import TemperatureBottom from "../../../../Common/TemperatureBottom";
|
||||
|
||||
function FloorTwoToOne(props) {
|
||||
const ctx = null;
|
||||
@@ -87,15 +88,17 @@ function FloorTwoToOne(props) {
|
||||
transition: { duration: 0.3, delay: 2 },
|
||||
}}
|
||||
></motion.div> */}
|
||||
|
||||
<TemperatureBottom
|
||||
style={{
|
||||
top: "208px",
|
||||
left: "638px",
|
||||
width: "2380px",
|
||||
zIndex: 0,
|
||||
}}
|
||||
/>
|
||||
</motion.div>
|
||||
)}
|
||||
{/* style={{
|
||||
top: "208px",
|
||||
left: "638px",
|
||||
width: "2380px",
|
||||
zIndex: 0,
|
||||
}} */}
|
||||
{/* <TemperatureTop /> */}
|
||||
</AnimatePresence>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user