diff --git a/fangija-zsyf/js/user/myHouse.js b/fangija-zsyf/js/user/myHouse.js
index 7f36148..70cf389 100644
--- a/fangija-zsyf/js/user/myHouse.js
+++ b/fangija-zsyf/js/user/myHouse.js
@@ -105,7 +105,7 @@ function mhAddItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap,
if(!isNaN(xqPotentialIndexValue)){
//涨跌幅大于零
if(parseInt(xqPotentialIndexValue)>=50){
- html += "
diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html
index 7cc9a1b..02a1b16 100644
--- a/fangija-zsyf/views/house/houseList.html
+++ b/fangija-zsyf/views/house/houseList.html
@@ -348,7 +348,7 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq
if(!isNaN(xqPotentialIndexValue)){
//涨跌幅大于零
if(parseInt(xqPotentialIndexValue)>=50){
- html += "
下跌概率: "+xqPotentialIndexValue+"%
";
+ html += "
上涨概率: "+xqPotentialIndexValue+"%
";
}else{
html += "
下跌概率: "+(parseInt(100)-parseInt(xqPotentialIndexValue))+"%
";
}
diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html
index 4d8ffad..7b08e84 100644
--- a/fangija-zsyf/views/house/houseManageList.html
+++ b/fangija-zsyf/views/house/houseManageList.html
@@ -246,8 +246,8 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap
var cityAvgPriceKey = result.city;
//取得对应城市的value
var cityAvgPriceValue = cityAvgPriceMap[cityAvgPriceKey];
- if(!isNaN(cityAvgPriceValue)){
- if(parseInt(cityAvgPriceValue)>=parseInt(result.price)){
+ if(!isNaN(cityAvgPriceValue) && result.price>0){
+ if(parseInt(cityAvgPriceValue)>parseInt(result.price)){
htmlContent = htmlContent + "
相比"+result.city+"均价: 低"+(parseInt(cityAvgPriceValue)-parseInt(result.price))+"元
";
}else{
htmlContent = htmlContent + "
相比"+result.city+"均价: 高"+(parseInt(result.price)-parseInt(cityAvgPriceValue))+"元
";
diff --git a/fangija-zsyf/views/news/newsDetail.html b/fangija-zsyf/views/news/newsDetail.html
index ee4962e..bf3ed16 100644
--- a/fangija-zsyf/views/news/newsDetail.html
+++ b/fangija-zsyf/views/news/newsDetail.html
@@ -291,12 +291,19 @@ function addItems(number, lastIndex) {
html = html + "
";
- var name = "游客"
+ var name = null;
if(vo.wxName){
name = vo.wxName
- }else if(vo.name){
+ }
+ if(name == null){
name = vo.name
}
+ if(name == null){
+ name = vo.mobile
+ }
+ if(name == null){
+ name = "游客"
+ }
html = html + "
"+
"
"+name+"
"+
"
"+