大屏1.6修改
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -2378,8 +2378,8 @@ const handelContrast = (row1, row2, TBdata, HBdata, flag, type) => { | ... | @@ -2378,8 +2378,8 @@ const handelContrast = (row1, row2, TBdata, HBdata, flag, type) => { |
| 2378 | type: 'linear', | 2378 | type: 'linear', |
| 2379 | x: 0, y: 0, x2: 1, y2: 1, // 垂直渐变 | 2379 | x: 0, y: 0, x2: 1, y2: 1, // 垂直渐变 |
| 2380 | colorStops: [ | 2380 | colorStops: [ |
| 2381 | {offset: 0, color: 'rgba(242, 196, 0, 1)'}, // 顶部颜色 | 2381 | {offset: 0, color: type=='SRJE'?'rgba(242, 196, 0, 1)':'rgba(32, 217, 170, 1)'}, // 顶部颜色 |
| 2382 | {offset: 1, color: 'rgba(153, 101, 0, 1)'} // 底部颜色 | 2382 | {offset: 1, color: type=='SRJE'?'rgba(153, 101, 0, 1)':'rgba(8, 130, 160, 1)'} // 底部颜色 |
| 2383 | ] | 2383 | ] |
| 2384 | }, | 2384 | }, |
| 2385 | borderColor: 'rgba(240, 255, 0, 1)', | 2385 | borderColor: 'rgba(240, 255, 0, 1)', |
| ... | @@ -2404,8 +2404,8 @@ const handelContrast = (row1, row2, TBdata, HBdata, flag, type) => { | ... | @@ -2404,8 +2404,8 @@ const handelContrast = (row1, row2, TBdata, HBdata, flag, type) => { |
| 2404 | type: 'linear', | 2404 | type: 'linear', |
| 2405 | x: 0, y: 0, x2: 1, y2: 1, // 垂直渐变 | 2405 | x: 0, y: 0, x2: 1, y2: 1, // 垂直渐变 |
| 2406 | colorStops: [ | 2406 | colorStops: [ |
| 2407 | {offset: 0, color: 'rgba(0, 162, 255, 1)'}, // 顶部颜色 | 2407 | {offset: 0, color: type=='SRJE'?'rgba(0, 162, 255, 1)':'rgba(44, 54, 140, 1)'}, // 顶部颜色 |
| 2408 | {offset: 1, color: 'rgba(34, 117, 255, 1)'} // 底部颜色 | 2408 | {offset: 1, color: type=='SRJE'?'rgba(34, 117, 255, 1)':'rgba(135, 145, 253, 1)'} // 底部颜色 |
| 2409 | ] | 2409 | ] |
| 2410 | }, | 2410 | }, |
| 2411 | borderColor: 'rgba(0, 246, 255, 1)', | 2411 | borderColor: 'rgba(0, 246, 255, 1)', | ... | ... |
-
Please register or sign in to post a comment