Merge pull request !13 from 白书科技/fix/0926
This commit is contained in:
白书科技 2023-09-26 13:43:37 +00:00 committed by Gitee
commit c13bf7ef3c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 19 additions and 2 deletions

View File

@ -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",

View File

@ -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;

View File

@ -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>
);
};