From b018e1b40577de136160c3ef851f2faf2ac41f47 Mon Sep 17 00:00:00 2001 From: raoyanhui Date: Fri, 13 Apr 2018 13:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=97=B6=E5=80=99=20=E5=BC=B9=E5=87=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=92=8C=E8=B7=B3=E8=BD=AC=E9=A1=B5=E9=9D=A2=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/house/houseList.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html index 3a89eeb..03789d7 100644 --- a/fangija-zsyf/views/house/houseList.html +++ b/fangija-zsyf/views/house/houseList.html @@ -323,9 +323,14 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq tempTotalPricePercent = (parseFloat(tempTotalPrice)*0.7/10000).toFixed(2); tempTotalPrice = (parseFloat(tempTotalPrice)/10000).toFixed(2); } - html += '
  • '; + html += '
  • '; html += "
    "; - html += "
    "+result.name+" "+tempTotalPrice+"万"+result.liveStatus+"
    "; + html += "
    "+result.name+" "+tempTotalPrice+"万"; + if(result.liveStatus!=null && result.liveStatus.length>0){ + html += ""+result.liveStatus+"
    "; + }else{ + html += "其它
    "; + } html += "
    "; //对应城市地区小区30天涨跌幅 @@ -339,9 +344,8 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq html += "
    近30天涨跌幅: "+Math.abs(xqOneMonthUpDownRangeValue)+"%
    "; } }else{ - html += "
    近30天涨跌幅: %
    "; + html += "
    近30天涨跌幅: 暂无
    "; } - //下跌概率 var xqPotentialIndexValue = xqPotentialIndexMap[xqOneMonthUpDownRangeKey]; if(!isNaN(xqPotentialIndexValue)){ @@ -352,7 +356,7 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq html += "
    下跌概率: "+(parseInt(100)-parseInt(xqPotentialIndexValue))+"%
    "; } }else{ - html += "
    下跌概率: %
    "; + html += "
    下跌概率: 暂无
    "; } html += "
    抵押可贷额度: "+tempTotalPricePercent+"万
    "; @@ -368,7 +372,7 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq }else if(result.level!=null && result.level == 5){ html += "山洞级"; }else{ - html += "其他"; + html += "其它"; } html += '立即申请
  • '; }