This commit is contained in:
2018-04-10 09:37:45 +08:00
parent 2c339824de
commit f45baef380
8 changed files with 130 additions and 48 deletions
@@ -52,6 +52,14 @@ $(".content-block .button").on("click", function () {
$(this).addClass("active");
});
var t1 = window.setTimeout(loadMap,1000);
function loadMap(){
if(lng && lat){
loadMapPoi();
window.clearTimeout(t1);
}
}
//小区详情
function loadDistrictInfo(){
axios.get("/rest/districts/detail", {