fix: 修复登录背景图片异常的bug

pull/81/head
moonrailgun 3 years ago
parent c4cfc7d154
commit 3a19fed9c4

@ -16,7 +16,7 @@ const EntryRoute = React.memo(() => {
<div <div
className={clsx( className={clsx(
styles.entryLeft, styles.entryLeft,
'entry-left w-142 sm:w-full pt-40 px-4 bg-gray-600 min-h-full flex justify-center bg-repeat-y' 'entry-left w-142 sm:w-full pt-40 px-4 bg-gray-600 min-h-full flex justify-center bg-repeat-y z-10'
)} )}
style={{ backgroundImage: `url(${loginPatternUrl})` }} style={{ backgroundImage: `url(${loginPatternUrl})` }}
> >
@ -27,7 +27,8 @@ const EntryRoute = React.memo(() => {
<Redirect to="/entry/login" /> <Redirect to="/entry/login" />
</Switch> </Switch>
</div> </div>
<div className="flex-1 sm:hidden tc-background -z-1" />
<div className="flex-1 sm:hidden tc-background" />
</div> </div>
); );
}); });

Loading…
Cancel
Save