From 50228e1894361da1fdcd6c74798ca0e067df0c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Tue, 17 Jul 2018 13:42:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B7=E6=AC=BE=E7=BB=9F=E4=B8=80=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E5=A4=96=E9=83=A8=E6=8E=A5=E5=85=A5=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C=E8=B4=B7=E6=AC=BE=E7=BA=BF=E7=B4=A2=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/evaluate/evaluateReport.html | 6 +++++- fangija-zsyf/views/house/detail.html | 6 +++++- fangija-zsyf/views/user/userInfo.html | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) 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}) } //跳转到小区详情