Browse Source

fix:修改名称

temp
zhaohy 4 months ago
parent
commit
9a1298987f
  1. 4
      hx-ai-intelligent/src/router/equipmentControl.ts
  2. 55
      hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue
  3. BIN
      hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/fan.png

4
hx-ai-intelligent/src/router/equipmentControl.ts

@ -65,7 +65,7 @@ const equipmentControl = {
{
path: 'airConditioningSystem',
name: 'airConditioningSystem',
meta: { title: '空调系统', hideChildren: true, icon: 'shebeiqunkong' },
meta: { title: '新风系统', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'airConditioningSystemIndex' },
children: [
@ -74,7 +74,7 @@ const equipmentControl = {
name: 'airConditioningSystemIndex',
component: () => import('/@/view/equipmentControl/airConditioningSystem/index.vue'),
meta: {
title: '空调系统',
title: '新风系统',
keepAlive: false,
// backApi: [],
},

55
hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue

@ -28,7 +28,7 @@
</div>
</template>
</div>
<!-- -->
<!-- -->
<div v-if="selectIndex === 1">
<template v-for="(item, index) in peopleData" :key="index">
<div
@ -38,6 +38,28 @@
</div>
</template>
</div>
<!-- 新风主机 -->
<div v-if="selectIndex === 2">
<template v-for="(item, index) in newTrend" :key="index">
<img
style="
width: 50px;
height: 75px;
position: absolute;
transform: rotateY(180deg);
z-index: 1;
"
:style="{
left: 'calc(' + item.styleText.left + ' - 1.5%)',
bottom: 'calc(' + item.styleText.bottom + ' + 4%)',
}"
src="../image/liftState/lift/line.png" />
<img
style="width: 42px; height: 42px; position: absolute"
:style="{ left: item.styleText.left, bottom: item.styleText.bottom }"
src="../image/airConditioningSystem/fan.png" />
</template>
</div>
</div>
</div>
</template>
@ -195,6 +217,37 @@
url: people,
},
]);
//
const newTrend = ref([
{
title: 'D区新风主机',
styleText: { left: '43%', bottom: '44%' },
type: '新风主机',
unit: '℃',
number: 20,
url: freshAir,
},
{
title: 'C区新风主机',
styleText: { left: '45%', bottom: '23%' },
type: '新风主机',
unit: '℃',
},
{
title: 'background-size区新风主机',
styleText: { left: '61.5%', bottom: '54%' },
type: '新风主机',
unit: '℃',
number: 20,
url: freshAir,
},
{
title: 'A区新风主机',
styleText: { left: '63%', bottom: '36%' },
type: '新风主机',
unit: '℃',
},
]);
//
const selectIndex = ref(0);
const selectLegend = (item: any, index: any) => {

BIN
hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/fan.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Loading…
Cancel
Save