Mini Program for loop out of the picture, click on the animation effects of all the pictures will take effect together, how to achieve effect separation?

when you click on the pictures looped out by Mini Program for, the animation effects of all the pictures will take effect together. How to separate the effects

Mar.03,2021
What about the

code? Are you using the same variable?


you should not add an index value to distinguish different pictures


if the simple one is on the second floor, and the complicated one can try this, the stupid method

for example, after five arr list loops, use item

var arr = [1, 2, 3, 4, 5]

Click one of them to an empty array to add the circular index of your point

var arr1 = []

then

wx:if=' {{Arr1 [index] & & arr1 [index] = item}}'


two parameters can separate the index value and distinguish

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32509-2b57f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32509-2b57f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?