Просмотр исходного кода

3dModeling FloorClick.js 韩正义 commit at 2021-03-22

韩正义 4 лет назад
Родитель
Сommit
b4bafcb379
1 измененных файлов с 38 добавлено и 0 удалено
  1. 38 0
      3dModeling/zhhry10/FloorClick.js

+ 38 - 0
3dModeling/zhhry10/FloorClick.js

@@ -196,3 +196,41 @@ function creatbutElement(floorNum) {
           .bottomBtn{
 	        text-align: center;
             left:200px;
+	        width: 100px;
+    	    height: 31px;
+        	margin-top: 7px;
+            top:650px;
+           // display: inline-block;
+        	background-image: url(${baseURL}ySL6MT.png);
+                    }
+        .bottomBtnsRight{
+            position: relative;
+         //   top:481px;
+            bottom:-459px;
+	        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);
+}