+
-
\ No newline at end of file
diff --git a/src/app/pages/gis-home/gis-home.component.scss b/src/app/pages/gis-home/gis-home.component.scss
index 0c4a8a1..120b54a 100644
--- a/src/app/pages/gis-home/gis-home.component.scss
+++ b/src/app/pages/gis-home/gis-home.component.scss
@@ -138,4 +138,9 @@
bottom: 0;
}
-
+.unitList {
+ position: absolute;
+ left: 24%;
+ top: 2%;
+ z-index: 500;
+}
diff --git a/src/app/pages/gis-home/gis-home.component.ts b/src/app/pages/gis-home/gis-home.component.ts
index d2b0320..6e08b63 100644
--- a/src/app/pages/gis-home/gis-home.component.ts
+++ b/src/app/pages/gis-home/gis-home.component.ts
@@ -1172,4 +1172,28 @@ export class GisHomeComponent implements OnInit {
MapClick(e) {
console.log("点击坐标:", e.lnglat.getLng() + "," + e.lnglat.getLat());
}
+
+ urlTo(url) {
+ window.open(url);
+ }
+
+ unitList1 = ["广西有限公司", "重庆有限公司", "柳州有限公司"];
+ unitList2 = [
+ "芯恩集成电路有限公司",
+ "盛宏建材科技有限公司",
+ "高凯斯电子有限公司",
+ "君晟有限公司",
+ "昀朗建筑工程有限公司",
+ "必康有限公司",
+ ];
+ isConnectedUnit = false;
+ handleChildData(e) {
+ console.log(e);
+ if (e === "openCardList") {
+ this.isConnectedUnit = true;
+ }
+ if (e === "closeCardList") {
+ this.isConnectedUnit = false;
+ }
+ }
}
diff --git a/src/app/pages/gis-home/unit-title/unit-title.component.html b/src/app/pages/gis-home/unit-title/unit-title.component.html
index 75c8d6e..3848ec9 100644
--- a/src/app/pages/gis-home/unit-title/unit-title.component.html
+++ b/src/app/pages/gis-home/unit-title/unit-title.component.html
@@ -2,5 +2,5 @@
截至{{time}} , 已接入单位数 :
{{item}}
家
-
-