diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index bb0ad74..34f42e4 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -240,13 +240,13 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap var cityAvgPriceValue = cityAvgPriceMap[cityAvgPriceKey]; if(!isNaN(cityAvgPriceValue)){ if(parseInt(cityAvgPriceValue)>=parseInt(result.price)){ - htmlContent = htmlContent + "
相比"+result.city+"均价: 高"+(parseInt(cityAvgPriceValue)-parseInt(result.price))+"元
"; + htmlContent = htmlContent + "
相比"+result.city+"均价: 低"+(parseInt(cityAvgPriceValue)-parseInt(result.price))+"元
"; }else{ - htmlContent = htmlContent + "
相比"+result.city+"均价: 低"+(parseInt(result.price)-parseInt(cityAvgPriceValue))+"元
"; + htmlContent = htmlContent + "
相比"+result.city+"均价: 高"+(parseInt(result.price)-parseInt(cityAvgPriceValue))+"元
"; } }else{ //为非数字清空放空格 - htmlContent = htmlContent + "
相比"+result.city+"均价: "+' '+"
"; + htmlContent = htmlContent + "
相比"+result.city+"均价: 暂无
"; } htmlContent = htmlContent + "
均价: "+result.price+"元/㎡
"; htmlContent = htmlContent + "
"+tempTotalPrice+"万
";