贷款统一跳转到外部接入地址,贷款线索统一管理

This commit is contained in:
尹吉欢
2018-07-17 13:42:12 +08:00
parent 7dbccd33e4
commit 50228e1894
3 changed files with 13 additions and 3 deletions
@@ -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(){
+5 -1
View File
@@ -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(){
+3 -1
View File
@@ -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})
}
//跳转到小区详情