diff --git a/hx-ai-intelligent/src/api/IlluminationInfo.ts b/hx-ai-intelligent/src/api/IlluminationInfo.ts new file mode 100644 index 0000000..f6de125 --- /dev/null +++ b/hx-ai-intelligent/src/api/IlluminationInfo.ts @@ -0,0 +1,20 @@ + +// 照明系统及相关接口 +export enum lightingManage { + + // 主页 ======================================================== + + // 获得分区与线路 + getArea = '/carbon-smart/IlluminationInfo/region', + // 修改线路的可用/禁用状态 + setDisable = '/carbon-smart/IlluminationInfo/revisePanel', + + // 计划列表tab页 ================================================ + + // 获得计划列表tab页的表格数据 + getPlanTable = '/carbon-smart/IlluminationPlan/selectPanelPlan', + // 获得计划列表tab页的穿梭框左侧数据 + getLeftPlan = '/carbon-smart/IlluminationPlan/getPlan', + // 提交穿梭框被选择的数据 + submitLeftPlan = '/carbon-smart/IlluminationPlan/joinPlan', +} diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/dialogStyle.less b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/dialogStyle.less index 7dee3a5..b3bf2f3 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/dialogStyle.less +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/dialogStyle.less @@ -3,6 +3,7 @@ right: 496px; width: 500px; height: 100%; + z-index: 99; top: 0; bottom: 0; margin: auto; @@ -12,6 +13,7 @@ display: flex; padding: 25px; flex-direction: column; + transition: all ease 0.5s; .content { overflow-y: scroll; .div-operation { @@ -138,4 +140,11 @@ color: black; } } +} + +.fade-enter-active, .fade-leave-active { + transform: translateX(0px); +} +.fade-enter-from, .fade-leave-to { + transform: translateX(496px); } \ No newline at end of file diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.less b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.less index dd02f25..4b4cf21 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.less +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.less @@ -1,7 +1,5 @@ // 页面容器 .lighting-box { - // width: 100%; - // height: 100%; position: relative; // background: linear-gradient(#badaff, #8cabeb, #7095de); // 照明设备功能总容器 @@ -47,32 +45,46 @@ height: 240px; transform: rotateX(79deg) rotateZ(-22deg) skew(29deg); display: flex; - gap: 8px; + gap: 5px; .area1 { - width: 170px; + width: 70px; background: rgba(0, 251, 91, 0.3); border: 2px solid rgb(0, 251, 91); display: flex; } .area2 { - width: 240px; + width: 200px; background: rgba(255, 165, 0, 0.3); border: 2px solid rgb(255, 165, 0); display: flex; } .area3 { - width: 110px; + width: 120px; background: rgba(255, 0, 0, 0.3); border: 2px solid rgb(255, 0, 0); + display: flex; } .area4 { - flex: 1; + width: 70px; background: rgba(80, 236, 244, 0.3); border: 2px solid rgb(80, 236, 244); + display: flex; + } + .area5 { + flex: 1; + background: rgba(0, 251, 91, 0.3); + border: 2px solid rgb(0, 251, 91); + display: flex; + } + .area6 { + flex: 1; + background: rgba(255, 165, 0, 0.3); + border: 2px solid rgb(255, 165, 0); + display: flex; } - // .area-item:hover { - // transform: scale(1.05); - // } + .area-item:hover { + transform: scale(1.05); + } .area-item { cursor: pointer; transition: all ease 0.2s; @@ -82,37 +94,16 @@ display:flex; justify-content: center; align-items: center; - .group-shadow1 { - width: 35px; - height: 150px; - border-radius: 20px; - background: rgba(0, 0, 0, 0.1); - } - .group-shadow2 { - width: 35px; - height: 180px; - border-radius: 20px; - background: rgba(0, 0, 0, 0.1); - } - .group-shadow3 { - width: 40px; - height: 180px; - border-radius: 20px; - background: rgba(0, 0, 0, 0.1); - } - .group-shadow4 { - width: 40px; - height: 160px; + box-sizing: border-box; + padding: 10px; + // border: 2px solid red; + .shadow-box { + width: 30px; + height: 200px; border-radius: 20px; - background: rgba(0, 0, 0, 0.1); + background: rgba(0, 0, 0, 0.2); } } - // .group-shadow { - // transition: all ease 0.2s; - // } - // .group-shadow:hover { - // transform: scale(1.05); - // } } } } diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue index a1c1006..dee6eb5 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue @@ -3,25 +3,31 @@