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.2k views
in Technique[技术] by (71.8m points)

这种效果一般怎样写,有点像轮播图,点击我想吃的时候把当前食物放进餐盘

4021606274841_.pic.jpg


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

1 Answer

0 votes
by (71.8m points)

从大到小的动画呗

http://jsrun.net/idwKp/edit

image.png

从结构上来看,有一个main的和一个swiper层
main层负责做放置动画。
swiper负责轮播以及选择。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...