update bug
This commit is contained in:
@@ -1271,17 +1271,20 @@ $.config = {router: false}
|
||||
var city = "";
|
||||
plus.geolocation.getCurrentPosition(function(p){
|
||||
city = p.address.city;
|
||||
|
||||
if(city && city.endsWith("市")){
|
||||
|
||||
var formatCity = formatBaiduCity(city);
|
||||
positionCity = formatCity
|
||||
city = formatCity;
|
||||
$(".nowCity").html(city);
|
||||
|
||||
loadAllCityData();
|
||||
}
|
||||
loadMyCollectCity();
|
||||
|
||||
}, function(e){
|
||||
loadAllCityData();
|
||||
loadMyCollectCity();
|
||||
},
|
||||
{
|
||||
provider:'baidu',
|
||||
@@ -1352,7 +1355,7 @@ $.config = {router: false}
|
||||
window.location.href = "01_index04_districtDetail.html";
|
||||
});
|
||||
|
||||
loadMyCollectCity();
|
||||
|
||||
|
||||
//城市选择
|
||||
//$("#cityCopy").html($('.tabs').html())
|
||||
@@ -1389,7 +1392,7 @@ $.config = {router: false}
|
||||
search();
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
//加载首页全国数据
|
||||
|
||||
Reference in New Issue
Block a user