小程序tab导航切换样式
yearselect(e){
this.setData({
yearselect:e.currentTarget.dataset.year,
current:e.currentTarget.dataset.index
})
},
.active{
background: #62B0F2;
color: #fff;
}
yearselect(e){
this.setData({
yearselect:e.currentTarget.dataset.year,
current:e.currentTarget.dataset.index
})
},
.active{
background: #62B0F2;
color: #fff;
}