<li class="TypeBusiness">
<div style="font-weight: bold" @click='changeActive(0)' :class="{'active':active === 0}" >Business</div>
<div style="font-weight: bold" @click='changeActive(1)' :class="{'active':active === 1}" >School</div>
<div style="font-weight: bold" @click='changeActive(2)' :class="{'active':active === 2}" >Professional</div>
</li>
changeActive(index){
this.active = index
},
//搜索点击
searchInput(){
this.active
},
.active {
color: #20a0ff;
cursor:pointer;
}