From 280b2673779bb2a0ba208db6f41a13bc938ac515 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Fri, 13 Apr 2018 16:32:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BC=B0=E5=88=97=E8=A1=A8=E7=9B=B8?= =?UTF-8?q?=E6=AF=94=E5=9D=87=E4=BB=B7=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= =?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/houseManageList.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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+"万
";