公用底部导入

This commit is contained in:
禺狨
2023-03-24 14:25:43 +08:00
parent 084a0652c6
commit fb98e0986a
9 changed files with 44 additions and 8 deletions

View File

@@ -6,10 +6,9 @@ export const Footer: React.FC = () => {
<Layout.Footer
style={{
width: "100%",
backgroundColor: "#ffffff",
height: 130,
backgroundColor: "#333333",
height: 90,
textAlign: "center",
paddingBottom: 100,
}}
>
<i

View File

@@ -1,3 +1,4 @@
export * from "./footer";
export * from "./no-footer";
export * from "./no-header";
export * from "./header";
export * from "./header";

View File

@@ -0,0 +1,21 @@
import React from "react";
import { Layout } from "antd";
export const NoFooter: React.FC = () => {
return (
<Layout.Footer
style={{
width: "100%",
backgroundColor: "#ffffff",
height: 130,
textAlign: "center",
paddingBottom: 100,
}}
>
<i
style={{ fontSize: 30, color: "#cccccc" }}
className="iconfont icon-waterprint"
></i>
</Layout.Footer>
);
};