diff --git a/fangija-zsyf/views/evaluate/evaluateReport.html b/fangija-zsyf/views/evaluate/evaluateReport.html index 06e7d71..133e072 100644 --- a/fangija-zsyf/views/evaluate/evaluateReport.html +++ b/fangija-zsyf/views/evaluate/evaluateReport.html @@ -626,12 +626,16 @@ function gotoLoanApply(type){ var loanPrice = 0; //贷款类型 0-无 1-房抵贷 2-信用贷 var loanType = type; + var url = ""; if(type == 1){ + url = "http://www.rongshidai.com/loan?leads_source=有房APP&leads_type=Referral&campaign=HouseReport&loan_type=mortgage"; loanPrice = $("#loanPrice").text(); }else if(type == 2){ + url = "http://www.rongshidai.com/loan?leads_source=有房APP&leads_type=Referral&campaign=HouseReport&loan_type=credit"; loanPrice = 50; } - clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: oriCity, mobile: "",loanPrice:loanPrice,loanType:loanType},function(){}) + //clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: oriCity, mobile: "",loanPrice:loanPrice,loanType:loanType},function(){}) + clicked('/views/webview_embed.html', true,false,{},{url:url}) } function share(){ diff --git a/fangija-zsyf/views/house/detail.html b/fangija-zsyf/views/house/detail.html index 8bcbe7b..09f19f2 100644 --- a/fangija-zsyf/views/house/detail.html +++ b/fangija-zsyf/views/house/detail.html @@ -685,12 +685,16 @@ function gotoLoanApply(type){ var loanPrice = 0; //贷款类型 0-无 1-房抵贷 2-信用贷 var loanType = type; + var url = "http://www.rongshidai.com/loan?leads_source=有房APP&leads_type=Referral&campaign=MyHouse"; if(type == 1){ + url = "http://www.rongshidai.com/loan?leads_source=有房APP&leads_type=Referral&campaign=MyHouse&loan_type=mortgage"; loanPrice = $("#loanPrice").text(); }else if(type == 2){ + url = "http://www.rongshidai.com/loan?leads_source=有房APP&leads_type=Referral&campaign=MyHouse&loan_type=credit"; loanPrice = 50; } - clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: oriCity, mobile: "",loanPrice:loanPrice,loanType:loanType},function(){}) + //clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: oriCity, mobile: "",loanPrice:loanPrice,loanType:loanType},function(){}) + clicked('/views/webview_embed.html', true,false,{},{url:url}) } function gotoRentManager(){ diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index dab3721..16d600f 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -318,7 +318,9 @@ function gotoLoanApply(houseId, city){ dataMap["hid"]=houseId; saveBehaviorLog(eventType,dataMap); //保存用户点击事件 - clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: _mobile},function(){}) + //clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: _mobile},function(){}) + var url = "http://www.rongshidai.com/loan?leads_source=有房APP&leads_type=Referral&campaign=MyHouse"; + clicked('/views/webview_embed.html', true,false,{},{url:url}) } //跳转到小区详情