From 12b8f250c082356e776238747ba11623ed12e738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Tue, 6 Sep 2022 17:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AF=B9=E6=AF=94=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.css | 38 ------ src/App.js | 7 +- src/charts/DatePickerCharts.js | 21 ++-- src/charts/GroupSelect.js | 19 +-- src/charts/MobileDeal.js | 108 +++------------- src/charts/OrdersTempTable.js | 142 ++++----------------- src/charts/SiteSelect.js | 16 +-- src/config.js | 2 +- src/logo.svg | 1 - src/stores/DashboardStore.js | 205 +++++++++++++++++++++++++++++- src/stores/DatePickerStore.js | 1 - src/stores/OrdersStore.js | 220 ++++++++++++++++++++++----------- src/views/Orders.js | 33 +++-- 13 files changed, 437 insertions(+), 376 deletions(-) delete mode 100644 src/logo.svg diff --git a/src/App.css b/src/App.css index e1e90d6..b562508 100644 --- a/src/App.css +++ b/src/App.css @@ -1,39 +1 @@ @import '~antd/dist/antd.css'; -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/src/App.js b/src/App.js index 83bae51..d87dcd7 100644 --- a/src/App.js +++ b/src/App.js @@ -12,8 +12,7 @@ import Home from "./views/Home" import Dashboard from "./views/Dashboard" import Orders from "./views/Orders" import Logo from './logo.png' -import SiteSelect from './charts/SiteSelect'; -import moment from "moment"; + class App extends Component { @@ -61,9 +60,9 @@ class App extends Component { minHeight: 480, }}> - }/> + }/> }/> - }/> + }/>