Giter VIP home page Giter VIP logo

wx_ripples_demo's Introduction

效果图

效果图

  • gif放不上来。。我就直接口述了。。
  • 首先左右滑动的时候整个页面会以动画效果切换(demo里是反转和水平淡出)
  • 然后那个红色的小心心是点赞之后的状态,过程也是动画
  • 划重点--大家一定用过animate.css,微信小程序里可以用ripples.wxss来代替,具体怎么用,取决于你

思路

  • 滑动 根据滑动角度判断滑动方向 然后决定显示哪个页面
  • 点赞 每个页面的点赞都对应他自己的数据里的标志值 一次来分别控制小心心

结语

其实我只是喜欢这个页面而已。。

以下是我独立开发的小程序 第一次Pro 欢迎使用 欢迎吐槽

给自己一个第一次 说出曾经说不出的话 第一次Pro

wx_ripples_demo's People

Contributors

webxing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wx_ripples_demo's Issues

如何修改成左右滑动均为淡出

demo是向左滑动翻转,向右滑动淡出,如果想要修改成左右滑动均为淡出,应该怎么修改呢?本人是前段小白,求指教。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.