var xmtt = "//imgwcs2.soufunimg.com/viewimage/house/2020_11/30/2fdef1ca-53d9-448e-afb6-3689a001802c/282x188.jpg"; var xmmc = "路劲御和府"; var newcode = "1010130229"; var xmjj = "42000元/㎡"; var yhxx = "查看详情"; var xmbq1 = "六环以外"; var xmbq1url = "http://newhouse.fang.com/house/s/shunyi/b1housetag-c473/"; var xmbq2 = "普通住宅"; var xmbq2url = "http://newhouse.fang.com/house/s/shunyi/b1housetag-c428/"; var xmbq3 = "塔楼"; var videotag = 1; var xmbq3url = "http://newhouse.fang.com/house/s/shunyi/b1housetag-c480/"; var isXiaoguoPic = true; var adtag = "0"; (function(){ var str=''; str+='
'; if(adtag == '1'||adtag==1){ str+=''; } if(isXiaoguoPic=='true'||isXiaoguoPic==true){ str+='
'; }else{ str+='
'; } if(videotag == 1||videotag == '1'){ str+=" "; } str+=''; str+=''; str+='
'+xmmc+'
'; str+='
'; if(xmbq1){ str+=''+xmbq1+''; } if(xmbq2){ str+=''+xmbq2+''; } if (xmbq3){ str+=''+xmbq3+''; } str+='
'; document.write(str); document.write(""); getstatus() function getstatus(){ $.ajax({ url:"https://openadapi.fang.com/adtrains/liveTrains.do?newcode="+newcode, timeout:5000, success:function(data){ var obj = JSON.parse(data); if(obj){ var livestatus = obj.data ; var livestatusStr = ''; if(livestatus == 0){ return;}else{ $("
").prependTo($("#ad_eyes_32199786")); if ($("#ad_eyes_32199786 .iconlive").length == 0) { $(" ").prependTo($("#ad_eyes_32199786")); var aelement = $("#ad_eyes_32199786 a"); for(i = 0; i < aelement.length; i++) { $("#ad_eyes_32199786 a")[i].href = $("#ad_eyes_32199786 a")[i].href + '?sort=video' } } } } } }); } })();