获取某个标签下的指定标签集合
var standardSaleMenuDivs = document.getElementById('standardSaleMenu').getElementsByTagName("div");
//实现轮播效果(定时触发点击事件)
var toVoidIndex = 0;
var toVoidMenuDivs = document.getElementById('toVoidMenu').getElementsByTagName("div");
setInterval(function(){
toVoidIndex++;
toVoidIndex = toVoidIndex%menuLength;
toVoidMenuDivs[toVoidIndex].click();
},5000);
function toVoidMenuClick(obj,index){
toVoidIndex = index;
//同级其他去掉active
$(obj).addClass("menu-item-active")
$(obj).siblings().removeClass("menu-item-active");
}