添加图片跳转
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
//var BASE_PATH = "http://youfang.fangjia.com";
|
||||
//var BASE_PATH = "http://192.168.10.128:8084";
|
||||
//var BASE_PATH = "http://192.168.10.47:8086";
|
||||
var BASE_PATH = "http://192.168.10.53:8084";
|
||||
//var BASE_PATH = "http://192.168.10.53:8084";
|
||||
var BASE_PATH = "http://192.168.10.164:8084";
|
||||
//var BASE_PATH = "http://192.168.10.161:8084";
|
||||
//var BASE_PATH = "http://192.168.10.170:8084";
|
||||
//var BASE_PATH = "http://192.168.10.171:8084";
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a class="ad"><img id="img"></a>
|
||||
<a class="ad" id="img_ad"><img id="img"></a>
|
||||
<div class="topic">
|
||||
<div class="topicTitle" style="position:relative;">均价走势
|
||||
<div class="content-block">
|
||||
@@ -300,16 +300,19 @@ $.config = {router: false}
|
||||
if(typeof(h.imgId)!="undefined"&&h.imgId!=null&&$.trim(h.imgId)!=""){
|
||||
$("#img").attr("src",BASE_PATH+"/img/"+h.imgId);
|
||||
//控制贷款按钮是否可以显示,便于ios版本审核
|
||||
if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){
|
||||
$("#img").click(function(){
|
||||
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){})
|
||||
})
|
||||
}
|
||||
// if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){
|
||||
// $("#img").click(function(){
|
||||
// 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").attr("onclick","window.location.href="+h.link+"?uid="++"&device="+);
|
||||
$("#img_ad").click(function(){
|
||||
url=h.link+"?uid="+uid+"&device="+device;
|
||||
clicked('views/webview_embed.html', true,false,{},{url:this.url});
|
||||
});
|
||||
}
|
||||
loadingChart(h.city,h.region,h.name,2)
|
||||
//按照时间范围加载数据
|
||||
|
||||
Reference in New Issue
Block a user