let count: number = 0
function changeColor() {
count++
if (count == 4) {
count = 0
}
switch (count) {
case 1:
setStyleBoxColor('ItemBoxStyle1')
break;
case 2:
setStyleBoxColor('ItemBoxStyle2')
break;
}
console.log(count);
}