Home > front end >  How do I to v - for generating tags added different click style
How do I to v - for generating tags added different click style

Time:10-29

For example when click on the first TAB add style to the first label A, point the second label when add style B to the second TAB

CodePudding user response:

According to the different styles of different index to render the

CodePudding user response:

Child () : the NTH -

CodePudding user response:

Can use the name of the class to
 
A1: active {
color: red;
}
A2: active {
Color: # FFF.
}


 



 
Data () {
Return {
List: [{className="a1"}, {className: 'a2'}]
}
}
  • Related