|
@ -179,7 +179,7 @@ const computedStyle = () => { |
|
|
:key="item.sensorId" |
|
|
:key="item.sensorId" |
|
|
class="card" |
|
|
class="card" |
|
|
:class="{ |
|
|
:class="{ |
|
|
'card-center-1': index === 0 && deviceStore.deviceInfo.deviceType === deviceStore.deviceTypeMap.LargeSpaceDM_B && homeStore.h2O2SensorData.length === 3, |
|
|
|
|
|
|
|
|
'card-center-1': index === 0 && deviceStore.deviceInfo.deviceType !== deviceStore.deviceTypeMap.LargeSpaceDM_B && homeStore.h2O2SensorData.length === 3, |
|
|
'card-center-2': index === 0 && deviceStore.deviceInfo.deviceType !== deviceStore.deviceTypeMap.LargeSpaceDM_B && homeStore.h2O2SensorData.length === 5, |
|
|
'card-center-2': index === 0 && deviceStore.deviceInfo.deviceType !== deviceStore.deviceTypeMap.LargeSpaceDM_B && homeStore.h2O2SensorData.length === 5, |
|
|
}" |
|
|
}" |
|
|
> |
|
|
> |
|
|