Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into xh-youfangApp1.1
This commit is contained in:
@@ -21,7 +21,7 @@ $(document).on("click",".open-about01", function () {
|
||||
if(collects){
|
||||
if(collects.indexOf(text)>-1){
|
||||
$(this).addClass("collectionCity");
|
||||
$(this).find("i").addClass("icon-collection03");
|
||||
//$(this).find("i").addClass("icon-collection03");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -496,6 +496,7 @@ function docollectCity(city, type){
|
||||
}).then(function (response) {
|
||||
var msg = response.data.message;
|
||||
if(msg){
|
||||
|
||||
if(msg == "取消关注成功"){
|
||||
try{
|
||||
cityInfoVue.$data.collecd = false;
|
||||
@@ -503,7 +504,7 @@ function docollectCity(city, type){
|
||||
var da = cityDetaiVue.$data.citys
|
||||
if(da && da.length>0){
|
||||
var index = da.indexOf(city)
|
||||
if(index>0){
|
||||
if(index>=0){
|
||||
da.splice(index, 1)
|
||||
cityDetaiVue.$data.citys = da;
|
||||
if(da.length>0){
|
||||
|
||||
Reference in New Issue
Block a user