This commit is contained in:
2018-04-19 20:52:14 +08:00
parent 29efd30e8b
commit 7ba0d7a30c
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1266,10 +1266,13 @@ function getPosition(){
initBaseInfo(city,region,address,lat,lng);
if(city!="上海"){
//$(".content").removeClass("pull-to-refresh-content");
$.destroyPullToRefresh(".content")
initRegionSelect(city);
$("#ShangHaiDiv").hide();
$("#otherCityDiv").show();
}else{
$.initPullToRefresh(".content")
$("#ShangHaiDiv").show();
$("#otherCityDiv").hide();
}
@@ -2243,10 +2246,13 @@ function changeCity(cityStr){
lat = 0;
lng = 0;
if(cityStr=="上海"){
$.initPullToRefresh(".content")
$("#ShangHaiDiv").show();
$("#otherCityDiv").hide();
//initNews()
}else{
//$(".content").removeClass("pull-to-refresh-content");
$.destroyPullToRefresh(".content")
$("#select_order").find("div").removeClass("active");
$("#select_order").find("i").removeClass("icon-check");
$(".order a").text("按潜力指数");