添加点击图片事件

This commit is contained in:
bayi
2018-05-07 17:32:53 +08:00
parent 61c0991c89
commit 9292319cbd
@@ -299,6 +299,11 @@ $.config = {router: false}
})
}
}
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="+);
}
loadingChart(h.city,h.region,h.name,2)
//按照时间范围加载数据
$(".avgPriceTrend a").click(function(){