forked from 77media/video-flow
修复问题
This commit is contained in:
parent
e2d16d0f10
commit
041ed20cc3
@ -60,6 +60,13 @@ export default function RootLayout({
|
|||||||
colorBgMask: 'rgba(0, 0, 0, 0.6)',
|
colorBgMask: 'rgba(0, 0, 0, 0.6)',
|
||||||
borderRadius: 16,
|
borderRadius: 16,
|
||||||
},
|
},
|
||||||
|
components: {
|
||||||
|
Message: {
|
||||||
|
colorBgElevated: '#1f1f1f', // 自定义消息背景色
|
||||||
|
colorText: '#ffffff', // 自定义文字颜色
|
||||||
|
borderRadius: 8, // 自定义圆角
|
||||||
|
},
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<CallbackModalContext.Provider value={{ setShowCallbackModal }}>
|
<CallbackModalContext.Provider value={{ setShowCallbackModal }}>
|
||||||
|
|||||||
@ -235,7 +235,13 @@ function HomeModule1() {
|
|||||||
</p>
|
</p>
|
||||||
<div
|
<div
|
||||||
className="w-[11.5rem] h-[3.75rem] mt-[4rem] text-base flex justify-center items-center font-normal border border-white rounded-full bg-white/30 cursor-pointer"
|
className="w-[11.5rem] h-[3.75rem] mt-[4rem] text-base flex justify-center items-center font-normal border border-white rounded-full bg-white/30 cursor-pointer"
|
||||||
onClick={() => router.push("/create")}
|
onClick={() => {
|
||||||
|
if(localStorage.getItem('token')){
|
||||||
|
router.push("/create")
|
||||||
|
}else{
|
||||||
|
router.push("/login")
|
||||||
|
}
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
Early Access
|
Early Access
|
||||||
<CircleArrowRight className="ml-[1rem]" />
|
<CircleArrowRight className="ml-[1rem]" />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user