Commit 26d9579d by fengfan

popup

parent 0d67cf58
...@@ -126,16 +126,16 @@ class Map3D { ...@@ -126,16 +126,16 @@ class Map3D {
console.log(item); console.log(item);
var html = ` var html = `
<div id=box> <div id=box>
<div id=title>${item.clientaddress || item.name}</div> <div id=title>${item.name}</div>
<div id=contant> <div id=contant>
<div class=li> <div class=li>
<div>阿斯顿</div>1 <div>地址</div>${item.address}
</div> </div>
<div class=li> <div class=li>
<div>阿斯顿</div>2 <div>电话</div>${item.telephone}
</div> </div>
<div class=li> <div class=li>
<div>阿顿</div>啊实打实的 <div>职位</div>${item.role}
</div> </div>
</div> </div>
<div id=close onclick="popclose()"></div> <div id=close onclick="popclose()"></div>
...@@ -168,7 +168,7 @@ class Map3D { ...@@ -168,7 +168,7 @@ class Map3D {
marker._data = item marker._data = item
marker.on('click', (params) => { marker.on('click', (params) => {
console.log(item, params); console.log(item, params);
// infoWindow.open(this.map, marker.getPosition()); infoWindow.open(this.map, marker.getPosition());
}) })
...@@ -185,13 +185,13 @@ class Map3D { ...@@ -185,13 +185,13 @@ class Map3D {
<div id=title>${item.USERNAME}</div> <div id=title>${item.USERNAME}</div>
<div id=contant> <div id=contant>
<div class=li> <div class=li>
<div>阿斯顿</div>1 <div>区域</div>${item.CITY}${item.COUNTY}
</div> </div>
<div class=li> <div class=li>
<div>阿斯顿</div>2 <div>电话</div>${item.MOBILE}
</div> </div>
<div class=li> <div class=li>
<div>阿顿</div>啊实打实的 <div>职级</div>${item.DUTY}
</div> </div>
</div> </div>
<div id=close onclick="popclose()"></div> <div id=close onclick="popclose()"></div>
...@@ -224,7 +224,7 @@ class Map3D { ...@@ -224,7 +224,7 @@ class Map3D {
marker._data = item marker._data = item
marker.on('click', (params) => { marker.on('click', (params) => {
console.log(item, params); console.log(item, params);
// infoWindow.open(this.map, marker.getPosition()); infoWindow.open(this.map, marker.getPosition());
}) })
...@@ -246,7 +246,7 @@ class Map3D { ...@@ -246,7 +246,7 @@ class Map3D {
<div>阿斯顿</div>2 <div>阿斯顿</div>2
</div> </div>
<div class=li> <div class=li>
<div>阿顿</div>啊实打实的 <div>阿顿</div>啊实打实的2
</div> </div>
</div> </div>
<div id=close onclick="popclose()"></div> <div id=close onclick="popclose()"></div>
...@@ -279,7 +279,7 @@ class Map3D { ...@@ -279,7 +279,7 @@ class Map3D {
marker._data = item marker._data = item
marker.on('click', (params) => { marker.on('click', (params) => {
console.log(item, params); console.log(item, params);
// infoWindow.open(this.map, marker.getPosition()); infoWindow.open(this.map, marker.getPosition());
}) })
...@@ -295,10 +295,7 @@ class Map3D { ...@@ -295,10 +295,7 @@ class Map3D {
<div id=title>${name}</div> <div id=title>${name}</div>
<div id=contant> <div id=contant>
<div class=li> <div class=li>
<div>阿斯顿</div>1 <div>状态</div>${item.clientStatus }
</div>
<div class=li>
<div>阿斯顿</div>2
</div> </div>
<div class=li> <div class=li>
<div>地址</div>${item.clientAddress } <div>地址</div>${item.clientAddress }
...@@ -334,7 +331,7 @@ class Map3D { ...@@ -334,7 +331,7 @@ class Map3D {
marker._data = item marker._data = item
marker.on('click', (params) => { marker.on('click', (params) => {
console.log(item, params); console.log(item, params);
// infoWindow.open(this.map, marker.getPosition()); infoWindow.open(this.map, marker.getPosition());
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment