aa
This commit is contained in:
@@ -207,7 +207,6 @@ function onPlusReady(){
|
||||
this.mapObj = new BMap.Map("map", {minZoom:this.datas.minZoom,maxZoom:this.datas.maxZoom})
|
||||
}
|
||||
this.mapObj.enableScrollWheelZoom();
|
||||
alert(this.datas.center.lat);
|
||||
this.mapObj.centerAndZoom(this.datas.center, this.datas.zoom);
|
||||
var that = this;
|
||||
|
||||
|
||||
@@ -1504,7 +1504,7 @@ function initNearDistricts(cityParam,latParam,lngParam,regionParam,order,minPric
|
||||
textStr = textName.substr(0,5)+ "...";
|
||||
}
|
||||
|
||||
html += '<div class="card cardNearby" onclick="openDistWindow('+response.data.data.dtos[i].city+','+response.data.data.dtos[i].district+','+response.data.data.dtos[i].name+')"><div class="card-header">'+
|
||||
html += '<div class="card cardNearby" onclick="openDistWindow(\''+response.data.data.dtos[i].city+'\',\''+response.data.data.dtos[i].district+'\',\''+response.data.data.dtos[i].name+'\')"><div class="card-header">'+
|
||||
textStr+
|
||||
'</div><div class="card-content"><div class="card-content-inner">'+response.data.data.dtos[i].avgPrice+'元/㎡</div></div><div class="card-footer">'+
|
||||
'距您'+response.data.data.dtos[i].distance+'m</div></div>';
|
||||
|
||||
Reference in New Issue
Block a user