浏览代码

style: 修改背景色和footer字体颜色

xyh 2 年之前
父节点
当前提交
9a4a454b8f

+ 1 - 1
packages/app/src/components/footer/index.module.css

@@ -10,5 +10,5 @@
 .footer {
   padding: 0 50px 24px !important;
   margin-top: auto;
-  background-color: #fff !important;
+  background-color: #f5f5f5 !important;
 }

+ 1 - 1
packages/app/src/components/table-search-provider/index.tsx

@@ -20,7 +20,7 @@ function TableSearchProvider<T extends Record<string, unknown>>({
   return (
     <Auth>
       <Provider value={value}>{children}</Provider>
-      <Footer color='#bbb' />
+      <Footer color='#333' />
     </Auth>
   );
 }

+ 1 - 1
packages/app/src/pages/home/main/tab-panel/index.module.css

@@ -1,7 +1,7 @@
 .iframe {
   width: 100%;
   height: 100%;
-  background-color: #fff;
+  background-color: #f5f5f5;
   border: unset;
 }
 

+ 20 - 16
packages/app/src/pages/main/index.tsx

@@ -4,25 +4,29 @@ import {Col, Row, Space} from 'antd';
 import RawChart from './raw';
 import FinishChart from './finish';
 import DatePanel from './date';
+import {Footer} from '@components';
 
 const Main: FC = function () {
   return (
-    <section className='content-main'>
-      <Space direction='vertical' className='width-full'>
-        <Group />
-        <Row gutter={12}>
-          <Col span={15}>
-            <Space direction='vertical' className='width-full'>
-              <RawChart />
-              <FinishChart />
-            </Space>
-          </Col>
-          <Col span={9}>
-            <DatePanel />
-          </Col>
-        </Row>
-      </Space>
-    </section>
+    <>
+      <section className='content-main'>
+        <Space direction='vertical' className='width-full'>
+          <Group />
+          <Row gutter={12}>
+            <Col span={15}>
+              <Space direction='vertical' className='width-full'>
+                <RawChart />
+                <FinishChart />
+              </Space>
+            </Col>
+            <Col span={9}>
+              <DatePanel />
+            </Col>
+          </Row>
+        </Space>
+      </section>
+      <Footer />
+    </>
   );
 };