diff --git a/src/pages/loading/index.module.less b/src/pages/loading/index.module.less new file mode 100644 index 0000000..0ada21a --- /dev/null +++ b/src/pages/loading/index.module.less @@ -0,0 +1,6 @@ +.loading-parent-box { + width: 100vd; + height: 100vh; + text-align: center; + line-height: 100vh; +} diff --git a/src/pages/loading/index.tsx b/src/pages/loading/index.tsx index df80a52..58a90d9 100644 --- a/src/pages/loading/index.tsx +++ b/src/pages/loading/index.tsx @@ -1,10 +1,11 @@ import { Spin } from "antd"; +import styles from "./index.module.less"; const LoadingPage = () => { return ( - <> - - +
+ +
); };