|
@@ -1,18 +1,17 @@
|
1
|
|
-import React, { useCallback, useEffect, useRef, useState } from 'react';
|
2
|
|
-import { history, Link } from 'umi';
|
3
|
|
-import classNames from 'classnames';
|
4
|
|
-import ScreenHeader from '@/components/ScreenBox/ScreenHeader';
|
|
1
|
+import getWeather from '@/components/AMap/weather';
|
5
|
2
|
import GeoMap from '@/components/GeoMap';
|
6
|
|
-import StatisCard from '@/components/ScreenBox/StatisCard';
|
|
3
|
+import ScreenHeader from '@/components/ScreenBox/ScreenHeader';
|
7
|
4
|
import SquareBox from '@/components/ScreenBox/SquareBox';
|
8
|
|
-import getWeather from '@/components/AMap/weather';
|
9
|
|
-import { useParticlesJs } from './hook';
|
10
|
|
-import MachineryType from './components/MachineryType';
|
|
5
|
+import StatisCard from '@/components/ScreenBox/StatisCard';
|
|
6
|
+import classNames from 'classnames';
|
|
7
|
+import { useEffect, useRef, useState } from 'react';
|
11
|
8
|
import MachineryStatus from './components/MachineryStatus';
|
|
9
|
+import MachineryType from './components/MachineryType';
|
|
10
|
+import { useParticlesJs } from './hook';
|
12
|
11
|
|
13
|
|
-import WorkArea from './components/WorkArea';
|
14
|
|
-import List from './components/List';
|
15
|
12
|
import ColorFont from './components/ColorFont';
|
|
13
|
+import List from './components/List';
|
|
14
|
+import WorkArea from './components/WorkArea';
|
16
|
15
|
import WorkData from './components/WorkData';
|
17
|
16
|
import Styles from './style.less';
|
18
|
17
|
|
|
@@ -197,12 +196,11 @@ export default (props) => {
|
197
|
196
|
</div>
|
198
|
197
|
<div>
|
199
|
198
|
<ColorFont color="#F5CC5C">[幸福人生]</ColorFont> 58分钟前预约了一台收割机,
|
200
|
|
- <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!尽快赶到!
|
|
199
|
+ <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!
|
201
|
200
|
</div>
|
202
|
201
|
<div>
|
203
|
202
|
<ColorFont color="#F5CC5C">[灿烂人生]</ColorFont> 2个小时前预约了一台收割机,
|
204
|
|
- <ColorFont color="#44F68B">[收割机007]</ColorFont>{' '}
|
205
|
|
- 接到了此订单!正在赶往目的地!
|
|
203
|
+ <ColorFont color="#44F68B">[收割机007]</ColorFont> 接到了此订单!
|
206
|
204
|
</div>
|
207
|
205
|
<div>
|
208
|
206
|
<ColorFont color="#F5CC5C">[快乐每一天]</ColorFont> 32s前预约了一台收割机,
|
|
@@ -210,12 +208,11 @@ export default (props) => {
|
210
|
208
|
</div>
|
211
|
209
|
<div>
|
212
|
210
|
<ColorFont color="#F5CC5C">[幸福人生]</ColorFont> 58分钟前预约了一台收割机,
|
213
|
|
- <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!尽快赶到!
|
|
211
|
+ <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!
|
214
|
212
|
</div>
|
215
|
213
|
<div>
|
216
|
214
|
<ColorFont color="#F5CC5C">[灿烂人生]</ColorFont> 2个小时前预约了一台收割机,
|
217
|
|
- <ColorFont color="#44F68B">[收割机007]</ColorFont>{' '}
|
218
|
|
- 接到了此订单!正在赶往目的地!
|
|
215
|
+ <ColorFont color="#44F68B">[收割机007]</ColorFont> 接到了此订单!
|
219
|
216
|
</div>
|
220
|
217
|
</List>
|
221
|
218
|
</div>
|
|
@@ -224,15 +221,15 @@ export default (props) => {
|
224
|
221
|
<List title="作业订单" color="green">
|
225
|
222
|
<div>
|
226
|
223
|
<ColorFont color="#44F68B">[收割机001]</ColorFont>
|
227
|
|
- 32s前接到了一个订单,距离目的地还有3.2公里,请农户耐心等待!
|
|
224
|
+ 32s前接到了一个订单,距离目的地还有3.2公里。
|
228
|
225
|
</div>
|
229
|
226
|
<div>
|
230
|
227
|
<ColorFont color="#44F68B">[播种机008]</ColorFont>{' '}
|
231
|
|
- 2分钟前接到一个订单,距离目的地还有3.8公里,请农户耐心等待!
|
|
228
|
+ 2分钟前接到一个订单,距离目的地还有3.8公里。
|
232
|
229
|
</div>
|
233
|
230
|
<div>
|
234
|
231
|
<ColorFont color="#44F68B">[收割机007]</ColorFont>{' '}
|
235
|
|
- 2个小时前接到一个订单,距离目的地还有3.8公里,请农户耐心等待!
|
|
232
|
+ 2个小时前接到一个订单,距离目的地还有3.8公里。
|
236
|
233
|
</div>
|
237
|
234
|
</List>
|
238
|
235
|
</div>
|