diff --git a/app/layout.tsx b/app/layout.tsx index 35607f6..4f3600b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -60,6 +60,13 @@ export default function RootLayout({ colorBgMask: 'rgba(0, 0, 0, 0.6)', borderRadius: 16, }, + components: { + Message: { + colorBgElevated: '#1f1f1f', // 自定义消息背景色 + colorText: '#ffffff', // 自定义文字颜色 + borderRadius: 8, // 自定义圆角 + }, + }, }} > diff --git a/components/pages/home-page2.tsx b/components/pages/home-page2.tsx index 7a60f52..abbc84f 100644 --- a/components/pages/home-page2.tsx +++ b/components/pages/home-page2.tsx @@ -235,7 +235,13 @@ function HomeModule1() {

router.push("/create")} + onClick={() => { + if(localStorage.getItem('token')){ + router.push("/create") + }else{ + router.push("/login") + } + }} > Early Access