diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index e3eac7a..234bea5 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -253,7 +253,6 @@ // }); // 遍历模型中的所有网格 gltf.scene.traverse((child) => { - console.log(child); if (child.name == "立方体1" || child.name == "立方体2") { // 修改或替换材质 // child.material = new THREE.MeshBasicMaterial({ color: 0x545d0c}); // 将材质替换为红色基本材质 diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index e3eac7a..234bea5 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -253,7 +253,6 @@ // }); // 遍历模型中的所有网格 gltf.scene.traverse((child) => { - console.log(child); if (child.name == "立方体1" || child.name == "立方体2") { // 修改或替换材质 // child.material = new THREE.MeshBasicMaterial({ color: 0x545d0c}); // 将材质替换为红色基本材质 diff --git a/src/views/oneMap/OverallOverview/RightBox.vue b/src/views/oneMap/OverallOverview/RightBox.vue index aa2ee6e..7764407 100644 --- a/src/views/oneMap/OverallOverview/RightBox.vue +++ b/src/views/oneMap/OverallOverview/RightBox.vue @@ -62,7 +62,14 @@ {{ item.num }} -
+
{{ item.dw }}
@@ -127,7 +134,12 @@
{{ item.gm }} @@ -139,49 +151,52 @@
- +
@@ -495,7 +510,11 @@ height: 14px; width: 58%; margin-top: 8px; - background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 76, 118, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(0, 43, 67, 0.8) 0%, + rgba(0, 76, 118, 0.8) 100% + ); border-radius: 16px; // border: 1px solid #00B8F7; // background: yellow; @@ -546,7 +565,7 @@ .part { width: 130px; height: 160px; - background: url('@/assets/newImgs/iSpt.png') no-repeat; + background: url("@/assets/newImgs/iSpt.png") no-repeat; background-size: 100% 100%; .parttop { height: 160px; @@ -614,7 +633,7 @@ position: relative; width: 408px; height: 44px; - background: url('@/assets/newImgs/partBg.png') no-repeat; + background: url("@/assets/newImgs/partBg.png") no-repeat; background-size: 100% 100%; font-family: PangMenZhengDao; font-weight: 400; @@ -634,7 +653,7 @@ margin-left: 5px; width: 25px; height: 25px; - background: url('@/assets/newImgs/xtb_img.png') no-repeat; + background: url("@/assets/newImgs/xtb_img.png") no-repeat; } .text { font-family: Source Han Sans CN; @@ -648,7 +667,11 @@ // rgba(0, 242, 255, 0.5) 0%, // rgba(0, 242, 255, 0) 100% // ); - background: linear-gradient(0deg, rgba(28, 138, 255, 0.5) 0%, rgba(28, 138, 255, 0) 100%); + background: linear-gradient( + 0deg, + rgba(28, 138, 255, 0.5) 0%, + rgba(28, 138, 255, 0) 100% + ); height: 10px; line-height: 0px; margin-top: 10px; @@ -750,7 +773,7 @@ height: 44px; line-height: 50px; width: 98%; - background: url('@/assets/newImgs/partBg.png') no-repeat; + background: url("@/assets/newImgs/partBg.png") no-repeat; background-size: 100% 100%; display: flex; align-items: center; diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index e3eac7a..234bea5 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -253,7 +253,6 @@ // }); // 遍历模型中的所有网格 gltf.scene.traverse((child) => { - console.log(child); if (child.name == "立方体1" || child.name == "立方体2") { // 修改或替换材质 // child.material = new THREE.MeshBasicMaterial({ color: 0x545d0c}); // 将材质替换为红色基本材质 diff --git a/src/views/oneMap/OverallOverview/RightBox.vue b/src/views/oneMap/OverallOverview/RightBox.vue index aa2ee6e..7764407 100644 --- a/src/views/oneMap/OverallOverview/RightBox.vue +++ b/src/views/oneMap/OverallOverview/RightBox.vue @@ -62,7 +62,14 @@ {{ item.num }} -
+
{{ item.dw }}
@@ -127,7 +134,12 @@
{{ item.gm }} @@ -139,49 +151,52 @@
- +
@@ -495,7 +510,11 @@ height: 14px; width: 58%; margin-top: 8px; - background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 76, 118, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(0, 43, 67, 0.8) 0%, + rgba(0, 76, 118, 0.8) 100% + ); border-radius: 16px; // border: 1px solid #00B8F7; // background: yellow; @@ -546,7 +565,7 @@ .part { width: 130px; height: 160px; - background: url('@/assets/newImgs/iSpt.png') no-repeat; + background: url("@/assets/newImgs/iSpt.png") no-repeat; background-size: 100% 100%; .parttop { height: 160px; @@ -614,7 +633,7 @@ position: relative; width: 408px; height: 44px; - background: url('@/assets/newImgs/partBg.png') no-repeat; + background: url("@/assets/newImgs/partBg.png") no-repeat; background-size: 100% 100%; font-family: PangMenZhengDao; font-weight: 400; @@ -634,7 +653,7 @@ margin-left: 5px; width: 25px; height: 25px; - background: url('@/assets/newImgs/xtb_img.png') no-repeat; + background: url("@/assets/newImgs/xtb_img.png") no-repeat; } .text { font-family: Source Han Sans CN; @@ -648,7 +667,11 @@ // rgba(0, 242, 255, 0.5) 0%, // rgba(0, 242, 255, 0) 100% // ); - background: linear-gradient(0deg, rgba(28, 138, 255, 0.5) 0%, rgba(28, 138, 255, 0) 100%); + background: linear-gradient( + 0deg, + rgba(28, 138, 255, 0.5) 0%, + rgba(28, 138, 255, 0) 100% + ); height: 10px; line-height: 0px; margin-top: 10px; @@ -750,7 +773,7 @@ height: 44px; line-height: 50px; width: 98%; - background: url('@/assets/newImgs/partBg.png') no-repeat; + background: url("@/assets/newImgs/partBg.png") no-repeat; background-size: 100% 100%; display: flex; align-items: center; diff --git a/src/views/oneMap/SmartDrainage/PsRightBox.vue b/src/views/oneMap/SmartDrainage/PsRightBox.vue index 322cead..bcb4123 100644 --- a/src/views/oneMap/SmartDrainage/PsRightBox.vue +++ b/src/views/oneMap/SmartDrainage/PsRightBox.vue @@ -521,7 +521,9 @@ getWaterlogging(); }); -onBeforeUnmount(() => {}); +onBeforeUnmount(() => { + bus.emit("clearAllLayer"); +});