Git Product home page Git Product logo

msdgwzhy6 / react-native-fruitstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shooterrao/react-native-fruitstore

0.0 2.0 0.0 6.09 MB

用react-native+mobx开发一个简单的迷你水果商城,支持ios和android。Use react-native + mobx to develop a simple mini fruit mall that supports ios and android.

License: MIT License

JavaScript 85.17% Python 3.30% Java 3.81% Objective-C 7.71%

react-native-fruitstore's Introduction

React-Native+Mobx开发一个简单的水果商城App

2018-12-15 更新

最近抽空把这项目的核心依赖全部升级了,具体更新如下:

  • react-native(0.57.7)
  • react-navigation(3.0.7)
  • mobX(5.7.0)
  • mobX-react(5.4.2)
  • 引入eslint、prettier
  • iphonexs等比较新的设备的支持
  • 根据react-navigation新的api重写路由
  • 优化购物车mobX状态管理逻辑

旧版地址

如果您对此项目感兴趣,可以点Star支持下,非常感谢!(๑•̀ㅂ•́)و✧

技术博客

项目运行

git clone https://github.com/shooterRao/react-native-fruitStore.git 或者直接下载

cd react-native-fruitStore

yarn

android: react-native run-android
ios: react-native run-ios

实现功能

  • 商品预览
  • 加入购物车
  • 商品的增删查改
  • 模拟支付
  • 清空购物车,还原商品初始状态
  • 模拟下拉加载
  • 页面的跳转和传值
  • 查看订单列表(2018/1/8 增加)

效果演示

设备支持

show

总体效果

begin

操作商品效果

state

购物流程效果

buy

参考文档

mobX文档

react-navigation

UI参考于这款微信小程序wxapp-mall

License

MIT

react-native-fruitstore's People

Contributors

dependabot[bot] avatar shooterrao avatar

Watchers

 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.