# RNMeituan **Repository Path**: mathfan/RNMeituan ## Basic Information - **Project Name**: RNMeituan - **Description**: 使用React Native开发的一个美团app - **Primary Language**: Android - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RNMeituan 使用React Native开发的一个美团小demo [React-Native-RNMeituan](https://github.com/lookingstars/RNMeituan) 使用Objective-C开发的: [美团](https://github.com/lookingstars/meituan) [糯米](https://github.com/lookingstars/nuomi) ###注 百度糯米官方版:采用少量的xib文件 + 大量的纯代码方式开发的。 高仿糯米版本:采用storyboard创建界面为主方式来开发,跟官方版做区别。 美团官方版:storyboard创建界面为主方式开发。 高仿的美团5.7:以纯代码方式来开发,以作区别。 ---- ###运行说明: 首先需要安装好运行React Native的相关环境, 首先需要安装好运行React Native的相关环境, 首先需要安装好运行React Native的相关环境, --- 使用说明: 1.运行前,先关掉终端(可能终端开启了其他的service) 2.初始化工程: 运行工程,如果 报错: Unable to resolve module react-timer-mixin from *** 工程目录下执行: npm i react-timer-mixin --save 然后关掉终端,重新运行 //这里需要执行一个命令,把包导入npm i react-timer-mixin --save //var TimerMixin = require('react-timer-mixin'); 3.运行工程 打开RNMeituan目录,双击iOS/RNMeituan.xcodeproj 启动工程 也可参考博客: [http://blog.csdn.net/l863784757/article/details/50456592](http://blog.csdn.net/l863784757/article/details/50456592) ![image](https://github.com/lookingstars/RNMeituan/blob/master/screenshots/1.png) ![image](https://github.com/lookingstars/RNMeituan/blob/master/screenshots/2.png) ![image](https://github.com/lookingstars/RNMeituan/blob/master/screenshots/3.png)