优化页面样式
This commit is contained in:
parent
db0ecbb4d3
commit
5597c3e0b1
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import InOtherApp from "@/components/InOtherApp";
|
|
||||||
|
|
||||||
export default function Zone({ params }) {
|
export default function Zone({ params }) {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -26,8 +25,16 @@ export default function Zone({ params }) {
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="flex flex-col flex-1">
|
<section className="flex flex-col flex-1 bg-white z-30">
|
||||||
{isInOtherApp && <InOtherApp />}
|
{isInOtherApp && (
|
||||||
|
<div className="p-4">
|
||||||
|
<img
|
||||||
|
className="w-full"
|
||||||
|
src={process.env.NEXT_PUBLIC_CDN_URL + "/public/images/escape.png"}
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import InOtherApp from "@/components/InOtherApp";
|
|
||||||
|
|
||||||
export default function Zone({ params }) {
|
export default function Zone({ params }) {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -26,8 +25,16 @@ export default function Zone({ params }) {
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="flex flex-col flex-1">
|
<section className="flex flex-col flex-1 bg-white z-30">
|
||||||
{isInOtherApp && <InOtherApp />}
|
{isInOtherApp && (
|
||||||
|
<div className="p-4">
|
||||||
|
<img
|
||||||
|
className="w-full"
|
||||||
|
src={process.env.NEXT_PUBLIC_CDN_URL + "/public/images/escape.png"}
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
Loading…
Reference in New Issue