From 76950affed3e62fbc4e322432f874a2a797c0ba7 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 28 四月 2022 12:13:25 +0800
Subject: [PATCH] 调整popup样式

---
 src/views/index.vue     |    1 -
 src/assets/css/demo.css |   12 ++++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/assets/css/demo.css b/src/assets/css/demo.css
index 2c464df..1f00e79 100644
--- a/src/assets/css/demo.css
+++ b/src/assets/css/demo.css
@@ -33,4 +33,16 @@
     border: none;
     background: url(../mapv2/icon_fengongsi_mm.png);
     
+}
+.shape-company{
+    background: url(../mapv2/bg_checked.png) no-repeat;
+    background-position: top center;
+    width: 410px;
+    height: 315px;
+    text-align: center;
+}
+.shape-company span{
+    font-size: 22px;
+    line-height: 44px;
+    font-family: "YouSheBiaoTiHei";
 }
\ No newline at end of file
diff --git a/src/views/index.vue b/src/views/index.vue
index 3dae9f4..270f014 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -225,7 +225,6 @@
           const graphic = new this.mars3d.graphic.PolygonEntity({
             positions: datas[i].shape,
             popup: `<div class="shape-company">
-            <img src="${bg_checked}" alt="Smiley face" width="42" height="42">
             <span>${datas[i].companyName}</span>
             </div>`,
 

--
Gitblit v1.9.1