Pārlūkot izejas kodu

3dModeling FloorClick.js 李欣儒 commit at 2020-11-24

李欣儒 4 gadi atpakaļ
vecāks
revīzija
f7fc0314b9
1 mainītis faili ar 24 papildinājumiem un 0 dzēšanām
  1. 24 0
      3dModeling/zhhry20/FloorClick.js

+ 24 - 0
3dModeling/zhhry20/FloorClick.js

@@ -210,3 +210,27 @@ function creatbutElement(floorNum) {
 	        justify-content: left;
 	      //  width: calc(100% - 203px);
 	        height: 40px;
+                }
+         .bottomBtnText{
+            font-size: 12px;
+            display: inline-block;
+            text-align:center;
+            padding-left: 15px;
+            color:rgba(255,255,255,0.5);
+            letter-spacing: 2px;
+            line-height: 36px;
+                  }
+        </style>
+    `));
+}
+//创建设备点位标识
+function icon_click(deviceType, floorNum) {
+    buildingStore;
+    deviceList = [];
+    for (var i = 0; i < buildingStore.length; i++) {
+        if (floorNum == buildingStore[i].min_level) {
+            deviceList.push(buildingStore[i]);
+        }
+    }
+    create_ui(deviceType, floorNum, deviceList);
+}