From c616419ca41855492379331bf4a1a0d2a3ce1456 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Mon, 16 Apr 2018 15:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=20=E5=9D=87=E4=BB=B7=20=20?= =?UTF-8?q?=20=E5=92=8C=20=E5=BD=93=E5=89=8D=E5=9F=8E=E5=B8=82=E7=9B=B8?= =?UTF-8?q?=E7=AD=89=20=E6=98=BE=E7=A4=BA=E9=AB=98=E9=9B=B6=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/houseManageList.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index 3948832..7b08e84 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -247,7 +247,7 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap //取得对应城市的value var cityAvgPriceValue = cityAvgPriceMap[cityAvgPriceKey]; if(!isNaN(cityAvgPriceValue) && result.price>0){ - if(parseInt(cityAvgPriceValue)>=parseInt(result.price)){ + 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))+"元
";