From bb81361be9b81c29f6a1a736c981085da997f762 Mon Sep 17 00:00:00 2001 From: none Date: Thu, 23 Mar 2023 17:39:47 +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.less | 6 ++++++ src/pages/loading/index.tsx | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 src/pages/loading/index.module.less 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 ( - <> - - +
+ +
); };