diff --git a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js
index 8eb91d9..be7f94d 100644
--- a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js
+++ b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js
@@ -27,8 +27,8 @@ Vue.component('city_increase_ranking',{
'{{!ci.oneMonthUpDownRange||ci.oneMonthUpDownRange==""?"暂无":Math.abs(100*ci.oneMonthUpDownRange).toFixed(2)+"%"}}'+
''+
'
'+
- '关注'+
- '取消'+
+ '关注'+
+ '取消'+
'
'+
''+
''+
@@ -47,14 +47,18 @@ Vue.component('city_increase_ranking',{
console.log(error)
})
},
- follow:function(city){
+ follow:function(city,event){
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
+ $(event.target).parent().children().removeClass("dn");
+ $(event.target).addClass("dn");
}).catch(function(error){
console.log(error)
})
},
- abolish:function(city){
+ abolish:function(city,event){
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
+ $(event.target).parent().children().removeClass("dn");
+ $(event.target).addClass("dn");
}).catch(function(error){
console.log(error)
})
diff --git a/fangija-zsyf/views/component/cityPotentialRankingComponent.js b/fangija-zsyf/views/component/cityPotentialRankingComponent.js
index 377b2c3..0ffe245 100644
--- a/fangija-zsyf/views/component/cityPotentialRankingComponent.js
+++ b/fangija-zsyf/views/component/cityPotentialRankingComponent.js
@@ -33,8 +33,8 @@ Vue.component('city_potential_ranking',{
''+
''+
''+
- '关注'+
- '取消'+
+ '关注'+
+ '取消'+
'
'+
''+
''+
@@ -48,7 +48,6 @@ Vue.component('city_potential_ranking',{
methods:{
loadCityPotentialRanking:function(){
axios.get("/rest/quotations/potentialUpTopInfos").then(function(response){
-// alert(1)
list = response.data.data;
$(list).each(function(i){
var index = this.index;
@@ -66,14 +65,20 @@ Vue.component('city_potential_ranking',{
console.log(error)
})
},
- follow:function(city){
+ follow:function(city,event){
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
+ $(event.target).parent().children().removeClass("dn");
+ $(event.target).addClass("dn");
+ loadCityPotentialRanking()
}).catch(function(error){
console.log(error)
})
},
- abolish:function(city){
+ abolish:function(city,event){
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
+ $(event.target).parent().children().removeClass("dn");
+ $(event.target).addClass("dn");
+ loadCityPotentialRanking()
}).catch(function(error){
console.log(error)
})
diff --git a/fangija-zsyf/views/component/myFocusComponent.js b/fangija-zsyf/views/component/myFocusComponent.js
index cbf3222..551a754 100644
--- a/fangija-zsyf/views/component/myFocusComponent.js
+++ b/fangija-zsyf/views/component/myFocusComponent.js
@@ -26,7 +26,7 @@ Vue.component('my_focus',{
'{{mf.city}}
'+
'{{!mf.cityTopMonthAvgPrice||mf.cityTopMonthAvgPrice==""?"暂无":""+mf.cityTopMonthAvgPrice+"元/㎡"}}
'+
''+
- '{{!mf.oneMonthUpDownRange||mf.oneMonthUpDownRange==""?"暂无":Math.abs(mf.oneMonthUpDownRange*100).toFixed(2)+"%"}}'+
+ '{{!mf.oneMonthUpDownRange||mf.oneMonthUpDownRange==""?"暂无":Math.abs(mf.oneMonthUpDownRange*100).toFixed(2)+"%"}}'+
'
'+
''+
'{{mf.rangeLevel}}'+
@@ -50,14 +50,13 @@ Vue.component('my_focus',{
}else{
axios.get("/rest/quotations/userCollectCityInfo").then(function(response){
if(response.data.data.length==0){
- alert("aa");
$("#myFocusFirstPage").hide();
$("#myFocus").hide();
}else{
myFocusDatas.myFocusList = response.data.data;
}
}).catch(function(error){
- console.log(error)
+ console.log(error)
})
}
}
diff --git a/fangija-zsyf/views/evaluate/evaluateReport.html b/fangija-zsyf/views/evaluate/evaluateReport.html
index 130164f..d2ba2da 100644
--- a/fangija-zsyf/views/evaluate/evaluateReport.html
+++ b/fangija-zsyf/views/evaluate/evaluateReport.html
@@ -47,7 +47,7 @@
- 再估一套
+ 再估一套
@@ -81,7 +81,7 @@
-->
-
+
您的反馈很重要,是我们努力的动力
@@ -142,13 +142,12 @@ $.config = {router: false}