yuzipei 1 개월 전
부모
커밋
81beef022c
9개의 변경된 파일354개의 추가작업 그리고 251개의 파일을 삭제
  1. 1 1
      config/webpack.common.js
  2. 1 0
      src/assets/css/styleTemplate.less
  3. 24 24
      src/pages/gvc/api.js
  4. 24 24
      src/pages/gvc/api2.js
  5. 243 134
      src/pages/gvc/style.less
  6. 20 27
      src/pages/gvc/view.jsx
  7. 1 1
      src/pages/sial/style.less
  8. 20 20
      src/pages/tqcDataVHome/api.js
  9. 20 20
      src/pages/tqcDataVHome/api3.js

+ 1 - 1
config/webpack.common.js

@@ -72,7 +72,7 @@ module.exports = {
72 72
           loader: "url-loader",
73 73
           options: /* 加载器相关的配置项 */ {
74 74
             name: 'static/[name].[ext]',
75
-            limit: /* <=limit的图片转换成base64 */ 0,
75
+            limit: /* <=limit的图片转换成base64 */ 10000,
76 76
             mimetype: "image/jpg|image|gif/png|image/ico",
77 77
             fallback: 'file-loader',
78 78
             publicPath: '../../' //采用根路径

+ 1 - 0
src/assets/css/styleTemplate.less

@@ -413,6 +413,7 @@
413 413
       justify-content: center;
414 414
       flex-wrap: wrap;
415 415
       pointer-events: none;
416
+      z-index: 1;
416 417
 
417 418
       video {
418 419
         width: 40%;

+ 24 - 24
src/pages/gvc/api.js

@@ -11,10 +11,10 @@ export function checkToken(params) {
11 11
 /**各基地库存明细 */
12 12
 export function smallMaterialService(params) {
13 13
   return request({
14
-    url: "/dataengine-center-oneservice/list/1431155205925726276",
14
+    url: "/dataengine-center-oneservice/list/1358057393917040084",
15 15
     method: "POST",
16 16
     data: {
17
-      "apiId": "1431155205925726276",
17
+      "apiId": "1358057393917040084",
18 18
       "appKey": "200000135",
19 19
       "env": "PROD",
20 20
       "reqProtocol": 1,
@@ -30,10 +30,10 @@ export function smallMaterialService(params) {
30 30
       "useResultCache": false
31 31
     },
32 32
     headers: {
33
-      sign: '5de9f29632bf379f46b1a0d1c5a85112',
33
+      sign: 'fdb551d8c6a01d87c58970d519752d81',
34 34
       account: 'yunxi_fuxue',
35 35
       'Cache-Control': 'no-cache',
36
-      apiId: '1431155205925726276',
36
+      apiId: '1358057393917040084',
37 37
       appKey: '200000135',
38 38
       execType: '3',
39 39
       env: 'PROD',
@@ -45,10 +45,10 @@ export function smallMaterialService(params) {
45 45
 /**各基地日,月累计,年累计产量 */
46 46
 export function smallDayService(params) {
47 47
   return request({
48
-    url: "/dataengine-center-oneservice/list/1431155399122708561",
48
+    url: "/dataengine-center-oneservice/list/1358059456248976873",
49 49
     method: "POST",
50 50
     data: {
51
-      "apiId": "1431155399122708561",
51
+      "apiId": "1358059456248976873",
52 52
       "appKey": "200000135",
53 53
       "env": "PROD",
54 54
       "reqProtocol": 1,
@@ -63,10 +63,10 @@ export function smallDayService(params) {
63 63
       "useResultCache": false
64 64
     },
65 65
     headers: {
66
-      sign: 'df5c9e31ae6544ae9561c2d2a9f89702',
66
+      sign: '5f270b133af668b3631fbe7dbff9ebe4',
67 67
       account: 'yunxi_fuxue',
68 68
       'Cache-Control': 'no-cache',
69
-      apiId: '1431155399122708561',
69
+      apiId: '1358059456248976873',
70 70
       appKey: '200000135',
71 71
       execType: '3',
72 72
       env: 'PROD',
@@ -78,10 +78,10 @@ export function smallDayService(params) {
78 78
 /**左侧数据*/
79 79
 export function leftService(params) {
80 80
   return request({
81
-    url: "/dataengine-center-oneservice/list/1431155462568896598",
81
+    url: "/dataengine-center-oneservice/list/1357592107129541992",
82 82
     method: "POST",
83 83
     data: {
84
-      "apiId": "1431155462568896598",
84
+      "apiId": "1357592107129541992",
85 85
       "appKey": "200000135",
86 86
       "env": "PROD",
87 87
       "reqProtocol": 1,
@@ -95,10 +95,10 @@ export function leftService(params) {
95 95
       "useResultCache": false
96 96
     },
97 97
     headers: {
98
-      sign: 'a1288953bd76d9f0b202280c84062f60',
98
+      sign: '2d35f0b798fe2cc8443f95aed6da466a',
99 99
       account: 'yunxi_fuxue',
100 100
       'Cache-Control': 'no-cache',
101
-      apiId: '1431155462568896598',
101
+      apiId: '1357592107129541992',
102 102
       appKey: '200000135',
103 103
       execType: '3',
104 104
       env: 'PROD',
@@ -109,10 +109,10 @@ export function leftService(params) {
109 109
 /**累计销量客户*/
110 110
 export function rollService(params) {
111 111
   return request({
112
-    url: "/dataengine-center-oneservice/list/1431155512914176090",
112
+    url: "/dataengine-center-oneservice/list/1357509594900108615",
113 113
     method: "POST",
114 114
     data: {
115
-      "apiId": "1431155512914176090",
115
+      "apiId": "1357509594900108615",
116 116
       "appKey": "200000135",
117 117
       "env": "PROD",
118 118
       "reqProtocol": 1,
@@ -125,10 +125,10 @@ export function rollService(params) {
125 125
       "useResultCache": false
126 126
     },
127 127
     headers: {
128
-      sign: '7e13e57d4d3b4430dad7eedaaf5fe668',
128
+      sign: '839f9217d1cf81ec03ff6ccf54c86e37',
129 129
       account: 'yunxi_fuxue',
130 130
       'Cache-Control': 'no-cache',
131
-      apiId: '1431155512914176090',
131
+      apiId: '1357509594900108615',
132 132
       appKey: '200000135',
133 133
       execType: '3',
134 134
       env: 'PROD',
@@ -140,10 +140,10 @@ export function rollService(params) {
140 140
 /**锂辉石库存*/
141 141
 export function bigShopService(params) {
142 142
   return request({
143
-    url: "/dataengine-center-oneservice/list/1431155276398422090",
143
+    url: "/dataengine-center-oneservice/list/1357489941160170789",
144 144
     method: "POST",
145 145
     data: {
146
-      "apiId": "1431155276398422090",
146
+      "apiId": "1357489941160170789",
147 147
       "appKey": "200000135",
148 148
       "env": "PROD",
149 149
       "reqProtocol": 1,
@@ -156,10 +156,10 @@ export function bigShopService(params) {
156 156
       "useResultCache": false
157 157
     },
158 158
     headers: {
159
-      sign: '253c1c9594881b0724b3403e9ea78527',
159
+      sign: 'ae4c520da5ae882455307324f75f5277',
160 160
       account: 'yunxi_fuxue',
161 161
       'Cache-Control': 'no-cache',
162
-      apiId: '1431155276398422090',
162
+      apiId: '1357489941160170789',
163 163
       appKey: '200000135',
164 164
       execType: '3',
165 165
       env: 'PROD',
@@ -170,10 +170,10 @@ export function bigShopService(params) {
170 170
 /**个基地年累计产量,库存*/
171 171
 export function smallShopService(params) {
172 172
   return request({
173
-    url: "/dataengine-center-oneservice/list/1431155337148721229",
173
+    url: "/dataengine-center-oneservice/list/1357592780709598582",
174 174
     method: "POST",
175 175
     data: {
176
-      "apiId": "1431155337148721229",
176
+      "apiId": "1357592780709598582",
177 177
       "appKey": "200000135",
178 178
       "env": "PROD",
179 179
       "reqProtocol": 1,
@@ -187,10 +187,10 @@ export function smallShopService(params) {
187 187
       "useResultCache": false
188 188
     },
189 189
     headers: {
190
-      sign: 'ae68ccba4a6c70600cd9c75be6eb8264',
190
+      sign: 'a842b5c5c462d7cacd2baad402ea94a7',
191 191
       account: 'yunxi_fuxue',
192 192
       'Cache-Control': 'no-cache',
193
-      apiId: '1431155337148721229',
193
+      apiId: '1357592780709598582',
194 194
       appKey: '200000135',
195 195
       execType: '3',
196 196
       env: 'PROD',

+ 24 - 24
src/pages/gvc/api2.js

@@ -11,10 +11,10 @@ export function checkToken(params) {
11 11
 /**各基地库存明细 */
12 12
 export function smallMaterialService(params) {
13 13
   return request({
14
-    url: "/dataengine-center-oneservice/list/1358057393917040084",
14
+    url: "/dataengine-center-oneservice/list/1431155205925726276",
15 15
     method: "POST",
16 16
     data: {
17
-      "apiId": "1358057393917040084",
17
+      "apiId": "1431155205925726276",
18 18
       "appKey": "200000135",
19 19
       "env": "PROD",
20 20
       "reqProtocol": 1,
@@ -30,10 +30,10 @@ export function smallMaterialService(params) {
30 30
       "useResultCache": false
31 31
     },
32 32
     headers: {
33
-      sign: 'fdb551d8c6a01d87c58970d519752d81',
33
+      sign: '5de9f29632bf379f46b1a0d1c5a85112',
34 34
       account: 'yunxi_fuxue',
35 35
       'Cache-Control': 'no-cache',
36
-      apiId: '1358057393917040084',
36
+      apiId: '1431155205925726276',
37 37
       appKey: '200000135',
38 38
       execType: '3',
39 39
       env: 'PROD',
@@ -45,10 +45,10 @@ export function smallMaterialService(params) {
45 45
 /**各基地日,月累计,年累计产量 */
46 46
 export function smallDayService(params) {
47 47
   return request({
48
-    url: "/dataengine-center-oneservice/list/1358059456248976873",
48
+    url: "/dataengine-center-oneservice/list/1431155399122708561",
49 49
     method: "POST",
50 50
     data: {
51
-      "apiId": "1358059456248976873",
51
+      "apiId": "1431155399122708561",
52 52
       "appKey": "200000135",
53 53
       "env": "PROD",
54 54
       "reqProtocol": 1,
@@ -63,10 +63,10 @@ export function smallDayService(params) {
63 63
       "useResultCache": false
64 64
     },
65 65
     headers: {
66
-      sign: '5f270b133af668b3631fbe7dbff9ebe4',
66
+      sign: 'df5c9e31ae6544ae9561c2d2a9f89702',
67 67
       account: 'yunxi_fuxue',
68 68
       'Cache-Control': 'no-cache',
69
-      apiId: '1358059456248976873',
69
+      apiId: '1431155399122708561',
70 70
       appKey: '200000135',
71 71
       execType: '3',
72 72
       env: 'PROD',
@@ -78,10 +78,10 @@ export function smallDayService(params) {
78 78
 /**左侧数据*/
79 79
 export function leftService(params) {
80 80
   return request({
81
-    url: "/dataengine-center-oneservice/list/1357592107129541992",
81
+    url: "/dataengine-center-oneservice/list/1431155462568896598",
82 82
     method: "POST",
83 83
     data: {
84
-      "apiId": "1357592107129541992",
84
+      "apiId": "1431155462568896598",
85 85
       "appKey": "200000135",
86 86
       "env": "PROD",
87 87
       "reqProtocol": 1,
@@ -95,10 +95,10 @@ export function leftService(params) {
95 95
       "useResultCache": false
96 96
     },
97 97
     headers: {
98
-      sign: '2d35f0b798fe2cc8443f95aed6da466a',
98
+      sign: 'a1288953bd76d9f0b202280c84062f60',
99 99
       account: 'yunxi_fuxue',
100 100
       'Cache-Control': 'no-cache',
101
-      apiId: '1357592107129541992',
101
+      apiId: '1431155462568896598',
102 102
       appKey: '200000135',
103 103
       execType: '3',
104 104
       env: 'PROD',
@@ -109,10 +109,10 @@ export function leftService(params) {
109 109
 /**累计销量客户*/
110 110
 export function rollService(params) {
111 111
   return request({
112
-    url: "/dataengine-center-oneservice/list/1357509594900108615",
112
+    url: "/dataengine-center-oneservice/list/1431155512914176090",
113 113
     method: "POST",
114 114
     data: {
115
-      "apiId": "1357509594900108615",
115
+      "apiId": "1431155512914176090",
116 116
       "appKey": "200000135",
117 117
       "env": "PROD",
118 118
       "reqProtocol": 1,
@@ -125,10 +125,10 @@ export function rollService(params) {
125 125
       "useResultCache": false
126 126
     },
127 127
     headers: {
128
-      sign: '839f9217d1cf81ec03ff6ccf54c86e37',
128
+      sign: '7e13e57d4d3b4430dad7eedaaf5fe668',
129 129
       account: 'yunxi_fuxue',
130 130
       'Cache-Control': 'no-cache',
131
-      apiId: '1357509594900108615',
131
+      apiId: '1431155512914176090',
132 132
       appKey: '200000135',
133 133
       execType: '3',
134 134
       env: 'PROD',
@@ -140,10 +140,10 @@ export function rollService(params) {
140 140
 /**锂辉石库存*/
141 141
 export function bigShopService(params) {
142 142
   return request({
143
-    url: "/dataengine-center-oneservice/list/1357489941160170789",
143
+    url: "/dataengine-center-oneservice/list/1431155276398422090",
144 144
     method: "POST",
145 145
     data: {
146
-      "apiId": "1357489941160170789",
146
+      "apiId": "1431155276398422090",
147 147
       "appKey": "200000135",
148 148
       "env": "PROD",
149 149
       "reqProtocol": 1,
@@ -156,10 +156,10 @@ export function bigShopService(params) {
156 156
       "useResultCache": false
157 157
     },
158 158
     headers: {
159
-      sign: 'ae4c520da5ae882455307324f75f5277',
159
+      sign: '253c1c9594881b0724b3403e9ea78527',
160 160
       account: 'yunxi_fuxue',
161 161
       'Cache-Control': 'no-cache',
162
-      apiId: '1357489941160170789',
162
+      apiId: '1431155276398422090',
163 163
       appKey: '200000135',
164 164
       execType: '3',
165 165
       env: 'PROD',
@@ -170,10 +170,10 @@ export function bigShopService(params) {
170 170
 /**个基地年累计产量,库存*/
171 171
 export function smallShopService(params) {
172 172
   return request({
173
-    url: "/dataengine-center-oneservice/list/1357592780709598582",
173
+    url: "/dataengine-center-oneservice/list/1431155337148721229",
174 174
     method: "POST",
175 175
     data: {
176
-      "apiId": "1357592780709598582",
176
+      "apiId": "1431155337148721229",
177 177
       "appKey": "200000135",
178 178
       "env": "PROD",
179 179
       "reqProtocol": 1,
@@ -187,10 +187,10 @@ export function smallShopService(params) {
187 187
       "useResultCache": false
188 188
     },
189 189
     headers: {
190
-      sign: 'a842b5c5c462d7cacd2baad402ea94a7',
190
+      sign: 'ae68ccba4a6c70600cd9c75be6eb8264',
191 191
       account: 'yunxi_fuxue',
192 192
       'Cache-Control': 'no-cache',
193
-      apiId: '1357592780709598582',
193
+      apiId: '1431155337148721229',
194 194
       appKey: '200000135',
195 195
       execType: '3',
196 196
       env: 'PROD',

+ 243 - 134
src/pages/gvc/style.less

@@ -20,12 +20,18 @@
20 20
       .gvc_video {
21 21
         background: url(../../assets/imgs/dataVimg/gvcBgDataV.png) no-repeat 0 -10em / 100% 120% #041b40 !important;
22 22
         align-items: flex-start;
23
-        // background: #000;
23
+        justify-content: center;
24
+        box-sizing: border-box;
25
+        overflow: visible;
24 26
 
25 27
         video {
28
+          display: block;
26 29
           width: 100%;
27
-          height: unset;
30
+          height: auto;
31
+          max-height: min(96vh, 100dvh);
28 32
           padding: 0;
33
+          object-fit: contain;
34
+          pointer-events: none;
29 35
         }
30 36
 
31 37
         img {
@@ -38,33 +44,251 @@
38 44
         .alls {
39 45
           width: 80%;
40 46
           height: unset;
41
-          padding: 2% 0% 0% 2%;
47
+          padding: 1% 0% 0% 2%;
42 48
           position: relative;
49
+          box-sizing: border-box;
50
+          z-index: 1;
51
+          overflow: visible;
43 52
         }
44 53
 
45
-        // @media (min-height: 800px) {
46
-        //   .alls {
47
-        //     width: 73%;
48
-        //   }
49
-        // }
54
+        // 仅主视频接收点击;片头 MapViewTwo 同带 .gvc_video 且 z-index:12,否则会盖住下层热点
55
+        &:not(.video_box_hide) .alls {
56
+          pointer-events: auto;
57
+        }
50 58
 
51
-        // @media (min-height: 900px) {
52
-        //   .alls {
53
-        //     width: 64%;
54
-        //   }
55
-        // }
59
+        &.video_box_hide,
60
+        &.video_box_hide * {
61
+          pointer-events: none !important;
62
+        }
56 63
 
57
-        // @media (min-height: 1000PX) {
58
-        //   .alls {
59
-        //     width: 70%;
60
-        //   }
61
-        // }
64
+        // 热点与视频同层:百分比相对视频显示区域,缩屏时与画面一起变
65
+        .imgMsg {
66
+          list-style: none;
67
+          margin: 0;
68
+          padding: 0;
69
+          width: 100%;
70
+          position: absolute;
71
+          left: 0;
72
+          top: 0;
73
+          height: 100%;
74
+          color: #fff;
75
+          pointer-events: none;
76
+          z-index: 2;
77
+          overflow: visible;
78
+
79
+          li {
80
+            position: absolute;
81
+            width: 20em;
82
+            z-index: 10;
83
+            height: 4em;
84
+            opacity: 1;
85
+            overflow: visible;
86
+            background: linear-gradient(0deg, #ffffff26 0%, #ffffff00 100%);
87
+            border-radius: 0.5em;
88
+            padding: 0.5em;
89
+            box-sizing: border-box;
90
+            font-size: 0.9em;
91
+            color: #CDF1FF;
92
+            pointer-events: auto;
93
+
94
+            .nums {
95
+              font-size: 1.3em;
96
+              color: #69FFDE;
97
+              display: inline-block !important;
98
+            }
99
+
100
+            .topMsg_number_2 {
101
+              display: inline-block !important;
102
+            }
103
+
104
+            .sma {
105
+              font-size: 0.7em;
106
+              color: #CDF1FF;
107
+              display: inline-block;
108
+              margin-left: 0.2em;
109
+            }
110
+
111
+            .chanL {
112
+              background: unset;
113
+              font-size: 0.9em;
114
+              color: #CDF1FF;
115
+              // height: 4em;
116
+              box-sizing: border-box;
117
+              padding: 0 0.5em;
118
+              display: flex;
119
+              justify-content: space-between;
120
+
121
+              >div {
122
+                width: 50%;
123
+              }
124
+            }
125
+
126
+            .hoverR {
127
+              width: 100%;
128
+              height: 12em;
129
+              position: absolute;
130
+              left: 0;
131
+              top: -7em;
132
+              padding-top: 11em;
133
+              overflow: visible;
134
+
135
+
136
+              .hoverDiv {
137
+                display: none;
138
+              }
139
+            }
140
+
141
+            .hoverDiv {
142
+              display: flex;
143
+              align-items: center;
144
+              justify-content: space-between;
145
+              padding: 0 1em;
146
+              background: linear-gradient(0deg, #292929f2 0%, #25252540 100%);
147
+              width: 100%;
148
+              border-radius: 0.5em;
149
+              box-sizing: border-box;
150
+              margin-top: 0.1em;
151
+              font-size: 0.8em;
152
+              padding: 0.2em 0em 0 1em;
153
+              color: #d7d7d7;
154
+              align-items: flex-start;
155
+              height: auto;
156
+
157
+              >div>span {
158
+                display: block;
159
+              }
160
+            }
161
+
162
+            // 必须压过 .hoverR .hoverDiv{display:none} 的单条选择器优先级
163
+            &:hover .hoverR .hoverDiv {
164
+              display: flex !important;
165
+            }
166
+          }
167
+
168
+          @media (max-height: 900px) {
169
+            li .hoverDiv {
170
+              background: linear-gradient(0deg, #292929 0%, #252525 100%) !important;
171
+            }
172
+          }
173
+
174
+          li:hover {
175
+            background: linear-gradient(0deg, #42ca9840 0%, #42ca9800 98%);
176
+          }
177
+        }
178
+
179
+        @media (max-height: 1000px) {
180
+          video {
181
+            max-height: min(82vh, 100dvh);
182
+          }
183
+
184
+          .alls {
185
+            width: 74%;
186
+          }
187
+
188
+
189
+        }
190
+
191
+
192
+        @media (max-height: 1050px) {
193
+          video {
194
+            max-height: min(82vh, 100dvh);
195
+          }
196
+
197
+          .alls {
198
+            width: 77%;
199
+            padding: 1.1% 0 0 1.1%;
200
+          }
201
+
202
+          .imgMsg {
203
+            top: -1em;
204
+          }
205
+
206
+          .imgMsg li {
207
+            font-size: 0.82em;
208
+            width: 21em;
209
+            height: 3.75em;
210
+            padding: 0.4em;
211
+
212
+            .chanL {
213
+              // height: 3.75em;
214
+              font-size: 0.85em;
215
+            }
216
+          }
217
+        }
218
+
219
+        @media (min-width: 2560px) {
220
+          .alls {
221
+            width: 82%;
222
+          }
223
+
224
+          video {
225
+            max-height: min(88vh, 100dvh);
226
+          }
227
+        }
228
+
229
+        @media (min-width: 2240px) and (max-width: 2559px) {
230
+          .alls {
231
+            width: 81%;
232
+          }
233
+
234
+          video {
235
+            max-height: min(90vh, 100dvh);
236
+          }
237
+        }
238
+
239
+        @media (min-width: 1760px) and (max-width: 2239px) {
240
+          .alls {
241
+            width: 80%;
242
+          }
243
+
244
+          video {
245
+            max-height: min(92vh, 100dvh);
246
+          }
247
+        }
248
+
249
+        @media (min-width: 1441px) and (max-width: 1759px) {
250
+          .alls {
251
+            width: 79%;
252
+          }
253
+
254
+          video {
255
+            max-height: min(93vh, 100dvh);
256
+          }
257
+        }
258
+
259
+        @media (max-width: 1440px) {
260
+          .alls {
261
+            width: 78%;
262
+          }
263
+
264
+          video {
265
+            max-height: min(94vh, 100dvh);
266
+          }
267
+        }
268
+
269
+        @media (max-width: 1280px) {
270
+          .alls {
271
+            width: 76%;
272
+          }
273
+
274
+          video {
275
+            max-height: min(90vh, 100dvh);
276
+          }
277
+        }
62 278
 
63 279
       }
64 280
 
65 281
       .gvcHome {
66 282
         height: 100%;
67 283
         justify-content: flex-start;
284
+        // 中间区域需穿透到下层视频热点;否则 hoverR 向上伸出 centerCon 后无法触发 hover
285
+        pointer-events: none;
286
+
287
+        .leftContent,
288
+        .rightContent,
289
+        .bottom_box {
290
+          pointer-events: auto;
291
+        }
68 292
 
69 293
         .leftContent {
70 294
           width: 17%;
@@ -177,6 +401,7 @@
177 401
           padding: 0;
178 402
           position: relative;
179 403
           margin: 0% 0 0 -1%;
404
+          pointer-events: none;
180 405
 
181 406
           .rightCar {
182 407
             width: 4.5em;
@@ -252,122 +477,6 @@
252 477
         //   }
253 478
         // }
254 479
 
255
-
256
-        .imgMsg {
257
-          width: 100%;
258
-          position: absolute;
259
-          left: 0;
260
-          top: 0;
261
-          height: 100%;
262
-          color: #fff;
263
-
264
-          li {
265
-            position: absolute;
266
-            width: 25em;
267
-            z-index: 10;
268
-            height: 4em;
269
-            opacity: 1;
270
-            background: linear-gradient(0deg, #ffffff26 0%, #ffffff00 100%);
271
-            border-radius: 0.5em;
272
-            padding: 0.5em;
273
-            box-sizing: border-box;
274
-            font-size: 0.9em;
275
-            color: #CDF1FF;
276
-
277
-            .nums {
278
-              font-size: 1.3em;
279
-              color: #69FFDE;
280
-              display: inline-block !important;
281
-            }
282
-
283
-            .topMsg_number_2 {
284
-              display: inline-block !important;
285
-            }
286
-
287
-            .sma {
288
-              font-size: 0.7em;
289
-              color: #CDF1FF;
290
-              display: inline-block;
291
-              margin-left: 0.2em;
292
-            }
293
-
294
-            .chanL {
295
-              background: unset;
296
-              font-size: 0.9em;
297
-              color: #CDF1FF;
298
-              height: 4em;
299
-              box-sizing: border-box;
300
-              padding: 0 0.5em;
301
-              display: flex;
302
-              justify-content: space-between;
303
-
304
-              >div {
305
-                width: 50%;
306
-              }
307
-            }
308
-
309
-            .hoverR {
310
-              width: 100%;
311
-              height: 12em;
312
-              position: absolute;
313
-              left: 0;
314
-              top: -7em;
315
-              padding-top: 11em;
316
-
317
-
318
-              .hoverDiv {
319
-                display: none;
320
-              }
321
-            }
322
-
323
-            .hoverR:hover {
324
-              .hoverDiv {
325
-                display: flex;
326
-              }
327
-            }
328
-
329
-            .hoverDiv {
330
-              display: flex;
331
-              align-items: center;
332
-              justify-content: space-between;
333
-              padding: 0 1em;
334
-              background: linear-gradient(0deg, #292929f2 0%, #25252540 100%);
335
-              // linear-gradient(0deg, #ffffff00 20%, #7a7a7a29 100%);
336
-              width: 100%;
337
-              border-radius: 0.5em;
338
-              box-sizing: border-box;
339
-              margin-top: 0.1em;
340
-              font-size: 0.8em;
341
-              padding: 0.2em 0em 0 1em;
342
-              color: #d7d7d7;
343
-              align-items: flex-start;
344
-              height: auto;
345
-
346
-              >div>span {
347
-                display: block;
348
-              }
349
-            }
350
-          }
351
-
352
-          @media (max-height: 900px) {
353
-            li .hoverDiv {
354
-              background: linear-gradient(0deg, #292929 0%, #252525 100%) !important;
355
-            }
356
-
357
-          }
358
-
359
-
360
-          li:hover {
361
-            background: linear-gradient(0deg, #42ca9840 0%, #42ca9800 98%);
362
-          }
363
-        }
364
-
365
-        @media (max-height: 900px) {
366
-          .imgMsg {
367
-            top: -1.5em;
368
-          }
369
-        }
370
-
371 480
         .rightContent {
372 481
           width: 15%;
373 482
           position: absolute;

+ 20 - 27
src/pages/gvc/view.jsx

@@ -191,7 +191,7 @@ class Gvc extends Component {
191 191
       if (+resultCode === 0) {
192 192
         console.log('getUrl2', data)
193 193
         const name_ = ["", "锂辉石(化学级)库存量", "锂辉石(化学级)库存量", "累计运输锂辉石(化学级)", "", "锂辉石(化学级)在途库存"];
194
-        const style__ = [{}, { left: "28%", top: "40%", width: '12em' }, { left: "3%", top: "57%", width: '12em' }, { left: "-6%", top: "29%", width: '12em' }, "", { left: "12%", top: "30%", width: '12em' }]
194
+        const style__ = [{}, { left: "32%", top: "38%", width: '12em' }, { left: "13%", top: "53%", width: '12em' }, { left: "5%", top: "27%", width: '12em' }, "", { left: "20%", top: "25%", width: '12em' }]
195 195
         data = data.map((x, i) => {
196 196
           return {
197 197
             ...x,
@@ -224,7 +224,7 @@ class Gvc extends Component {
224 224
     await smallShopService().then(({ data = [], resultCode }) => {
225 225
       if (+resultCode === 0) {
226 226
         console.log('getUrl4', data)
227
-        const style__ = [{}, { left: "47%", top: "25%" }, { left: "33%", top: "72%" }, { left: "52%", top: "57%" }, { left: "71%", top: "44%" }, { left: "14%", top: "86%" }, { left: "-4%", top: "100%" }, { left: "90%", top: "31%" }]
227
+        const style__ = [{}, { left: "47%", top: "23%" }, { left: "36%", top: "64%" }, { left: "52%", top: "52%" }, { left: "65%", top: "41%" }, { left: "21%", top: "76%" }, { left: "7%", top: "89%" }, { left: "80%", top: "28%" }]
228 228
         data = data.map((x, i) => {
229 229
           return {
230 230
             ...x,
@@ -437,32 +437,13 @@ class Gvc extends Component {
437 437
             <div className="alls">
438 438
               <video src={mpVideoGvc} playbackRate={0.5} autoplay="autoplay" loop="loop" class="video_box_2 animate__animated animate__fadeIn animate__delay-2s">
439 439
               </video>
440
-              {/* <img src={require("@assets/imgs/dataVimg/gvcbg.png").default} alt="" class="video_box_2 center_box2 animate__animated animate__fadeIn animate__delay-2s" /> */}
441
-            </div>
442
-
443
-          </div>
444
-          <div className={"gvcHome home cbHome"}>
445
-            <div className="leftContent">
446
-              <ul>
447
-                {
448
-                  LeftHtml.map((x, i) => {
449
-                    return this.getLeftHtml(x, i)
450
-                  })
451
-                }
452
-              </ul>
453
-            </div>
454
-
455
-            <div className="centerCon">
456
-              {/* <p className="rightCar">
457
-                <img src={require("@assets/imgs/gvc/car.png").default} alt="" />
458
-              </p> */}
459 440
               <ul className="imgMsg">
460 441
                 {
461 442
                   toJS(imgMsgData).map((item, index) => {
462
-                    if (!item) { return }
443
+                    if (!item) { return null }
463 444
                     return (
464 445
                       <li style={{ ...item?.styles }} class="animate__animated animate__bounceInUp animate__slower">
465
-                        {/* 矿产 */}
446
+
466 447
                         {
467 448
                           item.totalName && <p className="name">{item.totalName}</p>
468 449
                         }
@@ -475,11 +456,9 @@ class Gvc extends Component {
475 456
                         {
476 457
                           item.totalName && <span className="sma">吨</span>
477 458
                         }
478
-                        {/* 基地 */}
479 459
                         {
480 460
                           (item.cumulativeProduction !== null || item.showDetail) && <div className="hoverR">
481
-                            <div className="hoverDiv chanL">
482
-                              {/* <div style={{ width: "62%","textAlign":'right' }}> */}
461
+                            <div className="hoverDiv chanL" >
483 462
                               {
484 463
                                 item.cumulativeProduction !== null && <div style={{ width: "38%" }}>
485 464
                                   <p className="title">
@@ -497,7 +476,7 @@ class Gvc extends Component {
497 476
                                 </p>
498 477
                                 {
499 478
                                   get(item, "rawMaterial", []).map((ra, rai) => {
500
-                                    return <span>{ra.prodCatgory}:{ra.indexValue}</span>
479
+                                    return <span key={rai}>{ra.prodCatgory}:{ra.indexValue}</span>
501 480
                                   })
502 481
                                 }
503 482
                               </div>
@@ -531,6 +510,20 @@ class Gvc extends Component {
531 510
               </ul>
532 511
             </div>
533 512
 
513
+          </div>
514
+          <div className={"gvcHome home cbHome"}>
515
+            <div className="leftContent">
516
+              <ul>
517
+                {
518
+                  LeftHtml.map((x, i) => {
519
+                    return this.getLeftHtml(x, i)
520
+                  })
521
+                }
522
+              </ul>
523
+            </div>
524
+
525
+            <div className="centerCon" />
526
+
534 527
             {/* 右侧信息栏 */}
535 528
             <div className="rightContent">
536 529
 

+ 1 - 1
src/pages/sial/style.less

@@ -464,7 +464,7 @@
464 464
       left: 0;
465 465
       top: 0;
466 466
       height: 100%;
467
-      color: #ff0;
467
+      z-index: 100;
468 468
 
469 469
       li {
470 470
         position: absolute;

+ 20 - 20
src/pages/tqcDataVHome/api.js

@@ -44,10 +44,10 @@ export function dataengineCenterOneservice(params) {
44 44
 /**库存金额 */
45 45
 export function momeyService(params) {
46 46
   return request({
47
-    url: "/dataengine-center-oneservice/list/1431063632208685082",
47
+    url: "/dataengine-center-oneservice/list/1356776817075459329",
48 48
     method: "POST",
49 49
     data: {
50
-      "apiId": "1431063632208685082",
50
+      "apiId": "1356776817075459329",
51 51
       "appKey": "200000134",
52 52
       "env": "PROD",
53 53
       "reqProtocol": 1,
@@ -61,10 +61,10 @@ export function momeyService(params) {
61 61
       "useResultCache": false
62 62
     },
63 63
     headers: {
64
-      sign: '6203b66920c569f8228c3cb921f3ffb8',
64
+      sign: 'd58de970856e583f126d186662251024',
65 65
       account: 'yunxi_fuxue',
66 66
       'Cache-Control': 'no-cache',
67
-      apiId: '1431063632208685082',
67
+      apiId: '1356776817075459329',
68 68
       appKey: '200000134',
69 69
       execType: '3',
70 70
       env: 'PROD',
@@ -76,10 +76,10 @@ export function momeyService(params) {
76 76
 /**百万工时损工率   产量计划完成率*/
77 77
 export function timeService(params) {
78 78
   return request({
79
-    url: "/dataengine-center-oneservice/list/1431063077222574093",
79
+    url: "/dataengine-center-oneservice/list/1356250124518724729",
80 80
     method: "POST",
81 81
     data: {
82
-      "apiId": "1431063077222574093",
82
+      "apiId": "1356250124518724729",
83 83
       "appKey": "200000134",
84 84
       "env": "PROD",
85 85
       "reqProtocol": 1,
@@ -93,10 +93,10 @@ export function timeService(params) {
93 93
       "useResultCache": false
94 94
     },
95 95
     headers: {
96
-      sign: '9ab2d57a785c513f84cd0c5fb4fad7da',
96
+      sign: '46847fe90889330f13cdc3318d848d45',
97 97
       account: 'yunxi_fuxue',
98 98
       'Cache-Control': 'no-cache',
99
-      apiId: '1431063077222574093',
99
+      apiId: '1356250124518724729',
100 100
       appKey: '200000134',
101 101
       execType: '3',
102 102
       env: 'PROD',
@@ -107,10 +107,10 @@ export function timeService(params) {
107 107
 /**产值+发货量+产量+库存*/
108 108
 export function numberService(params) {
109 109
   return request({
110
-    url: "/dataengine-center-oneservice/list/1431049820141217793",
110
+    url: "/dataengine-center-oneservice/list/1356243326548087867",
111 111
     method: "POST",
112 112
     data: {
113
-      "apiId": "1431049820141217793",
113
+      "apiId": "1356243326548087867",
114 114
       "appKey": "200000134",
115 115
       "env": "PROD",
116 116
       "reqProtocol": 1,
@@ -123,10 +123,10 @@ export function numberService(params) {
123 123
       "useResultCache": false
124 124
     },
125 125
     headers: {
126
-      sign: '915848290d3e70a7b8e7fbe911e12725',
126
+      sign: '2f079b53e1e63b753bb6f9807f6c6818',
127 127
       account: 'yunxi_fuxue',
128 128
       'Cache-Control': 'no-cache',
129
-      apiId: '1431049820141217793',
129
+      apiId: '1356243326548087867',
130 130
       appKey: '200000134',
131 131
       execType: '3',
132 132
       env: 'PROD',
@@ -138,10 +138,10 @@ export function numberService(params) {
138 138
 /**近30天产量*/
139 139
 export function mondService(params) {
140 140
   return request({
141
-    url: "/dataengine-center-oneservice/list/1431065871110334506",
141
+    url: "/dataengine-center-oneservice/list/1356244872119751767",
142 142
     method: "POST",
143 143
     data: {
144
-      "apiId": "1431065871110334506",
144
+      "apiId": "1356244872119751767",
145 145
       "appKey": "200000134",
146 146
       "env": "PROD",
147 147
       "reqProtocol": 1,
@@ -156,10 +156,10 @@ export function mondService(params) {
156 156
       "useResultCache": false
157 157
     },
158 158
     headers: {
159
-      sign: 'f84acfc47847e71c67be5569b9289291',
159
+      sign: 'ef3ecc442896d925cc02d36f1107d9e3',
160 160
       account: 'yunxi_fuxue',
161 161
       'Cache-Control': 'no-cache',
162
-      apiId: '1431065871110334506',
162
+      apiId: '1356244872119751767',
163 163
       appKey: '200000134',
164 164
       execType: '3',
165 165
       env: 'PROD',
@@ -170,10 +170,10 @@ export function mondService(params) {
170 170
 /**月度产量/发货量+一次合格率*/
171 171
 export function twoService(params) {
172 172
   return request({
173
-    url: "/dataengine-center-oneservice/list/1431065780441016356",
173
+    url: "/dataengine-center-oneservice/list/1356411403496625359",
174 174
     method: "POST",
175 175
     data: {
176
-      "apiId": "1431065780441016356",
176
+      "apiId": "1356411403496625359",
177 177
       "appKey": "200000134",
178 178
       "env": "PROD",
179 179
       "reqProtocol": 1,
@@ -189,10 +189,10 @@ export function twoService(params) {
189 189
       "useResultCache": false
190 190
     },
191 191
     headers: {
192
-      sign: '178ae23014a9fecad15ffa9a88ed84f1',
192
+      sign: '9c472223a9acbdb9f16bebb7002e0c40',
193 193
       account: 'yunxi_fuxue',
194 194
       'Cache-Control': 'no-cache',
195
-      apiId: '1431065780441016356',
195
+      apiId: '1356411403496625359',
196 196
       appKey: '200000134',
197 197
       execType: '3',
198 198
       env: 'PROD',

+ 20 - 20
src/pages/tqcDataVHome/api3.js

@@ -44,10 +44,10 @@ export function dataengineCenterOneservice(params) {
44 44
 /**库存金额 */
45 45
 export function momeyService(params) {
46 46
   return request({
47
-    url: "/dataengine-center-oneservice/list/1356776817075459329",
47
+    url: "/dataengine-center-oneservice/list/1431063632208685082",
48 48
     method: "POST",
49 49
     data: {
50
-      "apiId": "1356776817075459329",
50
+      "apiId": "1431063632208685082",
51 51
       "appKey": "200000134",
52 52
       "env": "PROD",
53 53
       "reqProtocol": 1,
@@ -61,10 +61,10 @@ export function momeyService(params) {
61 61
       "useResultCache": false
62 62
     },
63 63
     headers: {
64
-      sign: 'd58de970856e583f126d186662251024',
64
+      sign: '6203b66920c569f8228c3cb921f3ffb8',
65 65
       account: 'yunxi_fuxue',
66 66
       'Cache-Control': 'no-cache',
67
-      apiId: '1356776817075459329',
67
+      apiId: '1431063632208685082',
68 68
       appKey: '200000134',
69 69
       execType: '3',
70 70
       env: 'PROD',
@@ -76,10 +76,10 @@ export function momeyService(params) {
76 76
 /**百万工时损工率   产量计划完成率*/
77 77
 export function timeService(params) {
78 78
   return request({
79
-    url: "/dataengine-center-oneservice/list/1356250124518724729",
79
+    url: "/dataengine-center-oneservice/list/1431063077222574093",
80 80
     method: "POST",
81 81
     data: {
82
-      "apiId": "1356250124518724729",
82
+      "apiId": "1431063077222574093",
83 83
       "appKey": "200000134",
84 84
       "env": "PROD",
85 85
       "reqProtocol": 1,
@@ -93,10 +93,10 @@ export function timeService(params) {
93 93
       "useResultCache": false
94 94
     },
95 95
     headers: {
96
-      sign: '46847fe90889330f13cdc3318d848d45',
96
+      sign: '9ab2d57a785c513f84cd0c5fb4fad7da',
97 97
       account: 'yunxi_fuxue',
98 98
       'Cache-Control': 'no-cache',
99
-      apiId: '1356250124518724729',
99
+      apiId: '1431063077222574093',
100 100
       appKey: '200000134',
101 101
       execType: '3',
102 102
       env: 'PROD',
@@ -107,10 +107,10 @@ export function timeService(params) {
107 107
 /**产值+发货量+产量+库存*/
108 108
 export function numberService(params) {
109 109
   return request({
110
-    url: "/dataengine-center-oneservice/list/1356243326548087867",
110
+    url: "/dataengine-center-oneservice/list/1431049820141217793",
111 111
     method: "POST",
112 112
     data: {
113
-      "apiId": "1356243326548087867",
113
+      "apiId": "1431049820141217793",
114 114
       "appKey": "200000134",
115 115
       "env": "PROD",
116 116
       "reqProtocol": 1,
@@ -123,10 +123,10 @@ export function numberService(params) {
123 123
       "useResultCache": false
124 124
     },
125 125
     headers: {
126
-      sign: '2f079b53e1e63b753bb6f9807f6c6818',
126
+      sign: '915848290d3e70a7b8e7fbe911e12725',
127 127
       account: 'yunxi_fuxue',
128 128
       'Cache-Control': 'no-cache',
129
-      apiId: '1356243326548087867',
129
+      apiId: '1431049820141217793',
130 130
       appKey: '200000134',
131 131
       execType: '3',
132 132
       env: 'PROD',
@@ -138,10 +138,10 @@ export function numberService(params) {
138 138
 /**近30天产量*/
139 139
 export function mondService(params) {
140 140
   return request({
141
-    url: "/dataengine-center-oneservice/list/1356244872119751767",
141
+    url: "/dataengine-center-oneservice/list/1431065871110334506",
142 142
     method: "POST",
143 143
     data: {
144
-      "apiId": "1356244872119751767",
144
+      "apiId": "1431065871110334506",
145 145
       "appKey": "200000134",
146 146
       "env": "PROD",
147 147
       "reqProtocol": 1,
@@ -156,10 +156,10 @@ export function mondService(params) {
156 156
       "useResultCache": false
157 157
     },
158 158
     headers: {
159
-      sign: 'ef3ecc442896d925cc02d36f1107d9e3',
159
+      sign: 'f84acfc47847e71c67be5569b9289291',
160 160
       account: 'yunxi_fuxue',
161 161
       'Cache-Control': 'no-cache',
162
-      apiId: '1356244872119751767',
162
+      apiId: '1431065871110334506',
163 163
       appKey: '200000134',
164 164
       execType: '3',
165 165
       env: 'PROD',
@@ -170,10 +170,10 @@ export function mondService(params) {
170 170
 /**月度产量/发货量+一次合格率*/
171 171
 export function twoService(params) {
172 172
   return request({
173
-    url: "/dataengine-center-oneservice/list/1356411403496625359",
173
+    url: "/dataengine-center-oneservice/list/1431065780441016356",
174 174
     method: "POST",
175 175
     data: {
176
-      "apiId": "1356411403496625359",
176
+      "apiId": "1431065780441016356",
177 177
       "appKey": "200000134",
178 178
       "env": "PROD",
179 179
       "reqProtocol": 1,
@@ -189,10 +189,10 @@ export function twoService(params) {
189 189
       "useResultCache": false
190 190
     },
191 191
     headers: {
192
-      sign: '9c472223a9acbdb9f16bebb7002e0c40',
192
+      sign: '178ae23014a9fecad15ffa9a88ed84f1',
193 193
       account: 'yunxi_fuxue',
194 194
       'Cache-Control': 'no-cache',
195
-      apiId: '1356411403496625359',
195
+      apiId: '1431065780441016356',
196 196
       appKey: '200000134',
197 197
       execType: '3',
198 198
       env: 'PROD',