فهرست منبع

修改白模颜色

maxiaoxiao 1 سال پیش
والد
کامیت
5aaf41fba8
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/views/siteselection/components/xzjg.vue

+ 2 - 1
src/views/siteselection/components/xzjg.vue

@@ -345,7 +345,8 @@ export default {
               }
               if (height && entity.polygon) {
                 entity.polygon.extrudedHeight = height;
-                entity.polygon.material = Cesium.Color.WHITE;
+                entity.polygon.material =
+                  Cesium.Color.fromCssColorString("#c1c1c1");
                 entity.polygon.outlineColor = Cesium.Color.BLACK;
                 entity.polygon.outlineWidth = 1.0;
                 // if (!addlabel) {