显示城市楼盘总数
This commit is contained in:
+2
@@ -188,6 +188,8 @@ public class TrendController {
|
|||||||
// avgPrice = model.getRegionStatBo().getAvgPrice();
|
// avgPrice = model.getRegionStatBo().getAvgPrice();
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
int count = districtService.findCityDistrictCount(city);
|
||||||
|
model.setCount(count);
|
||||||
model.setTrendView(trendView);
|
model.setTrendView(trendView);
|
||||||
//model.setLastestHouse(getRelatedHouse(model.getRegion(), avgPrice));
|
//model.setLastestHouse(getRelatedHouse(model.getRegion(), avgPrice));
|
||||||
return model;
|
return model;
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ public class TrendModel extends BaseModel implements TrendViewModel {
|
|||||||
private int showBlock; // 小区走势图里显示板块线,不为0时显示
|
private int showBlock; // 小区走势图里显示板块线,不为0时显示
|
||||||
private String errMsg; //错误信息
|
private String errMsg; //错误信息
|
||||||
private int code; //错误code 1成功 -1失败
|
private int code; //错误code 1成功 -1失败
|
||||||
|
private int count;
|
||||||
public String getKeyword() {
|
public String getKeyword() {
|
||||||
return keyword;
|
return keyword;
|
||||||
}
|
}
|
||||||
@@ -317,4 +318,11 @@ public class TrendModel extends BaseModel implements TrendViewModel {
|
|||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getCount() {
|
||||||
|
return count;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCount(int count) {
|
||||||
|
this.count = count;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,6 +125,7 @@
|
|||||||
|
|
||||||
<div class="trend01b">
|
<div class="trend01b">
|
||||||
<#if districtStatBo?? || regionStatBo??>
|
<#if districtStatBo?? || regionStatBo??>
|
||||||
|
<#if count??><div><em>${count!}</em><label>楼盘总量</label></div></#if>
|
||||||
<#if districtStatBo??>
|
<#if districtStatBo??>
|
||||||
<div><em><#if districtStatBo.lastTimeDistrictStat??>${districtStatBo.lastTimeDistrictStat.avgPrice}<#else>暂无</#if></em><label>上周均价(元/㎡)</label></div>
|
<div><em><#if districtStatBo.lastTimeDistrictStat??>${districtStatBo.lastTimeDistrictStat.avgPrice}<#else>暂无</#if></em><label>上周均价(元/㎡)</label></div>
|
||||||
<div><em><#if districtStatBo.districtStat??>${districtStatBo.districtStat.avgPrice}<#else>暂无</#if></em><label>本周均价(元/㎡)</label></div>
|
<div><em><#if districtStatBo.districtStat??>${districtStatBo.districtStat.avgPrice}<#else>暂无</#if></em><label>本周均价(元/㎡)</label></div>
|
||||||
|
|||||||
@@ -424,7 +424,7 @@
|
|||||||
.trend01a p small{display:block;text-align:center;font-size:12px;color:#999;margin-bottom:10px;}
|
.trend01a p small{display:block;text-align:center;font-size:12px;color:#999;margin-bottom:10px;}
|
||||||
|
|
||||||
.trend01b{overflow:hidden;}
|
.trend01b{overflow:hidden;}
|
||||||
.trend01b div{width:350px;height:110px;background:url(../../../images/fangjia/v5/evaluation_line.png);border:solid 1px #e7ecf1;padding-top:30px;float:left;margin-right:72px;}
|
.trend01b div{width:20%;height:110px;background:url(../../../images/fangjia/v5/evaluation_line.png);border:solid 1px #e7ecf1;padding-top:30px;float:left;margin-right:72px;}
|
||||||
|
|
||||||
.trend01b div label{display:block;text-align:center;color:#666;line-height:40px;}
|
.trend01b div label{display:block;text-align:center;color:#666;line-height:40px;}
|
||||||
.trend01b div em{display:block;text-align:center;font-size:36px;}
|
.trend01b div em{display:block;text-align:center;font-size:36px;}
|
||||||
|
|||||||
Reference in New Issue
Block a user