<div :class="[box,shadow]"></div>
或 :后面跟条件,条件成立则添加class,否则不添加
:class="[{'modelColor2':item.state===1||item.state===2},{'modelColor1':active&&active.includes(item.num)}]"