{"id":18862008,"url":"https://github.com/shooterrao/react-native-fruitstore","last_synced_at":"2025-07-28T11:05:15.984Z","repository":{"id":27807295,"uuid":"115252476","full_name":"shooterRao/react-native-fruitStore","owner":"shooterRao","description":"用react-native+mobx开发一个简单的迷你水果商城，支持ios和android。Use react-native + mobx to develop a simple mini fruit mall that supports ios and android.","archived":false,"fork":false,"pushed_at":"2022-12-08T18:53:21.000Z","size":6358,"stargazers_count":307,"open_issues_count":17,"forks_count":73,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-19T13:09:05.055Z","etag":null,"topics":["mobx","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shooterRao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-24T09:20:57.000Z","updated_at":"2025-05-07T01:23:41.000Z","dependencies_parsed_at":"2022-08-07T13:01:13.901Z","dependency_job_id":null,"html_url":"https://github.com/shooterRao/react-native-fruitStore","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/shooterRao/react-native-fruitStore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shooterRao%2Freact-native-fruitStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shooterRao%2Freact-native-fruitStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shooterRao%2Freact-native-fruitStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shooterRao%2Freact-native-fruitStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shooterRao","download_url":"https://codeload.github.com/shooterRao/react-native-fruitStore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shooterRao%2Freact-native-fruitStore/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mobx","react-native"],"created_at":"2024-11-08T04:32:58.980Z","updated_at":"2025-07-28T11:05:15.960Z","avatar_url":"https://github.com/shooterRao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Native+Mobx开发一个简单的水果商城App\n\n## 2018-12-15 更新\n\n最近抽空把这项目的核心依赖全部升级了，具体更新如下:\n\n- react-native(0.57.7)\n- react-navigation(3.0.7)\n- mobX(5.7.0)\n- mobX-react(5.4.2)\n- 引入eslint、prettier\n- iphonexs等比较新的设备的支持\n- 根据react-navigation新的api重写路由\n- 优化购物车mobX状态管理逻辑\n\n[旧版地址](https://github.com/shooterRao/react-native-fruitStore/tree/v1.0)\n\n\u003e 如果您对此项目感兴趣，可以点**Star**支持下，非常感谢！(๑•̀ㅂ•́)و✧\n\n\u003e [技术博客](https://juejin.im/post/5a3f06cd6fb9a044fe4693bc)\n\n# 项目运行\n\n```\ngit clone https://github.com/shooterRao/react-native-fruitStore.git 或者直接下载\n\ncd react-native-fruitStore\n\nyarn\n\nandroid: react-native run-android\nios: react-native run-ios\n```\n\n# 实现功能\n\n* 商品预览\n* 加入购物车\n* 商品的增删查改\n* 模拟支付\n* 清空购物车，还原商品初始状态\n* 模拟下拉加载\n* 页面的跳转和传值\n* 查看订单列表(2018/1/8 增加)\n\n# 效果演示\n\n## 设备支持\n\n![show](https://github.com/shooterRao/react-native-fruitStore/blob/master/screenshots/show.png)\n\n## 总体效果\n\n![begin](https://github.com/shooterRao/react-native-fruitStore/blob/master/screenshots/begin.gif)\n\n## 操作商品效果\n\n![state](https://github.com/shooterRao/react-native-fruitStore/blob/master/screenshots/state.gif)\n\n## 购物流程效果\n\n![buy](https://github.com/shooterRao/react-native-fruitStore/blob/master/screenshots/buy.gif)\n\n\n# 参考文档\n\n[mobX文档](http://cn.mobx.js.org/)\n\n[react-navigation](https://reactnavigation.org/zh-Hans/)\n\nUI参考于这款微信小程序[wxapp-mall](https://github.com/lin-xin/wxapp-mall)\n\n# License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshooterrao%2Freact-native-fruitstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshooterrao%2Freact-native-fruitstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshooterrao%2Freact-native-fruitstore/lists"}