Giter Site home page Giter Site logo

miniprogram's Introduction

1.小程序头部tab栏支持左右滑动切换和点击切换,向上和向下滑动可实现数据的加载更多和实时更新(pages/index1/index1) 2.小程序模拟打卡业务(pages/planIndex/planIndex) 3.小程序引用MobX实现个人信息数据状态管理,stores/todoStore.js中用observable观察state,pages/index1/index1.js中用observer修饰的组件内会根据被observable观察的state的变化而自动重新渲染(用autorun包裹了render函数,state的变化触发autorun) 4.使用单例模式和promise将wx.request封装异步函数(common/fetch.js),并统一管理接口(config/api.js)

miniprogram's People

Contributors

liubch89 avatar fish-never avatar

Stargazers

 avatar  avatar

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.