mirror of
https://github.com/PlayEdu/backend
synced 2025-06-08 02:44:10 +08:00
commit
c13bf7ef3c
@ -2,12 +2,16 @@ import React from "react";
|
||||
import { Layout } from "antd";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export const Footer: React.FC = () => {
|
||||
interface PropInterface {
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export const Footer: React.FC<PropInterface> = ({ type }) => {
|
||||
return (
|
||||
<Layout.Footer
|
||||
style={{
|
||||
width: "100%",
|
||||
backgroundColor: "#F6F6F6",
|
||||
background: type === "none" ? "none" : "#F6F6F6",
|
||||
height: 166,
|
||||
paddingTop: 80,
|
||||
textAlign: "center",
|
||||
|
@ -13,6 +13,15 @@
|
||||
height: 640px;
|
||||
}
|
||||
}
|
||||
.footer-box {
|
||||
width: 880px;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-left: -440px;
|
||||
margin-top: 280px;
|
||||
}
|
||||
.login-box {
|
||||
width: 880px;
|
||||
height: 560px;
|
||||
|
@ -13,6 +13,7 @@ import {
|
||||
SystemConfigStoreInterface,
|
||||
saveConfigAction,
|
||||
} from "../../store/system/systemConfigSlice";
|
||||
import { Footer } from "../../compenents/footer";
|
||||
|
||||
const LoginPage = () => {
|
||||
const dispatch = useDispatch();
|
||||
@ -126,6 +127,9 @@ const LoginPage = () => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles["footer-box"]}>
|
||||
<Footer type="none"></Footer>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user