This commit is contained in:
2018-04-17 11:48:55 +08:00
parent c9b7ef2c24
commit 2a52adc4d1
+14 -1
View File
@@ -53,6 +53,7 @@ function loadCityPriceInfo(city){
}
}).then(function (response) {
var data1 = response.data.data
if(data1){
var cityObj = new Object();
cityObj.city = data1.city
@@ -67,6 +68,7 @@ function loadCityPriceInfo(city){
cityInfoVue.$data.myCityMap = cityObj;
$("#priceDiv").removeClass("dn");
}
}).catch(function (error) {
console.log(error);
});
@@ -486,7 +488,18 @@ function collectCity(city, type){
})
return;
} else {
docollectCity(city, type)
var title = ""
if(type == 0){
title = "您确定要添加关注?"
}else{
title = "您确定要取消关注?"
}
$.confirm(title, function () {
docollectCity(city, type)
});
}
}