Skip to content

Commit

Permalink
🐞 fix:修复background
Browse files Browse the repository at this point in the history
  • Loading branch information
eleliauk committed Oct 17, 2024
1 parent ed5f183 commit b735bac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Binary file added src/common/assets/img/login/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions src/modules/login/components/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import { Image, View } from '@tarojs/components';
import { memo } from 'react';

import TopBackground from '@/common/assets/img/login/top_background.png';
import TopBackground from '@/common/assets/img/login/background.png';

import AuthForm from './AuthForm';

const Login: React.FC = memo(() => (
<View className="h-screen w-full">
<Image
src={TopBackground as string}
className="relative left-[-3vh] top-[-13vh] h-[50vh] w-[120%]"
></Image>
<Image src={TopBackground as string} className="relative w-[100%]"></Image>
<AuthForm />
</View>
));
Expand Down
2 changes: 1 addition & 1 deletion src/modules/notification/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const Notification: React.FC = memo(() => {
}, [tab]);

return (
<View className="flex h-screen w-full flex-col items-center gap-4 overflow-y-scroll px-4 pb-[13vh] pt-2">
<View className="flex h-screen w-full flex-col items-center gap-4 overflow-y-scroll pb-[13vh]">
<TabBar tab={tab} setTab={setTab} />
<VirtualList
height="100%"
Expand Down

0 comments on commit b735bac

Please sign in to comment.