Browse Source

fix:修改名称

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

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

@ -28,7 +28,7 @@
</div> </div>
</template> </template>
</div> </div>
<!-- --> <!-- -->
<div v-if="selectIndex === 1"> <div v-if="selectIndex === 1">
<template v-for="(item, index) in peopleData" :key="index"> <template v-for="(item, index) in peopleData" :key="index">
<div <div
@ -38,6 +38,28 @@
</div> </div>
</template> </template>
</div> </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>
</div> </div>
</template> </template>
@ -195,6 +217,37 @@
url: people, 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 selectIndex = ref(0);
const selectLegend = (item: any, index: any) => { 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