Need help with react-native-demo?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

slashhuang
192 Stars 67 Forks 35 Commits 3 Opened issues

Description

:notebook:使用react-native版本写的APP组件demo,同时对源代码添加注释(由于开发用mac,故暂未兼容安卓)

Services available

!
?

Need anything else?

Contributors list

# 133,018
MongoDB
HTML
CSS
koa2
32 commits

react-native-demo

本项目综合了如下react-native组件

  • Navigator 路由
  • WebView 网页
  • TabBarIOS 导航切换栏
  • TouchableHighlight 点按动作
  • View 布局
  • Text 文本
  • react-native-swiper 图片浏览
  • 自定义组件

本项目综合了如下react-native的API

  • Animated 动画
  • fetch 网络请求
  • Alert 模拟html的alert
  • CameraRoll 调用本地照片

使用

  cd ios
  open mockTMall.xcodeproj

效果图

主页入口-flex布局

WebView页面

TabBarIOS

Animated动画

TextInput

调用fetch网络请求

调用NetInfo获取网络状态

调用本地API

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.