perf: style

This commit is contained in:
archer
2023-05-11 21:19:43 +08:00
parent 3e4b165ed9
commit 39f9080eb2
8 changed files with 203 additions and 44 deletions

View File

@@ -35,7 +35,10 @@ const Layout = ({ children, isPcDevice }: { children: JSX.Element; isPcDevice: b
return (
<>
<Box h={'100%'} bg={'gray.100'}>
<Box
h={'100%'}
bgGradient={'linear(to-t,rgba(173, 206, 255, 0.05) 0%, rgba(173, 206, 255, 0.12) 100%)'}
>
{isPc ? (
pcUnShowLayoutRoute[router.pathname] ? (
<Auth>{children}</Auth>