From 7b95339b0a45354903208117464ac10976f15538 Mon Sep 17 00:00:00 2001 From: none Date: Wed, 29 Mar 2023 14:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=9D=E6=AC=A1=E5=8A=A0?= =?UTF-8?q?=E8=BD=BDloading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/loading/index.module.scss | 10 ++++++++++ src/pages/loading/index.tsx | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 src/pages/loading/index.module.scss diff --git a/src/pages/loading/index.module.scss b/src/pages/loading/index.module.scss new file mode 100644 index 0000000..1b38194 --- /dev/null +++ b/src/pages/loading/index.module.scss @@ -0,0 +1,10 @@ +.loadingBox { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 99; + text-align: center; + line-height: 100vh; +} diff --git a/src/pages/loading/index.tsx b/src/pages/loading/index.tsx index df80a52..1246bec 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.scss"; const LoadingPage = () => { return ( - <> +
- +
); };