- gif放不上来。。我就直接口述了。。
- 首先左右滑动的时候整个页面会以动画效果切换(demo里是反转和水平淡出)
- 然后那个红色的小心心是点赞之后的状态,过程也是动画
- 划重点--大家一定用过animate.css,微信小程序里可以用ripples.wxss来代替,具体怎么用,取决于你
- 滑动 根据滑动角度判断滑动方向 然后决定显示哪个页面
- 点赞 每个页面的点赞都对应他自己的数据里的标志值 一次来分别控制小心心
其实我只是喜欢这个页面而已。。
This project forked from webxing/wx_ripples_demo
微信小程序 左右滑动动画+点赞动画
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.