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" /> - -