Commit bf0eddad by cwq0219

地图

1 parent 3ea786f2
...@@ -197,8 +197,8 @@ ...@@ -197,8 +197,8 @@
setPosition(targerItem) setPosition(targerItem)
}) })
$('#pois').append(el) $('#pois').append(el)
var child1 = $('<p></p>').text(item.name).addClass('name') var child1 = $('<p class="name"></p>').text(item.name)
var child2 = $('<p></p>').text(item.address).addClass('addr') var child2 = $('<p class="addr"></p>').text(item.address)
el.append(child1) el.append(child1)
el.append(child2) el.append(child2)
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!