From ee9667649bf27d71e01ba940b4c74c4d9d8b283b Mon Sep 17 00:00:00 2001 From: bayi Date: Tue, 15 May 2018 16:56:03 +0800 Subject: [PATCH 1/7] =?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/cityDownRanking.html | 4 +++- fangija-zsyf/views/house/cityRanking.html | 10 ++++++++-- fangija-zsyf/views/house/cityUpRanking.html | 4 +++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/fangija-zsyf/views/house/cityDownRanking.html b/fangija-zsyf/views/house/cityDownRanking.html index b658855..ed4f78b 100644 --- a/fangija-zsyf/views/house/cityDownRanking.html +++ b/fangija-zsyf/views/house/cityDownRanking.html @@ -68,6 +68,7 @@ + - + + + + + + + - - - - - - - - - From 9b59d99c7e691c52be3cf0afa2203679482d8eaa Mon Sep 17 00:00:00 2001 From: bayi Date: Tue, 15 May 2018 17:34:05 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=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/cityDownRanking.html | 8 +++++++- fangija-zsyf/views/house/cityRanking.html | 8 +++++++- fangija-zsyf/views/house/cityUpRanking.html | 7 +++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/fangija-zsyf/views/house/cityDownRanking.html b/fangija-zsyf/views/house/cityDownRanking.html index 058d4ba..ec1cce6 100644 --- a/fangija-zsyf/views/house/cityDownRanking.html +++ b/fangija-zsyf/views/house/cityDownRanking.html @@ -12,7 +12,13 @@ - + diff --git a/fangija-zsyf/views/house/cityRanking.html b/fangija-zsyf/views/house/cityRanking.html index 1928fc9..e3fb0b0 100644 --- a/fangija-zsyf/views/house/cityRanking.html +++ b/fangija-zsyf/views/house/cityRanking.html @@ -12,7 +12,13 @@ - + diff --git a/fangija-zsyf/views/house/cityUpRanking.html b/fangija-zsyf/views/house/cityUpRanking.html index 3f50235..e0b3fa7 100644 --- a/fangija-zsyf/views/house/cityUpRanking.html +++ b/fangija-zsyf/views/house/cityUpRanking.html @@ -12,6 +12,13 @@ + From eeddd19c10cddd2f1cef40aab9edcb86d3c787d6 Mon Sep 17 00:00:00 2001 From: bayi Date: Wed, 16 May 2018 11:39:08 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9F=8E=E5=B8=82?= =?UTF-8?q?=E5=9D=87=E4=BB=B7=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/cityRanking.html | 4 +- .../views/house/cityRankingAvgPrice.html | 260 +++++++++++++++ .../views/house/cityRankingPotential.html | 302 ++++++++++++++++++ fangija-zsyf/views/house/houseDetail.html | 4 +- 4 files changed, 566 insertions(+), 4 deletions(-) create mode 100644 fangija-zsyf/views/house/cityRankingAvgPrice.html create mode 100644 fangija-zsyf/views/house/cityRankingPotential.html diff --git a/fangija-zsyf/views/house/cityRanking.html b/fangija-zsyf/views/house/cityRanking.html index e3fb0b0..90e1d47 100644 --- a/fangija-zsyf/views/house/cityRanking.html +++ b/fangija-zsyf/views/house/cityRanking.html @@ -156,7 +156,7 @@ $.config = {router: false} console.log("已显示全部"); this.end = true; }else{ - axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}}) + axios.get("/rest/quotations/queryMarkUpTopByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}}) .then(function (response) { this.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); @@ -207,7 +207,7 @@ $(function() { var itemsPerLoad = 10; function addItems(pageNo,pageSize){ - axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageNo,pageSize:pageSize}}) + axios.get("/rest/quotations/queryMarkUpTopByPage", {params:{pageNo:pageNo,pageSize:pageSize}}) .then(function (response) { tableList.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); diff --git a/fangija-zsyf/views/house/cityRankingAvgPrice.html b/fangija-zsyf/views/house/cityRankingAvgPrice.html new file mode 100644 index 0000000..315bc66 --- /dev/null +++ b/fangija-zsyf/views/house/cityRankingAvgPrice.html @@ -0,0 +1,260 @@ + + + + + +城市涨幅排行 + + + + + + + + + + + + + +
+
+
+ + +

城市均价排行

+
+
+
+ +
+
+ +

没有更多数据

+

上拉查看更多排名

+ +
+ +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fangija-zsyf/views/house/cityRankingPotential.html b/fangija-zsyf/views/house/cityRankingPotential.html new file mode 100644 index 0000000..bec9937 --- /dev/null +++ b/fangija-zsyf/views/house/cityRankingPotential.html @@ -0,0 +1,302 @@ + + + + + +城市潜力排行 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index 7705a09..7dd0b39 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -90,8 +90,8 @@
- - + +
城市涨幅排行
From f033ba52e91ddf7180db9f2b3c995930095779ad Mon Sep 17 00:00:00 2001 From: bayi Date: Wed, 16 May 2018 13:30:49 +0800 Subject: [PATCH 5/7] =?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 @@ -

城市潜力排行

-
- From ce346f710c0fad7ac783a4347ec9266027e331bd Mon Sep 17 00:00:00 2001 From: bayi Date: Wed, 16 May 2018 14:27:39 +0800 Subject: [PATCH 6/7] =?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/houseDetail.html | 58 ++++++++++++++--------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index 7dd0b39..082f089 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -90,33 +90,31 @@
- - -
+
城市涨幅排行 -
-
- 城市潜力排行 -
-
- 城市均价排行 -
-
①{{item.city}}
-
+
+
①{{item.city}}
+
From 436a477b88fc4562aea58b024d6df6c6e6c8e20a Mon Sep 17 00:00:00 2001 From: bayi Date: Wed, 16 May 2018 14:49:27 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E6=8E=92=E5=BA=8F=E8=A7=84=E5=88=99?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/cityRankingAvgPrice.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fangija-zsyf/views/house/cityRankingAvgPrice.html b/fangija-zsyf/views/house/cityRankingAvgPrice.html index b6e11d2..d9bfab7 100644 --- a/fangija-zsyf/views/house/cityRankingAvgPrice.html +++ b/fangija-zsyf/views/house/cityRankingAvgPrice.html @@ -48,8 +48,15 @@ {{city}} + - {{Math.abs(markup*100).toFixed(2)}}% + + {{Math.abs(markup*100).toFixed(2)}}% + + + + + @@ -160,7 +167,7 @@ $.config = {router: false} console.log("已显示全部"); this.end = true; }else{ - axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}}) + axios.get("/rest/quotations/queryAvgPrice", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}}) .then(function (response) { this.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); @@ -211,7 +218,7 @@ $(function() { var itemsPerLoad = 10; function addItems(pageNo,pageSize){ - axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageNo,pageSize:pageSize}}) + axios.get("/rest/quotations/queryAvgPrice", {params:{pageNo:pageNo,pageSize:pageSize}}) .then(function (response) { tableList.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list);