diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html index 5b58a5e..86473c3 100644 --- a/fangija-zsyf/views/house/houseList.html +++ b/fangija-zsyf/views/house/houseList.html @@ -237,13 +237,14 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq //考虑是否为数字,加强逻辑判断 if(!isNaN(tempTotalPrice)){ //转换成元,四舍五入 - tempTotalPrice = (parseFloat(tempTotalPrice)/10000).toFixed(2); tempTotalPricePercent = (parseFloat(tempTotalPrice)*0.7/10000).toFixed(2); + tempTotalPrice = (parseFloat(tempTotalPrice)/10000).toFixed(2); } html += "
  • "; html += "
    "; html += "
    "+result.name+" "+tempTotalPrice+"万"+result.liveStatus+"
    "; - html += "
    "; + html += "
    "; + //对应城市地区小区30天涨跌幅 var xqOneMonthUpDownRangeKey = result.city+"-"+result.region +"-"+result.name; var xqOneMonthUpDownRangeValue = xqOneMonthUpDownRangeMap[xqOneMonthUpDownRangeKey]; @@ -257,6 +258,7 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq }else{ html += "
    近30天涨跌幅: %
    "; } + //下跌概率 var xqPotentialIndexValue = xqPotentialIndexMap[xqOneMonthUpDownRangeKey]; if(!isNaN(xqPotentialIndexValue)){ @@ -269,7 +271,9 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq }else{ html += "
    下跌概率: %
    "; } + html += "
    抵押可贷额度: "+tempTotalPricePercent+"万
    "; + if(result.level!=null && result.level == 1){ html += "豪宅级"; }else if(result.level!=null && result.level == 2){