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