This commit is contained in:
尹吉欢
2018-04-19 21:07:14 +08:00
parent b407d50be2
commit f3b97fa93b
+7 -1
View File
@@ -2090,6 +2090,7 @@ $(document).on('refresh', '.pull-to-refresh-content',function(e) {
function regionChange(region){
baseInfo.region = region;
var text = region;
var length = region.length;
var textStr = "";
@@ -2220,9 +2221,14 @@ function changeCity(cityStr){
$(this).addClass("active");
var sort = 1;
city = cityStr
console.log(oriCity + "==" + cityStr)
if(oriCity== cityStr){
if(oriRegion!=""){
$("#region").text(oriRegion);
//$("#region").text(oriRegion);
setTimeout(function(){
baseInfo.region = oriRegion;
},1000)
}
lat = oriLat;
lng = oriLng;