会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jser_dimple
博客园
首页
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
2019年4月16日
touch-paint
摘要: 效果如下 代码如下: js //main.js const ongoingTouches = []; const el = document.getElementById("canvas"); const ctx = el.getContext("2d"); window.onload = () =
阅读全文
posted @ 2019-04-16 15:14 jser_dimple
阅读(245)
评论(0)
推荐(0)
2019年4月11日
关于react-native项目在MacBookPro环境下打包成IPA
摘要: 苹果开发者打包是需要接入公司的开发者账户里面的。看是企业账户还是什么,具体我不太清楚。 不过打包的方法倒是大同小异。 我们一起新建项目,先跑起来这个项目 能跑起来项目,说明项目是很OK的。 接下来就是我们的打包环节了。 我们要用到Xcode 先进去我们的项目 AwesomeProject2 看到目录
阅读全文
posted @ 2019-04-11 22:42 jser_dimple
阅读(1216)
评论(0)
推荐(0)
关于react-native在MacBookPro环境下的安装
摘要: 都说欲善其事,必先利其器。 使用macbook写react native 环境真的非常容易配置 先看效果 然后我们看安装需要的东西 brew install node brew install watchman 在Appstore中安装 Xcode 即可 然后开始我们的项目 容易的令人想打Windo
阅读全文
posted @ 2019-04-11 14:21 jser_dimple
阅读(394)
评论(0)
推荐(0)
react-native---rn中的修饰组件(TouchableHightlight、TouchableOpacity、TouchableNativeFeedback等)
摘要: react native中View组件这是单纯的视图容器,并不能响应交互变化,绑定事件,rn提供了TouchableOpacity等封装组件以正确响应触摸操作。 TouchableWithoutFeedback:单纯的用户点击触摸响应组件,不会改变视图UI,仅绑定press、longPress等事件
阅读全文
posted @ 2019-04-11 11:18 jser_dimple
阅读(928)
评论(0)
推荐(1)
px转换成bp单位的工具函数
摘要: 在项目中使用是这样
阅读全文
posted @ 2019-04-11 10:04 jser_dimple
阅读(447)
评论(0)
推荐(0)
跟我一起使用android Studio打包react-native项目的APK
摘要: 使用的是react native的hello world项目 第一步:创建项目 第二步:打开我们的android studio 记住路径是直接到了android项目 第二步:导出apk文件 第三步:完成之后运行这个 就可以在我们的测试机中看到应用项目啦
阅读全文
posted @ 2019-04-11 00:35 jser_dimple
阅读(1226)
评论(0)
推荐(0)
2019年4月10日
undefined is not an object(evaluating '_react3.default.PropTypes.shape)
摘要: 手机红屏报这个错时的解决办法: npm uninstall save react native deprecated custom components npm install save https://github.com/facebookarchive/react native custom c
阅读全文
posted @ 2019-04-10 15:43 jser_dimple
阅读(503)
评论(0)
推荐(0)
2019年4月9日
react-native-deprecated-custom-components
摘要: 速记:从0.44版本开始,Navigator被从react native的核心组件库中剥离到了一个名为react native deprecated custom components的单独模块中。 如果你需要继续使用Navigator,则需要先yarn add react native depre
阅读全文
posted @ 2019-04-09 15:34 jser_dimple
阅读(1060)
评论(0)
推荐(1)
Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment:
摘要: Administrator@DESKTOP EHCTIOR MINGW64 /d/react native eyepetizer (master) $ react native run android Starting JS server... Building and installing the
阅读全文
posted @ 2019-04-09 10:59 jser_dimple
阅读(4933)
评论(0)
推荐(2)
2019年4月8日
pepperoni-app-kit
摘要: 哭唧唧,在github上面找react native学习,多么贫瘠的英文知识哇~这个就是我~ 我甚至不知道这个项目运行出来了的意义,不过一个一个学习哇 不积跬步无以至千里,加油哇~~ 在浏览器中,我们找到这个项目 https://github.com/futurice/pepperoni app k
阅读全文
posted @ 2019-04-08 15:44 jser_dimple
阅读(311)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
/*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();*/