mirror of
https://github.com/PlayEdu/backend
synced 2025-06-20 17:22:47 +08:00
优化初次加载loading
This commit is contained in:
parent
6b047fabbf
commit
bb81361be9
6
src/pages/loading/index.module.less
Normal file
6
src/pages/loading/index.module.less
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.loading-parent-box {
|
||||||
|
width: 100vd;
|
||||||
|
height: 100vh;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 100vh;
|
||||||
|
}
|
@ -1,10 +1,11 @@
|
|||||||
import { Spin } from "antd";
|
import { Spin } from "antd";
|
||||||
|
import styles from "./index.module.less";
|
||||||
|
|
||||||
const LoadingPage = () => {
|
const LoadingPage = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<div className={styles["loading-parent-box"]}>
|
||||||
<Spin />
|
<Spin size="large" />
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user