From cce83ee7001f30515579145c576ab7814ddf6768 Mon Sep 17 00:00:00 2001 From: chenpingsen Date: Fri, 9 Aug 2024 09:09:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BE=A4=E6=8E=A7=E7=B3=BB=E7=BB=9F>?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E9=9D=A2=E6=9D=BF=E7=9A=84=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=92=8C=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../airConditionControlSystem/dialogStyle.less | 1 - .../airConditionControlSystem/index.less | 24 +- .../airConditionControlSystem/index.vue | 14 +- .../airConditionControlSystem/tabs1.less | 24 +- .../airConditionControlSystem/tabs1.vue | 565 +++++++++++--------- .../lightingManage/dialogStyle.less | 1 - .../equipmentControl/lightingManage/index.less | 24 +- .../equipmentControl/lightingManage/indexs.vue | 24 +- .../lightingManage/lightPosition.ts | 5 +- .../equipmentControl/lightingManage/tabs1.less | 24 +- .../view/equipmentControl/lightingManage/tabs1.vue | 582 +++++++++++---------- 11 files changed, 713 insertions(+), 575 deletions(-) diff --git a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/dialogStyle.less b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/dialogStyle.less index 3d550c5..40319ec 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/dialogStyle.less +++ b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/dialogStyle.less @@ -39,7 +39,6 @@ .journal { padding: 1% 3%; width: 100%; - height: 150px; background-color: rgba(0, 0, 0); border-radius: 12px; border: 2px solid transparent; diff --git a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.less b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.less index ae84fcd..396321e 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.less +++ b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.less @@ -16,26 +16,30 @@ perspective-origin: 850px -160px; // 左上角区域切换功能 .btn-box { - width: 120px; + width: 100px; position: sticky; - top: 10px; - left: 10px; + top: 15px; + margin-left: 10px; display: flex; flex-direction: column; gap: 8px; .btn-item { cursor: pointer; width: 100%; - height: 40px; + height: 35px; border-radius: 4px; - background: rgba(39, 120, 255, 1); + // background: rgba(39, 120, 255, 1); + background: rgb(7, 72, 116); border: 1px solid rgba(51, 199, 255, 1); box-shadow: 0px 10px 15px rgba(0, 54, 136, 0.3); - font-size: 18px; + font-size: 16px; color: white; } + .btnActive { + background: rgba(39, 120, 255, 1); + } .btn-item:hover { - color: black; + color: white; } } // 大区分区 @@ -128,7 +132,10 @@ justify-content: center; align-items: center; cursor: pointer; - } + } +} +.drawer-item { + position: relative; // 抽屉关闭按钮 .drawer-box-out { width: 30px; @@ -145,5 +152,4 @@ align-items: center; cursor: pointer; } - } diff --git a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue index 449e1d7..d7ddabc 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/airConditionControlSystem/index.vue @@ -7,7 +7,7 @@ v-for="(item, index) in floorData" :key="index" class="btn-item" - :style="{ color: item.dataCode == thisFloor ? 'black' : 'white' }" + :class="{ btnActive: item.dataCode == thisFloor }" @click="changeFloor(item.childList, item.dataCode)" >{{ item.name }} @@ -36,14 +36,6 @@ :visible="item.visible" /> - -
- -
- -
- -
+
+ + +
- - -
-
-
- 空调区域 -
- -
- - -
+ +
+
+
+ 空调区域
- -
-
-
- 空调分组 -
+ +
+ + +
+
+ +
+
+
+ 空调分组 +
+ - - - -
-
-
- - + + + +
- -
-
-
- 控制模式 -
- -
+
+ +
- -
- - - - - - - - - +
+ +
+
+
+ 控制模式 +
+ +
+ +
+
+ +
+
+
+ 启动模式 +
多选模式下会修改当前选中的所有回路
+ +
+ +
+
+ +
+ + + + + + +
- -
-
-
-
- 变更内容 -
-
-
-
-
-   - {{ item.regionName + ' > ' + item.deviceGroupName }} + +
+
+
+
+ 变更内容 +
+
+
+
+
+   + {{ item.regionName + ' > ' + item.deviceGroupName }} +
+ + + +
+
+
+
控制模式
+
+ 手动 + + 自动
- - -
-
-
-
控制模式
-
- 手动 - - 自动 -
+
+
亮度
+
+ + {{ + item?.stateBefore?.brightness != undefined ? item.stateBefore.brightness : '--' + }} + + {{ + item?.stateAfter?.brightness != undefined ? item.stateAfter.brightness : '--' + }}
-
-
亮度
-
- - {{ - item?.stateBefore?.brightness != undefined ? item.stateBefore.brightness : '--' - }} - - {{ - item?.stateAfter?.brightness != undefined ? item.stateAfter.brightness : '--' - }} -
+
+
+
控制场景
+
+ {{ + item?.stateBefore?.scene?.label ? item.stateBefore.scene.label : '--' + }} + + {{ + item?.stateAfter?.scene?.label ? item.stateAfter.scene.label : '--' + }}
-
-
控制场景
-
- {{ - item?.stateBefore?.scene?.label ? item.stateBefore.scene.label : '--' - }} - - {{ - item?.stateAfter?.scene?.label ? item.stateAfter.scene.label : '--' - }} -
+
+
+
色温
+
+ {{ + item?.stateBefore?.color != undefined ? item.stateBefore.color : '--' + }} + + + {{ item?.stateAfter?.color != undefined ? item.stateAfter.color : '--' }} +
-
-
色温
-
- {{ - item?.stateBefore?.color != undefined ? item.stateBefore.color : '--' - }} - - - {{ item?.stateAfter?.color != undefined ? item.stateAfter.color : '--' }} - -
+
+
+
启用状态
+
+ {{ + item?.stateBefore?.lockStatus != undefined + ? item.stateBefore.lockStatus + ? '禁用' + : '启用' + : '--' + }} + + + {{ + item?.stateAfter?.lockStatus != undefined + ? item.stateAfter.lockStatus + ? '禁用' + : '启用' + : '--' + }} +
-
-
- - - - -
- +
+
+ + + + +
+