Bladeren bron

计算问题修复

lhh 6 maanden geleden
bovenliggende
commit
0d05f1f892

src/components/ColorDiv.vue → src/views/IOTDataAnalysis/components/ColorDiv.vue


+ 5 - 2
src/views/IOTDataAnalysis/components/IOTLeft.vue

@@ -34,7 +34,7 @@
         </div>
       </titleBgBox>
 
-      <titleBgBox class="left-title-bg-box" title="设备类型">
+      <titleBgBox class="left-title-bg-box device-type-class" title="设备类型">
         <!-- 头部色彩比例块 -->
         <colorDiv
           class="color-box"
@@ -100,7 +100,7 @@
 <script setup>
 import { onMounted, reactive, ref, computed } from "vue";
 import titleBgBox from "./titleBgBox.vue";
-import colorDiv from "@/components/ColorDiv.vue";
+import colorDiv from "../ColorDiv.vue";
 import {
   QueryBasicsInfo,
   QueryListEquipment,
@@ -528,6 +528,9 @@ onMounted(() => {
         width: calc(100% - 25px);
       }
     }
+    .device-type-class{
+      margin-top: 5px;
+    }
   }
 }
 </style>