优化页面样式

This commit is contained in:
yezian 2024-12-19 19:35:26 +08:00
parent db0ecbb4d3
commit 5597c3e0b1
3 changed files with 20 additions and 6 deletions

View File

@ -2,7 +2,6 @@
import React, { useState, useEffect } from "react";
import { useRouter } from "next/navigation";
import InOtherApp from "@/components/InOtherApp";
export default function Zone({ params }) {
const router = useRouter();
@ -26,8 +25,16 @@ export default function Zone({ params }) {
}, []);
return (
<section className="flex flex-col flex-1">
{isInOtherApp && <InOtherApp />}
<section className="flex flex-col flex-1 bg-white z-30">
{isInOtherApp && (
<div className="p-4">
<img
className="w-full"
src={process.env.NEXT_PUBLIC_CDN_URL + "/public/images/escape.png"}
alt=""
/>
</div>
)}
</section>
);
}

View File

@ -2,7 +2,6 @@
import React, { useState, useEffect } from "react";
import { useRouter } from "next/navigation";
import InOtherApp from "@/components/InOtherApp";
export default function Zone({ params }) {
const router = useRouter();
@ -26,8 +25,16 @@ export default function Zone({ params }) {
}, []);
return (
<section className="flex flex-col flex-1">
{isInOtherApp && <InOtherApp />}
<section className="flex flex-col flex-1 bg-white z-30">
{isInOtherApp && (
<div className="p-4">
<img
className="w-full"
src={process.env.NEXT_PUBLIC_CDN_URL + "/public/images/escape.png"}
alt=""
/>
</div>
)}
</section>
);
}

BIN
public/images/escape.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB