From f033ba52e91ddf7180db9f2b3c995930095779ad Mon Sep 17 00:00:00 2001 From: bayi Date: Wed, 16 May 2018 13:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/cityRanking.html | 11 +- .../views/house/cityRankingAvgPrice.html | 11 +- .../views/house/cityRankingPotential.html | 305 +++++++++--------- 3 files changed, 167 insertions(+), 160 deletions(-) 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 @@ -

城市潜力排行

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