2 Commits

3 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="zh-CN"> <html lang="zh-CN">
<body className="bg-gray-50 text-gray-900 antialiased">{children}</body> <body className="antialiased">{children}</body>
</html> </html>
); );
} }

View File

@@ -64,7 +64,7 @@ function ResultContent() {
if (loading) { if (loading) {
return ( return (
<div className="flex min-h-screen items-center justify-center"> <div className="flex min-h-screen items-center justify-center bg-slate-50">
<div className="text-gray-500">...</div> <div className="text-gray-500">...</div>
</div> </div>
); );
@@ -73,7 +73,7 @@ function ResultContent() {
const isPending = status === 'PENDING'; const isPending = status === 'PENDING';
return ( return (
<div className="flex min-h-screen items-center justify-center p-4"> <div className="flex min-h-screen items-center justify-center bg-slate-50 p-4">
<div className="w-full max-w-md rounded-xl bg-white p-8 text-center shadow-lg"> <div className="w-full max-w-md rounded-xl bg-white p-8 text-center shadow-lg">
{isSuccess ? ( {isSuccess ? (
<> <>
@@ -147,7 +147,7 @@ export default function PayResultPage() {
return ( return (
<Suspense <Suspense
fallback={ fallback={
<div className="flex min-h-screen items-center justify-center"> <div className="flex min-h-screen items-center justify-center bg-slate-50">
<div className="text-gray-500">...</div> <div className="text-gray-500">...</div>
</div> </div>
} }

View File

@@ -25,7 +25,7 @@ export default function PayPageLayout({
<div <div
className={[ className={[
'relative w-full overflow-hidden', 'relative w-full overflow-hidden',
isEmbedded ? 'p-2' : 'min-h-screen p-3 sm:p-4', isEmbedded ? 'min-h-screen p-2' : 'min-h-screen p-3 sm:p-4',
isDark ? 'bg-slate-950 text-slate-100' : 'bg-slate-100 text-slate-900', isDark ? 'bg-slate-950 text-slate-100' : 'bg-slate-100 text-slate-900',
].join(' ')} ].join(' ')}
> >