Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.5k 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 OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...