fix:通风系统对接接口
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<script lang="ts" setup>
|
||||
import sunRed from '../image/airConditioningSystem/sunRed.png';
|
||||
import sunYellow from '../image/airConditioningSystem/sunYellow.png';
|
||||
import sunBlue from '../image/airConditioningSystem/sunBlue.png';
|
||||
import sunGreen from '../image/airConditioningSystem/sunGreen.png';
|
||||
|
||||
import electricFan from '../image/airConditioningSystem/electricFan.png';
|
||||
import setUp from '../image/airConditioningSystem/setUp.png';
|
||||
@@ -70,7 +70,7 @@
|
||||
});
|
||||
const getSunUrl = () => {
|
||||
if (props.dataSource.number > 0 && props.dataSource.number < 20) {
|
||||
return sunBlue;
|
||||
return sunGreen;
|
||||
} else if (props.dataSource.number >= 20 && props.dataSource.number < 30) {
|
||||
return sunYellow;
|
||||
} else {
|
||||
|
@@ -17,6 +17,7 @@
|
||||
class="box-number"
|
||||
:style="{
|
||||
left: dataSource.type === '二氧化碳' ? '95px' : '90px',
|
||||
color: dataSource.fontColor ? dataSource.fontColor : '#0dffa4',
|
||||
}"
|
||||
>{{ dataSource.number }}</div
|
||||
>
|
||||
@@ -90,7 +91,6 @@
|
||||
margin-right: 4px;
|
||||
}
|
||||
.box-number {
|
||||
color: #0dffa4;
|
||||
font-size: 18px;
|
||||
left: 72%;
|
||||
top: 45%;
|
||||
|
Reference in New Issue
Block a user