关注
This commit is contained in:
@@ -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)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user