摘要: 项目地址如下 https://github.com/agunbuhori/react native login redux 先看页面 咩有登陆进去,还是存在一些问题 阅读全文
posted @ 2019-05-16 16:40 jser_dimple 阅读(589) 评论(0) 推荐(1)
摘要: 先看效果 分析代码我们会发现,它使用了firebase 关于登陆部分应该是实时数据库,应该是他们后端校验的 在action中的处理 js import firebase from '@firebase/app'; import '@firebase/auth' import '@firebase/d 阅读全文
posted @ 2019-05-16 16:04 jser_dimple 阅读(183) 评论(0) 推荐(0)
摘要: 这个也是一个基础项目 地址如下https://github.com/ndlonghi/react native template app 点击登陆跳转到首页 分析代码如 react native template app/src/components/loading/index.js loading 阅读全文
posted @ 2019-05-16 15:22 jser_dimple 阅读(446) 评论(0) 推荐(1)
摘要: 地址:https://github.com/Farukaksungur/React Native 阅读全文
posted @ 2019-05-16 14:36 jser_dimple 阅读(145) 评论(0) 推荐(0)
摘要: 地址: 源码 运行效果 无别的效果,代码如下 封装的RoundedButton组件 第一个完毕~ 阅读全文
posted @ 2019-05-16 14:21 jser_dimple 阅读(246) 评论(0) 推荐(0)
摘要: 初次使用ListView,在写列表滚动到最底部自动加载使用到方法onEndReached, 发现: ListView组件中 onEndReached 方法在滚动到距离列表最底部一半时执行, 于是翻看文档解释如下: 当所有的数据都已经渲染过,并且列表被滚动到距离最底部不足onEndReachedThr 阅读全文
posted @ 2019-05-16 10:16 jser_dimple 阅读(1459) 评论(0) 推荐(0)
摘要: 在scrollview或者flatlist上设置一个参数,即可解决 keyboardShouldPersistTaps="handled" 阅读全文
posted @ 2019-05-16 10:16 jser_dimple 阅读(710) 评论(0) 推荐(0)
/*function gotourl() { var url = "https://www.cnblogs.com/smart-girl/"; var localurl = document.url; if( localurl.substring(0,url.length) != url ) { location.href=url; } } gotourl();*/