|
@@ -184,12 +184,13 @@ const Runtime: React.FC = () => {
|
|
|
top: item.top,
|
|
|
width: item.width,
|
|
|
height: item.height,
|
|
|
- backgroundColor:
|
|
|
- item.runTimeStatus == 'overtimeBook'
|
|
|
+ background: item.roomFuncType
|
|
|
+ ? item.runTimeStatus == 'overtimeBook'
|
|
|
? 'rgba(0, 220, 35, 0.2)'
|
|
|
: item.runTimeStatus == 'overtimeWork'
|
|
|
? 'rgba(94, 139, 207, 0.2)'
|
|
|
- : 'rgba(196, 196, 196, 0.2)',
|
|
|
+ : 'rgba(196, 196, 196, 0.2)'
|
|
|
+ : 'repeating-linear-gradient(45deg, rgb(226 226 226), #ffffff 8px)',
|
|
|
}}
|
|
|
>
|
|
|
<div className={mapstyles.allTime}>
|