From a4ef35bb323b5f8300f15a4eb604d61ff39a194a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 17 十二月 2020 17:35:39 +0800
Subject: [PATCH] 2020-12-17

---
 src/tabviews/home/index.jsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/home/index.jsx b/src/tabviews/home/index.jsx
index 6104d7a..26fbcd0 100644
--- a/src/tabviews/home/index.jsx
+++ b/src/tabviews/home/index.jsx
@@ -16,6 +16,7 @@
 
   state = {
     loading: true,
+    background: sessionStorage.getItem('home_background'),
     view: ''
   }
 
@@ -56,10 +57,10 @@
   }
 
   render() {
-    const { loading, view } = this.state
+    const { loading, view, background } = this.state
 
     if (loading) {
-      return (<Spin className="home-box-spin" size="large" />)
+      return (<div className="home-loading-view" style={{background: background}}><Spin className="home-box-spin" size="large" /></div>)
     } else if (view === 'custom') {
       return (<CustomPage MenuID={this.props.MenuID}/>)
     } else {

--
Gitblit v1.8.0