The principle of seamless rolling on the moving end of the rotation diagram
And the difference on the PC is that, on the mobile side, the user presses a picture we do not know where the user will go to the row, left to right is possible
Suppose two sets of identical graphs, each set of three
The first picture and sketch have been dragged out of the risk
Solution, when the finger is pressed to the first picture, immediately turn it into the fourth picture,
When the finger is pressed to the sixth picture, turn it into the third picture immediately.
So there's no wind to be dragged out.
Again, the problem with the Queryselectorall () selector
When the following things change, this selector will not be recalculated, how many or how many
So to use the Queryselectorall must be when the entire DOM has been modified to use this selector
The principle of seamless rolling on the moving end of the rotation diagram