diff --git a/fangija-zsyf/config.js b/fangija-zsyf/config.js index 49f7e75..7d545f7 100644 --- a/fangija-zsyf/config.js +++ b/fangija-zsyf/config.js @@ -1,8 +1,8 @@ /**服务端地址**/ //var BASE_PATH = "http://youfang.fangjia.com"; //var BASE_PATH = "http://192.168.10.128:8084"; -//var BASE_PATH = "http://192.168.10.47:8086"; -var BASE_PATH = "http://192.168.10.53:8084"; +var BASE_PATH = "http://192.168.10.47:8086"; +//var BASE_PATH = "http://192.168.10.53:8084"; //var BASE_PATH = "http://192.168.10.161:8084"; //var BASE_PATH = "http://192.168.10.170:8084"; //var BASE_PATH = "http://192.168.10.171:8084"; diff --git a/fangija-zsyf/js/searchDistrict-app.js b/fangija-zsyf/js/searchDistrict-app.js index 0c5e5b8..2fd9c37 100644 --- a/fangija-zsyf/js/searchDistrict-app.js +++ b/fangija-zsyf/js/searchDistrict-app.js @@ -122,7 +122,12 @@ $("body").delegate(".open-about02", "click", function () { eventType = "rentQueryClick"; }else{ cat = "district" - eventType = "priceQueryClick"; + if(text=="房价查询"){ + eventType = "priceQueryClick"; + }else{ + eventType = "districtSerachClick"; + } + } saveBehaviorLog(eventType,dataMap);//保存用户点击事件 $('.historyList').show(); diff --git a/fangija-zsyf/views/changeHouse/index.html b/fangija-zsyf/views/changeHouse/index.html index a6ab26a..1eadbfe 100644 --- a/fangija-zsyf/views/changeHouse/index.html +++ b/fangija-zsyf/views/changeHouse/index.html @@ -1446,7 +1446,7 @@ function addBaseHouseInfo(obj){ var funds = $("#input_funds").val(); if(funds){ - baseInfo.sumPrice = parseInt(funds) + parseInt(obj.totalPrice/10000); + baseInfo.sumPrice = (Number(funds)+ parseInt(obj.totalPrice/10000)).toFixed(2); }else{ baseInfo.sumPrice = parseInt(obj.totalPrice/10000); } @@ -1536,9 +1536,9 @@ function calTotalPrice(){ if(funds && price){ if(a){ var tax = a * price/100; - baseInfo.sumPrice = (parseInt(funds)+parseInt(price)-tax).toFixed(2); + baseInfo.sumPrice = (Number(funds)+parseInt(price)-tax).toFixed(2); }else{ - baseInfo.sumPrice = (parseInt(funds)+parseInt(price)).toFixed(2); + baseInfo.sumPrice = (Number(funds)+parseInt(price)).toFixed(2); } }else if(price){ if(a){ @@ -1709,6 +1709,8 @@ $("#select_area").RangeSlider({min: 0, max: 100, step: 14.2857, callback: change /* 弹出城市选择页面 */ $(document).on("click",".open-about01", function () { + $("#citySearchInp").val(""); + $("#selectContainer").hide(); $.popup(".popup-about01"); }); @@ -1848,6 +1850,17 @@ function openAddHouse(){ clicked('/views/house/add.html',true,false,{},{}); } +/* 定位城市 */ +$("body").on("click", ".letter a", function () { + var s = $(this).html(); + $(".popup-about01 .content").scrollTop(0); + $(".popup-about01 .content").scrollTop($("#" + s + "1").offset().top - 106); +}); +$("#tabCity1 .content-block01").scroll(function () { + $("#tabCity1 .content-block01 .letter").css("position","absolute"); + $("#tabCity1 .content-block01 .letter").css("top", 85 - $("#cityContainer").position().top); +}); + diff --git a/fangija-zsyf/views/evaluate/evaluateReport.html b/fangija-zsyf/views/evaluate/evaluateReport.html index fd8660c..d9b9318 100644 --- a/fangija-zsyf/views/evaluate/evaluateReport.html +++ b/fangija-zsyf/views/evaluate/evaluateReport.html @@ -105,7 +105,7 @@ - +
均价走势
@@ -300,11 +300,19 @@ $.config = {router: false} if(typeof(h.imgId)!="undefined"&&h.imgId!=null&&$.trim(h.imgId)!=""){ $("#img").attr("src",BASE_PATH+"/img/"+h.imgId); //控制贷款按钮是否可以显示,便于ios版本审核 - if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){ - $("#img").click(function(){ - clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){}) - }) - } +// if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){ +// $("#img").click(function(){ +// clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){}) +// }) +// } + } + if(typeof(h.link)!="undefined"&&h.link!=null&&$.trim(h.link)!=""){ + var device = plus.device.uuid; + var uid = localStorage.getItem("user_id"); + $("#img_ad").click(function(){ + url=h.link+"?uid="+uid+"&device="+device; + clicked('views/webview_embed.html', true,false,{},{url:this.url}); + }); } loadingChart(h.city,h.region,h.name,2) //按照时间范围加载数据 diff --git a/fangija-zsyf/views/house/add.html b/fangija-zsyf/views/house/add.html index e828b8d..4f0f829 100644 --- a/fangija-zsyf/views/house/add.html +++ b/fangija-zsyf/views/house/add.html @@ -1580,7 +1580,18 @@ $("#input_floor").picker({ textAlign: 'center', values: getfloorHeight() } - ] + ],onOpen:function(p){ + // + var input_floor = $("#input_floor").val(); + var num = input_floor.replace(/第/g,"").replace(/层/g,"").replace(/共/g,"").split(" "); + if(num[0]!=null &&num[0]!=undefined){ + p.cols[0].setValue('第'+num[0]+'层') + } + if(num[1]!=null &&num[1]!=undefined){ + p.cols[1].setValue('共'+num[1]+'层') + } + + } }); /* 选择-目前状态 */ diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index d7ab0db..316adf2 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -1195,12 +1195,21 @@ $.config = {router: false}