[baozhangchao] 3 years ago
parent
commit
732e686170

+ 0
- 2
src/components/ScreenBox/SquareBox/style.less View File

1
 .SquareBox-box {
1
 .SquareBox-box {
2
   position: relative;
2
   position: relative;
3
-  display: inline-block;
4
-  margin: 20px;
5
 }
3
 }
6
 .SquareBox-body {
4
 .SquareBox-body {
7
   color: #fff;
5
   color: #fff;

+ 1
- 11
src/pages/MonitoringScreen/DateCommponets.jsx View File

8
 
8
 
9
 export default (props) => {
9
 export default (props) => {
10
 
10
 
11
-
12
-  const style = {
13
-    bgd: {
14
-      color: 'rgba(0,0,0,.25)',
15
-      height: '100vh',
16
-      // backgroundImage: `url(${ba})`,
17
-      backgroundSize: '100%,100%',
18
-      padding: '5em 10em'
19
-    }
20
-  }
21
   const data = [
11
   const data = [
22
     {
12
     {
23
       year: '收割机',
13
       year: '收割机',
45
   };
35
   };
46
 
36
 
47
   return (
37
   return (
48
-    <div style={style.bgd} >
38
+    <div  >
49
       <TitleBox value='农机类型统计' />
39
       <TitleBox value='农机类型统计' />
50
       <SquareBox>
40
       <SquareBox>
51
         <Bar  {...config} />
41
         <Bar  {...config} />