Click on a li element to appear or disappear a mask on that element, but don"t know how to dynamically bind the class name, only to that element. Now all the elements are masked with one click.
currently thinks like this:
: class= "{show:isShow + index} (this syntax is wrong, which probably means this) wants to bind index to a variable, and then add class to it to display it, but as written above, this syntax cannot achieve
. The second is to add the class name of show1/show2/show3 to each element, but this means that you have to write a lot of css: show1,show2,show3 {display:block}. If there are a lot of elements, you can"t add them all the time