Selaa lähdekoodia

[Feat 0000] 保德首页样式修复

houzekong 5 kuukautta sitten
vanhempi
commit
8372b5c5b5

+ 1 - 1
src/views/vent/home/configurable/components/content.vue

@@ -15,7 +15,7 @@
       <source :src="background.link" />
       Not Supportted Link Or Browser
     </video>
-    <div class="flex flex-wrap w-full h-full" :style="{ flexDirection: slice.direction }">
+    <div class="flex w-full h-full" :style="{ flexDirection: slice.direction }">
       <div v-for="(config, i) in layoutConfig" :key="config.key" :style="{ flexBasis: slice.basis[i] }">
         <!-- 告示板部分 -->
         <template v-if="config.key === 'board'">

+ 24 - 1
src/views/vent/home/configurable/configurable.data.ts

@@ -1935,6 +1935,30 @@ const BDfireMock = {
       warnLevel: '低风险', //预警级别
       time: '2024-09-12 15:33:50', //时间
     },
+    {
+      strinstallpos: '位置2', //安装位置
+      nowVal: '25.0', //温度
+      warnLevel: '低风险', //预警级别
+      time: '2024-09-12 15:33:50', //时间
+    },
+    {
+      strinstallpos: '位置2', //安装位置
+      nowVal: '25.0', //温度
+      warnLevel: '低风险', //预警级别
+      time: '2024-09-12 15:33:50', //时间
+    },
+    {
+      strinstallpos: '位置2', //安装位置
+      nowVal: '25.0', //温度
+      warnLevel: '低风险', //预警级别
+      time: '2024-09-12 15:33:50', //时间
+    },
+    {
+      strinstallpos: '位置2', //安装位置
+      nowVal: '25.0', //温度
+      warnLevel: '低风险', //预警级别
+      time: '2024-09-12 15:33:50', //时间
+    },
   ],
 };
 export const testConfigBDFire: Config[] = [
@@ -2526,7 +2550,6 @@ export const testConfigBDFire: Config[] = [
       list: [],
       complex_list: [],
       preset: [],
-      // mock: BDfireMock,
     },
     showStyle: {
       size: 'width:450px;height:230px;',