开源项目“优购网” With React Native and Redux
jeyj5349
8年前
<p>基于ReactNative和Redux实现了电商类APP,持续更新,希望一起学习讨论.</p> <p>1.这个app 主要使用Redux 结合所学的结合一些开源第三方实现!主要对购物车功能实现了实时监控!</p> <p>2.多个UI界面的搭建,实现实时更变内容,后面会实时更新大家可以关注一下</p> <p>3.使用大量模块封装使得,页面能重用!</p> <p>暂时只适配iOS 后期会持续更新适配安卓 (如果暂时想适配安卓的可切换注释 TabBarView.js 的代码,基本能运行 效果比较差)</p> <h2><strong>完成功能</strong></h2> <p>首页</p> <p>分类页面</p> <p>购物车完整功能</p> <p>个人页面</p> <p>性能优化</p> <h2>运行截图</h2> <p style="text-align: center;"><img src="https://simg.open-open.com/show/7b942e0a998416fdd805277dd3b52eb5.png"> <img src="https://simg.open-open.com/show/729cc12fe037d244a5058cc787bfe302.png"></p> <h2><strong>运行</strong></h2> <pre> $ git clone https://github.com/JasonStu/ReactNative_Shopping.git $ cd ReactNative_Shopping $ npm install $ react-native run-ios</pre> <h2><strong>相关依赖</strong></h2> <pre> "dependencies": { "react": "15.2.1", "react-native": "0.31.0", "react-native-nav": "^1.1.4", "react-native-scrollable-tab-view": "^0.5.3", "react-native-swiper": "^1.4.4", "react-native-tab-navigator": "^0.3.2", "react-native-vector-icons": "^2.0.3", "react-redux": "^4.4.5", "redux": "^3.5.2", "redux-logger": "^2.6.1", "redux-thunk": "^2.1.0" }</pre> <p> </p> <p>来自:http://www.52learn.wang/archives/1338</p> <p> </p>