diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index 18bce1a..4d8ffad 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -212,8 +212,17 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap //htmlContent = htmlContent +"
"+result.roomCount+"室"+result.hallCount+"厅"; var houseRoomNum = result.houseRoomNum==""?"暂无":result.houseRoomNum; htmlContent = htmlContent +"
"+houseRoomNum; - - htmlContent = htmlContent +"  "+result.area+"㎡  "+result.floor+"/"+result.height+"层
" + var floor_height = ""; + if(result.floor!=0){ + floor_height = result.floor; + } + if(result.height!=0){ + floor_height += "/" + result.height; + } + if(floor_height!=""){ + floor_height+="层"; + } + htmlContent = htmlContent +"  "+result.area+"㎡  "+floor_height+"
" htmlContent = htmlContent +"
"; //对应城市地区小区30天涨跌幅 //动态构建key diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index 2525d05..68abbd7 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -2345,7 +2345,7 @@ $("body").delegate("#select_region .button", "click", function () { $(".selectContent").hide(); }); -$("#confirm_btn #select_price").on("click", function () { +function customPriceQuery () { if($("#minPrice").val()==""){ $.toast('请填写最小价格'); return; @@ -2376,7 +2376,7 @@ $("#confirm_btn #select_price").on("click", function () { $(".price").removeClass("active"); $(".price i").removeClass("icon-up"); $(".selectContent").hide(); -}); +} /* 标签 */ $(".reset_btn").on("click", function () { $(".button").removeClass("active"); @@ -2491,7 +2491,7 @@ function getCityPriceLevel(cityParam){ for(var i=1;i<9;i++){ html += '
  • '+re["level"+i]+'
  • '; } - html += '
  • 自定义: - 万确定
  • '; + html += '
  • 自定义: - 万确定
  • '; $("#select_price").html(html); $("#select_price li").on("click", function () { @@ -2500,6 +2500,9 @@ function getCityPriceLevel(cityParam){ $(this).find(".item-title").addClass("active"); $(this).find(".item-title i").addClass("icon-check"); var index = $("#select_price li").index(this); + if(index == 9){ + return; + } if(index < 8){ var text = $("#select_price li").eq(0).find(".item-title").hasClass("active"); if(text){