diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index f368943..7b52252 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -28,49 +28,31 @@
-
-
-
+
- 2018年1月全国366个城市房价 + {{nowYear}}年{{nowMonth}}月全国{{cityCount}}个城市房价
- 37% + {{upRate}}% - 63% + {{downRate}}%
@@ -78,144 +60,82 @@
-
-
我的关注
- +
+
-
+
-
-
城市涨幅排行
-
①上海
-
-
8.98%
+
+
+ 城市涨幅排行
- -
-
-
城市潜力排行
-
①上海
-
-
潜力指数
+
+ 城市潜力排行
- -
-
-
城市均价排行
-
①北京
-
-
2.89%
+
+ 城市均价排行 +
+
①{{item.city}}
+
+
+ {{item.oneMonthUpDownRange*100}}% +
+
+ 潜力指数 +
+
+ {{Math.abs(item.oneMonthUpDownRange*100)}}% + + + +
+
+ + -
@@ -224,58 +144,15 @@
-

青岛

+

北京

-

三亚

+

上海

-

昆明

-
-
-
-
楼市资讯
-
-
-
-
    -
  • -
    -
    -
    市场上有不同种类的房源待售,经济适用房作为保障性住房的一种,政府对此非常重视。
    -
    -
    - 2022人1245条 -
    -
    -
    - -
    -
  • -
-
-
-
-
-
-
-
    -
  • -
    -
    -
    市场上有不同种类的房源待售,经济适用房作为保障性住房的一种,政府对此非常重视。
    -
    -
    - 2022人1245条 -
    -
    -
    - -
    -
  • -
+

深圳

@@ -622,6 +499,56 @@ $.config = {router: false} city:city } }) + //加载首页全国数据 + $(function() { + var date=new Date; + var year=date.getFullYear(); + var month=date.getMonth()+1; + axios.get("/rest/quotations/countrywideInfo", { + params: { + + } + }) + .then(function (response) { + new Vue({ + el: '#countryInfo', + data: { + nowYear : year, + nowMonth : month, + cityCount : response.data.data.cityCount, + upRate : response.data.data.upRate, + downRate : response.data.data.downRate, + avgUpRate : response.data.data.avgUpRate, + avgUownRate : response.data.data.avgUownRate + } + }) + + }) + .catch(function (error) { + console.log(error); + }); + + axios.get("/rest/quotations/levelCityInfo", { + params: { + + } + }) + .then(function (response) { + console.log(response.data.data) + //0:涨幅排行 1:潜力排行 2:均价排行 + new Vue({ + el: '#countryRank', + data: { + datas : response.data.data + } + }) + + }) + .catch(function (error) { + console.log(error); + }); + + });