diff --git a/fangija-zsyf/views/component/cityChooseComponent.js b/fangija-zsyf/views/component/cityChooseComponent.js new file mode 100644 index 0000000..adf46a0 --- /dev/null +++ b/fangija-zsyf/views/component/cityChooseComponent.js @@ -0,0 +1,881 @@ +////markFocus:已关注城市是否加标志(0:否,1:是) +////clickFocus:点击城市是否添加关注(0:否,1:是) +//var cityChooseOption = {markFocus:0,clickFocus:0} + +Vue.component('city_choose',{ + template: +' ' +}) + diff --git a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js index 6e52331..834e39a 100644 --- a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js +++ b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js @@ -1,4 +1,4 @@ -var cityIncreaseRankingData = {cityIncreaseRankingList:[]}; +var cityIncreaseRankingData = {cityIncreaseRankingList:[],test:"ttt"}; Vue.component('city_increase_ranking',{ template:'
'+ diff --git a/fangija-zsyf/views/component/cityPotentialRankingComponent.js b/fangija-zsyf/views/component/cityPotentialRankingComponent.js index 62a9fe5..bb11cdd 100644 --- a/fangija-zsyf/views/component/cityPotentialRankingComponent.js +++ b/fangija-zsyf/views/component/cityPotentialRankingComponent.js @@ -68,9 +68,17 @@ Vue.component('city_potential_ranking',{ }, follow:function(city){ alert(city) + axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ + }).catch(function(error){ + console.log(error) + }) }, abolish:function(city){ alert(city) + axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ + }).catch(function(error){ + console.log(error) + }) } }, mounted:function(){ diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index bec6cae..fa020b9 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -577,881 +577,12 @@
- - + + +
+ +
+