diff --git a/fangija-zsyf/views/house/cityRanking.html b/fangija-zsyf/views/house/cityRanking.html index 90e1d47..1ddc10c 100644 --- a/fangija-zsyf/views/house/cityRanking.html +++ b/fangija-zsyf/views/house/cityRanking.html @@ -18,6 +18,10 @@ color: #999; text-align: center; } +.list-block.cityList .item-subtitle div img { + width: 1rem; + margin: 0 auto; +} @@ -211,6 +215,11 @@ $(function() { .then(function (response) { tableList.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); + if(pageBean.pageNo==1){ + tableList.avgPrice = response.data.data.list[0].avgPrice; + tableList.city = response.data.data.list[0].city; + tableList.markup = response.data.data.list[0].markup; + } pageBean.pageNo=pageBean.pageNo+1; }) .catch(function (error) { @@ -218,7 +227,7 @@ $(function() { }); } //预先加载10条 - addItems(1, 10); + addItems(pageBean.pageNo, pageBean.pageSize); // 上次加载的序号 var lastIndex = 10; diff --git a/fangija-zsyf/views/house/cityRankingAvgPrice.html b/fangija-zsyf/views/house/cityRankingAvgPrice.html index 315bc66..b6e11d2 100644 --- a/fangija-zsyf/views/house/cityRankingAvgPrice.html +++ b/fangija-zsyf/views/house/cityRankingAvgPrice.html @@ -3,7 +3,7 @@ -城市涨幅排行 +城市均价排行 @@ -18,6 +18,10 @@ color: #999; text-align: center; } +.list-block.cityList .item-subtitle div img { + width: 1rem; + margin: 0 auto; +} @@ -211,6 +215,11 @@ $(function() { .then(function (response) { tableList.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); + if(pageBean.pageNo==1){ + tableList.avgPrice = response.data.data.list[0].avgPrice; + tableList.city = response.data.data.list[0].city; + tableList.markup = response.data.data.list[0].markup; + } pageBean.pageNo=pageBean.pageNo+1; }) .catch(function (error) { diff --git a/fangija-zsyf/views/house/cityRankingPotential.html b/fangija-zsyf/views/house/cityRankingPotential.html index bec9937..f342839 100644 --- a/fangija-zsyf/views/house/cityRankingPotential.html +++ b/fangija-zsyf/views/house/cityRankingPotential.html @@ -12,11 +12,18 @@ - - @@ -27,23 +34,36 @@ -

城市潜力排行

-
+
-
  • +
  • -
  • - -
    -
    -
    -
    北京
    -
    12283元/㎡
    +
    {{item.city}}
    +
    {{item.avgPrice}}元/㎡
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    沈阳
    -
    10840元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    4
    -
    苏州
    -
    13586元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    5
    -
    天津
    -
    13192元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    6
    -
    成都
    -
    12689元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    7
    -
    海口
    -
    10233元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    8
    -
    资阳
    -
    4840元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    9
    -
    达州
    -
    5660元/㎡
    -
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    10
    -
    衢州
    -
    10124元/㎡
    -
    - + + + + + + + + + + + +
  • -

    上拉查看更多排名

    +

    没有更多数据

    +

    上拉查看更多排名

    @@ -214,7 +125,6 @@
    -