Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fa165981e8 | |||
| fc9a335773 | |||
| 50228e1894 | |||
| 7dbccd33e4 | |||
| b3f51bdd8c | |||
| b2e1ef901f |
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
@@ -24,7 +24,12 @@ function add_imgage(imageId,adPosition,device){
|
||||
console.log(error);
|
||||
});
|
||||
//2.跳转
|
||||
url=h.link+"?uid="+uid+"&device="+device;
|
||||
if(h.link.indexOf("?")>0){
|
||||
url=h.link+"&uid="+uid+"&device="+device;
|
||||
}else{
|
||||
url=h.link+"?uid="+uid+"&device="+device;
|
||||
}
|
||||
|
||||
//window.location.href=url;
|
||||
clicked("/views/webview_embed.html", true,false,{},{url:url});
|
||||
});
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"id": "H5693FF3D",/*应用的标识,创建应用时自动生成,勿手动修改*/
|
||||
"name": "有房",/*应用名称,程序桌面图标名称*/
|
||||
"version": {
|
||||
"name": "1.1.19",/*应用版本名称*/
|
||||
"code": "20115"
|
||||
"name": "1.1.21",/*应用版本名称*/
|
||||
"code": "20117"
|
||||
},
|
||||
"description": "有房,围绕房产提供全方位数据分析的房产及金融服务平台,通过个性化的智能推荐,定制专属的个人投资或购房计划,多维度管理自有房产并提供房产融资通道。",/*应用描述信息*/
|
||||
"icons": {
|
||||
|
||||
@@ -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(){
|
||||
|
||||
@@ -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(){
|
||||
|
||||
|
||||
@@ -301,7 +301,9 @@ function gotoLoanApply(houseId, city){
|
||||
dataMap["hid"]=houseId;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: ""},function(){})
|
||||
//clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: ""},function(){})
|
||||
var url = "http://www.rongshidai.com/loan?leads_source=有房APP&&loan_type=mortgage&leads_type=Referral&campaign=HomeMyHouse";
|
||||
clicked('/views/webview_embed.html', true,false,{},{url:url})
|
||||
}
|
||||
|
||||
/* 分页构造数据 */
|
||||
|
||||
@@ -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})
|
||||
}
|
||||
|
||||
//跳转到小区详情
|
||||
|
||||
@@ -1853,7 +1853,7 @@ function addItems(number, lastIndex) {
|
||||
}
|
||||
|
||||
html += '<div class="card-header">'+dataObj[i].title+'</div>'+
|
||||
'<img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\', this)">'+
|
||||
'<img src="cardInfoPlaceholderImg01.png" onload="loadImg(\''+dataObj[i].coverImg+'\', this)">'+
|
||||
'<div class="cardInfoPlaceholder dn"></div>'+
|
||||
'<div class="card-footer">'+
|
||||
'<span>'+
|
||||
@@ -1865,7 +1865,7 @@ function addItems(number, lastIndex) {
|
||||
if(dataObj[i].type=="专题"){
|
||||
html += '<div class="card cardInfo cardInfo01" onclick="openNewsView(\''+dataObj[i].id+'\',\''+dataObj[i].type+'\')">'+
|
||||
'<div class="card-header">'+dataObj[i].title+'</div>'+
|
||||
'<img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\', this)">'+
|
||||
'<img src="cardInfoPlaceholderImg01.png" onload="loadImg(\''+dataObj[i].coverImg+'\', this)">'+
|
||||
'<div class="card-footer">'+
|
||||
'<span>'+
|
||||
'<i class="icon icon-eye-grey01"></i><label id="visitCount_'+dataObj[i].id+'">'+numberConver(dataObj[i].visitCount)+'人</label>'+
|
||||
@@ -1878,7 +1878,7 @@ function addItems(number, lastIndex) {
|
||||
html += '<div class="card cardInfo cardInfo02" onclick="openNewsDistWindow(\''+dataObj[i].recommendDistrictCity+'\',\''+dataObj[i].recommendDistrictRegion+'\',\''+dataObj[i].recommendDistrictName+'\',\''+dataObj[i].id+'\')">'+
|
||||
'<div class="card-content">'+
|
||||
'<div class="list-block media-list"><ul><li class="item-content">'+
|
||||
'<div class="item-media"><img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)"></div>'+
|
||||
'<div class="item-media"><img src="cardInfoPlaceholderImg02.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)"></div>'+
|
||||
'<div class="item-inner" style="padding-right:0;">'+
|
||||
'<div class="item-title-row"><div class="item-title">'+dataObj[i].recommendDistrictName+'</div>'+
|
||||
'<div class="item-after"><span>'+dataObj[i].recommendDistrictCity+'-'+dataObj[i].recommendDistrictRegion+
|
||||
@@ -1906,7 +1906,7 @@ function addItems(number, lastIndex) {
|
||||
html += '<div class="card cardInfo cardInfo01 cardInfo01b">';
|
||||
}
|
||||
html += '<div class="card-header">'+dataObj[i].title+'</div>'+
|
||||
'<img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)">'+
|
||||
'<img src="cardInfoPlaceholderImg01.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)">'+
|
||||
'<div class="card-footer"><span>'+dataObj[i].introduction+'</span></div></div>';
|
||||
}
|
||||
if(dataObj[i].type=="推荐城市"){
|
||||
@@ -1920,7 +1920,7 @@ function addItems(number, lastIndex) {
|
||||
}
|
||||
html += '</span></div></div>';
|
||||
}
|
||||
html += '<img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)">'+
|
||||
html += '<img src="cardInfoPlaceholderImg01.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)">'+
|
||||
'<div class="card-footer"><span>均价:<em>'+dataObj[i].recommendCityAvgPrice+'元/㎡</em></span>'+
|
||||
'<span class="star">潜力指数:';
|
||||
if(dataObj[i].recommendCityIndex<4){
|
||||
@@ -1977,7 +1977,7 @@ function addItems(number, lastIndex) {
|
||||
//'<div class="item-subtitle"><font>'+dataObj[i].introduction+'</font></div>'+
|
||||
'<div class="item-subtitle"><span><i class="icon icon-eye-grey01"></i><label id="visitCount_'+dataObj[i].id+'">'+numberConver(dataObj[i].visitCount)+'人</label>'+
|
||||
'<i class="icon icon-comments-grey01"></i><label id="visitComment_'+dataObj[i].id+'">'+numberConver(dataObj[i].recommendCommentCount)+'条</label></span></div></div>'+
|
||||
'<div class="item-media"><img src="cardInfoPlaceholderImg.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)"></div>'+
|
||||
'<div class="item-media"><img src="cardInfoPlaceholderImg02.png" onload="loadImg(\''+dataObj[i].coverImg+'\',this)"></div>'+
|
||||
'</li></ul></div></div></div>';
|
||||
}
|
||||
if(dataObj[i].type=="投票"){
|
||||
@@ -2117,7 +2117,7 @@ function addItems(number, lastIndex) {
|
||||
|
||||
|
||||
function loadImg(url, obj){
|
||||
if($(obj).attr("src") == 'cardInfoPlaceholderImg.png'){
|
||||
if($(obj).attr("src") == 'cardInfoPlaceholderImg01.png' || $(obj).attr("src") == 'cardInfoPlaceholderImg02.png'){
|
||||
$(obj).attr("src", url)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user