Explorar o código

回风流瓦斯监测

bobo04052021@163.com hai 2 meses
pai
achega
731f09fec0

+ 33 - 0
src/views/vent/monitorManager/fanLocalMonitor/fanLocal.three.ts

@@ -339,6 +339,39 @@ export const addCssText = () => {
       group.add(fanLocalCSS3D);
     }
   }
+  if (!group.getObjectByName('text8')) {
+    const element = document.getElementById('gasBox3') as HTMLElement;
+    if (element) {
+      const fanLocalCSS3D = new CSS3DObject(element);
+      fanLocalCSS3D.name = 'text8';
+      fanLocalCSS3D.scale.set(0.03, 0.03, 0.03);
+      fanLocalCSS3D.rotation.y = -Math.PI / 2;
+      fanLocalCSS3D.position.set(-90.04, 6, 5);
+      group.add(fanLocalCSS3D);
+    }
+  }
+  if (!group.getObjectByName('text9')) {
+    const element = document.getElementById('gasBox2') as HTMLElement;
+    if (element) {
+      const fanLocalCSS3D = new CSS3DObject(element);
+      fanLocalCSS3D.name = 'text9';
+      fanLocalCSS3D.scale.set(0.07, 0.07, 0.07);
+      fanLocalCSS3D.rotation.y = -Math.PI / 2;
+      fanLocalCSS3D.position.set(-40, 6, -41);
+      group.add(fanLocalCSS3D);
+    }
+  }
+  if (!group.getObjectByName('text10')) {
+    const element = document.getElementById('gasBox1') as HTMLElement;
+    if (element) {
+      const fanLocalCSS3D = new CSS3DObject(element);
+      fanLocalCSS3D.name = 'text10';
+      fanLocalCSS3D.scale.set(0.1, 0.1, 0.1);
+      fanLocalCSS3D.rotation.y = -Math.PI / 2;
+      fanLocalCSS3D.position.set(100, 10, -45);
+      group.add(fanLocalCSS3D);
+    }
+  }
 };
 
 // export const playSmoke = (controlType, deviceType, frequency, state) => {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 594 - 601
src/views/vent/monitorManager/fanLocalMonitor/index.vue


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio