mirror of
https://github.com/PlayEdu/backend
synced 2025-06-20 08:04:15 +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 styles from "./index.module.less";
|
||||
|
||||
const LoadingPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Spin />
|
||||
</>
|
||||
<div className={styles["loading-parent-box"]}>
|
||||
<Spin size="large" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user