add:群控

This commit is contained in:
zhaohy
2024-08-01 17:06:05 +08:00
parent deba7bddd8
commit bb3c4f1961
17 changed files with 296 additions and 58 deletions

View File

@@ -22,11 +22,15 @@
align-items: center;
justify-content: center;
">
<img style="width: 39px" src="../image/airConditioningSystem/electricFan.png" />
<div style="margin-top: 4px"> 风量 </div>
<img style="width: 39px" :src="dataSource.type === '地暖' ? setUp : electricFan" />
<div style="margin-top: 4px"> {{ dataSource.type === '地暖' ? '设置' : '风量' }} </div>
<div style="margin-top: -5px">
<span style="font-size: 18px; color: #0dffff; font-style: italic"> 18 </span>
<span style="font-size: 10px; margin-left: 5px">m3/h</span>
<span style="font-size: 18px; color: #0dffff; font-style: italic">
{{ dataSource.type === '地暖' ? dataSource.setUpNumber : '18' }}
</span>
<span style="font-size: 10px; margin-left: 5px">{{
dataSource.type === '地暖' ? '℃' : 'm3/h'
}}</span>
</div>
</div>
<div
@@ -54,6 +58,10 @@
import sunRed from '../image/airConditioningSystem/sunRed.png';
import sunYellow from '../image/airConditioningSystem/sunYellow.png';
import sunBlue from '../image/airConditioningSystem/sunBlue.png';
import electricFan from '../image/airConditioningSystem/electricFan.png';
import setUp from '../image/airConditioningSystem/setUp.png';
const props = defineProps({
dataSource: {
type: Object,