综合搜索:
车型搜索:
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");
}
}
Thesis