Merge branch 'YOUFANGAPP1.1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1.1

This commit is contained in:
2018-05-08 10:41:54 +08:00
2 changed files with 7 additions and 6 deletions
+4 -4
View File
@@ -380,9 +380,9 @@ function getAnalysisDetail(){
//增长率及收益跳转链接是否显示
if(resultsMap.ad!=null){
$('#showAdBox1').show();
$('#showAdBox1Content').html(resultsMap.ad.content + "<i class='icon icon-right icon-right01'></i>");
//如果link有值,添加调整路径
if(resultsMap.ad.link!=null && resultsMap.ad.link.length>0){
if(resultsMap.ad.link!=null && resultsMap.ad.link.length>0 && resultsMap.ad.content!=null && resultsMap.ad.content.length>0){
$('#showAdBox1Content').html(resultsMap.ad.content + "<i class='icon icon-right icon-right01'></i>");
$("#showAdBox1").click(function(){
clicked('../../views/webview_embed.html', true,false,{},{url:resultsMap.ad.link})
})
@@ -403,9 +403,9 @@ function getAnalysisDetail(){
//挂牌建议跳转链接是否显示
if(resultsMap.ad1!=null){
$('#showAdBox2').show();
$('#showAdBox2Content').html(resultsMap.ad1.content + "<i class='icon icon-right icon-right01'></i>");
//如果link有值,添加调整路径
if(resultsMap.ad1.link!=null && resultsMap.ad1.link.length>0){
if(resultsMap.ad1.link!=null && resultsMap.ad1.link.length>0 && resultsMap.ad1.content!=null && resultsMap.ad1.content.length>0){
$('#showAdBox2Content').html(resultsMap.ad1.content + "<i class='icon icon-right icon-right01'></i>");
$("#showAdBox2").click(function(){
clicked('../../views/webview_embed.html', true,false,{},{url:resultsMap.ad1.link})
})
@@ -305,13 +305,14 @@ $.config = {router: false}
// 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});
//window.location.href=url;
clicked("/views/webview_embed.html", true,false,{},{url:url});
});
}
loadingChart(h.city,h.region,h.name,2)