关注
This commit is contained in:
@@ -53,6 +53,7 @@ function loadCityPriceInfo(city){
|
|||||||
}
|
}
|
||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
var data1 = response.data.data
|
var data1 = response.data.data
|
||||||
|
|
||||||
if(data1){
|
if(data1){
|
||||||
var cityObj = new Object();
|
var cityObj = new Object();
|
||||||
cityObj.city = data1.city
|
cityObj.city = data1.city
|
||||||
@@ -67,6 +68,7 @@ function loadCityPriceInfo(city){
|
|||||||
cityInfoVue.$data.myCityMap = cityObj;
|
cityInfoVue.$data.myCityMap = cityObj;
|
||||||
$("#priceDiv").removeClass("dn");
|
$("#priceDiv").removeClass("dn");
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
@@ -486,7 +488,18 @@ function collectCity(city, type){
|
|||||||
})
|
})
|
||||||
return;
|
return;
|
||||||
} else {
|
} 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