综合搜索:
车型搜索:
init_BrandType_4s("DDL_","_SS");
var Ycar="http://www.yescar.cn";
var dealerUrl="http://www.yescar.cn/dealer/";
function SearchSeries(type)
{
var Sname= $("#DDL_CarInfo_SS").val();
if(type=="series"){//车型
if(Sname=="选择车型")
window.open(Ycar+"/auto/brand.html");
else
window.open(Ycar+"/auto/"+Sname+"/");
}else if(type=="price"){//价格
if(Sname=="选择车型")
window.open(Ycar+"/auto/price/");
else
window.open(Ycar+"/auto/"+Sname+"/baojia.html");
}else if(type=="dealer"){//商家
if(Sname=="选择车型")
window.open("http://dealer.yescar.cn");
else
window.open(dealerUrl+"4s/"+pyin+"/"+Sname+"/page-1.html");
}else if(type=="search"){
window.open(Ycar+"/auto/brand.html");
}
}
CX20
$(document).ready(function(){
showCarsLi('duibi');
});
function bjhq(obj,sum){
for(var i=1;i<=sum;i++){
document.getElementById("bj_hq"+i).style.display="none";
}
var num=document.getElementById("hot_num").innerHTML;
if(obj==1){
if(num>1){
num=parseInt(num)-1;
}
}else{
if(num