Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

vue,做一个点击按钮,在一个div会出现一个图片,图片可随意拖拽,每个图片有一个控件

vue,做一个点击按钮,在一个div会出现一个图片,图片可随意拖拽,每个图片有一个控件,点击控件,图片会一直闪动


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

先写一个按钮,放一个div,加入图片,然后图片上设置控件,点击时触发active伪类,伪类下写图片闪动样式。
对的,就是这样做。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...