Browse Source

fire and kiln inner

master
lb 7 months ago
parent
commit
c9ccc6ebcb
3 changed files with 11 additions and 12 deletions
  1. +1
    -1
      src/App.js
  2. +5
    -5
      src/components/Modules/KilnInner/Center/videoComponents/Floor1To2.jsx
  3. +5
    -6
      src/components/Modules/KilnInner/Center/videoComponents/Floor2To1.jsx

+ 1
- 1
src/App.js View File

@@ -46,7 +46,7 @@ function App() {
className="lunbo-setting" className="lunbo-setting"
style={{ style={{
position: "fixed", position: "fixed",
top: "64px",
top: "48px",
right: "680px", right: "680px",
display: "flex", display: "flex",
alignItems: "center", alignItems: "center",


+ 5
- 5
src/components/Modules/KilnInner/Center/videoComponents/Floor1To2.jsx View File

@@ -36,8 +36,8 @@ function FloorOneToTwo(props) {
className="video-wrapper" className="video-wrapper"
style={{ style={{
position: "fixed", position: "fixed",
top: "7px",
left: "50px",
top: "0px",
left: "0px",
width: "calc(100% - 50px)", width: "calc(100% - 50px)",
height: "calc(100% - 7px)", height: "calc(100% - 7px)",
zIndex: -998, zIndex: -998,
@@ -51,14 +51,14 @@ function FloorOneToTwo(props) {
<source src="/video/1to2.webm" type="video/mp4" /> <source src="/video/1to2.webm" type="video/mp4" />
</video> </video>


{/* {fireCanPlay && fireDir == "东火" && (
{fireCanPlay && fireDir == "东火" && (
<video <video
src="/video/fire_top.webm" src="/video/fire_top.webm"
muted muted
autoPlay autoPlay
loop loop
width={3700} width={3700}
style={{ position: "absolute", top: "18px", left: "56px" }}
style={{ position: "absolute", top: "18px", left: "72px" }}
></video> ></video>
)} )}
{fireCanPlay && fireDir == "西火" && ( {fireCanPlay && fireDir == "西火" && (
@@ -71,7 +71,7 @@ function FloorOneToTwo(props) {
width={3780} width={3780}
style={{ position: "absolute", top: "-24px", left: "12px" }} style={{ position: "absolute", top: "-24px", left: "12px" }}
></video> ></video>
)} */}
)}


<TemperatureBottom <TemperatureBottom
style={{ style={{


+ 5
- 6
src/components/Modules/KilnInner/Center/videoComponents/Floor2To1.jsx View File

@@ -35,8 +35,8 @@ function FloorTwoToOne(props) {
className="video-wrapper" className="video-wrapper"
style={{ style={{
position: "fixed", position: "fixed",
top: "7px",
left: "50px",
top: "0px",
left: "0px",
width: "calc(100% - 50px)", width: "calc(100% - 50px)",
height: "calc(100% - 7px)", height: "calc(100% - 7px)",
zIndex: -998, zIndex: -998,
@@ -58,7 +58,7 @@ function FloorTwoToOne(props) {
autoPlay autoPlay
loop loop
width={3800} width={3800}
style={{ position: "absolute", top: "10px", left: "-26px" }}
style={{ position: "absolute", top: "10px", left: "0px" }}
></video> ></video>
)} )}
{fireCanPlay && fireDir == "西火" && ( {fireCanPlay && fireDir == "西火" && (
@@ -69,15 +69,14 @@ function FloorTwoToOne(props) {
autoPlay autoPlay
loop loop
width={3800} width={3800}
style={{ position: "absolute", top: "-12px", left: "-26px" }}
style={{ position: "absolute", top: "-12px", left: "-10px" }}
></video> ></video>
)} )}


<TemperatureTop <TemperatureTop
style={{ style={{
top: "200px", top: "200px",
// left: "628px",
left: "660px",
left: "652px",
width: "2380px", width: "2380px",
zIndex: 0, zIndex: 0,
}} }}


Loading…
Cancel
Save