diff --git a/src/assets/svg/login-box-bg.svg b/src/assets/svg/login-box-bg.svg new file mode 100644 index 0000000..ee7dbdc --- /dev/null +++ b/src/assets/svg/login-box-bg.svg @@ -0,0 +1 @@ +responsive \ No newline at end of file diff --git a/src/layouts/Auth/index.tsx b/src/layouts/Auth/index.tsx index f152818..5288ff7 100644 --- a/src/layouts/Auth/index.tsx +++ b/src/layouts/Auth/index.tsx @@ -1,4 +1,5 @@ -import { Outlet } from 'react-router-dom'; +import { Outlet } from 'react-router-dom' +import boxBg from '@/assets/svg/login-box-bg.svg' import classnames from '@pansy/classnames' import styles from './index.module.less' @@ -11,7 +12,17 @@ export const AuthLayout = () => {
- 123 +
+ +
+ + 开箱即用的中后台管理系统 + +
+
{ + return ( +

+ {props.title} +

+ ) +} diff --git a/src/pages/authentication/components/index.ts b/src/pages/authentication/components/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/authentication/login/index.tsx b/src/pages/authentication/login/index.tsx index f186fe3..1247d1f 100644 --- a/src/pages/authentication/login/index.tsx +++ b/src/pages/authentication/login/index.tsx @@ -1,11 +1,10 @@ import { Form, Input, Button } from '@arco-design/web-react' +import { FormTitle } from '../components/FormTitle' const Login = () => { return ( <> -

- 登录 -

+