Without looking at any code, I can tell that all of the swatches are related to the first swatch and product image and they shouldn't be.
You need to make it so each color swatch has it's own instance with it's own specific target.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…