会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
北野
博客园
管理
上一页
1
2
3
4
5
6
7
8
9
···
15
下一页
2018年12月6日
react native ios启动指定模拟器
摘要: react-native run-ios --simulator "iPhone 7 Plus” xcrun instruments -w 'iPhone X'
阅读全文
posted @ 2018-12-06 16:25 年少的你如此美丽
阅读(488)
评论(0)
推荐(0)
2018年11月28日
React-Native Navigator-this.props.navigation....
摘要: render() { return ( 2 this.props.navigation.push('Profile')} /> this.props.navigation.navigate('Home')} ...
阅读全文
posted @ 2018-11-28 11:31 年少的你如此美丽
阅读(1450)
评论(0)
推荐(0)
2018年11月26日
react-native 适配问题
摘要: const ScreenWidth = Dimensions.get('window').width; static DimensionsTransform(px) { // 设计图纸以750为基准 return px/750*ScreenWidth }
阅读全文
posted @ 2018-11-26 15:17 年少的你如此美丽
阅读(279)
评论(0)
推荐(0)
2018年11月21日
vsCode 开发微信小程序插件
摘要: 用 vsCode 开发微信小程序可以配置以下插件,让开发更美好: 1. vscode weapp api 2. vscode wxml 3. vscode-wechat 4. Easy WXLESS 5. 有个和 vsCode 差不多,还可以预览的 IDE:Egret Wing; minapp 小程
阅读全文
posted @ 2018-11-21 17:41 年少的你如此美丽
阅读(7401)
评论(0)
推荐(0)
2018年11月16日
React-Native Navigator 过渡动画卡顿的解决方案
摘要: 在RN0.44版本之前,路由导航跳转几乎是使用的是Navigator组件,在0.44版本以后就不推荐使用了,官方推荐的是react-navigation,当然还是可以在废弃的库中找到: import { Navigator } from 'react-native-deprecated-custom
阅读全文
posted @ 2018-11-16 17:57 年少的你如此美丽
阅读(1716)
评论(0)
推荐(0)
2018年11月12日
JavaScript运行机制
摘要: 一、引子 本文介绍JavaScript运行机制,这一部分比较抽象,我们先从一道面试题入手: 1 2 3 4 5 6 console.log(1); setTimeout(function(){ console.log(3); },0); console.log(2); 请问数字打印顺序是什么? 1
阅读全文
posted @ 2018-11-12 10:08 年少的你如此美丽
阅读(205)
评论(0)
推荐(0)
2018年11月11日
npm install Unexpected token in JSON at position XXX
摘要: 问题描述执行npm install命令时出错,查看日志发现: Unexpected token < in JSON at position 183718 解决方法删除根目录下package-lock.json文件 参考Install error: Unexpected token < in JSON
阅读全文
posted @ 2018-11-11 13:52 年少的你如此美丽
阅读(2484)
评论(0)
推荐(0)
2018年11月9日
css - 盒子模型
摘要: W3C和IE盒子模型 1) W3C定义的盒子模型包括margin、border、padding、content ,元素的width=content的宽度 2) . IE盒子模型与W3C的盒子模型唯一区别就是元素的宽度,元素的width=content+padding+border 我个人认为W3C定
阅读全文
posted @ 2018-11-09 13:50 年少的你如此美丽
阅读(115)
评论(0)
推荐(0)
2018年11月1日
React native 横滑效果
摘要: import { Component } from 'react'; import { StyleSheet, View, Text, TouchableOpacity, ScrollView, Dimensions } from 'react-native'; const dimen = Dimensions.get('window'); co...
阅读全文
posted @ 2018-11-01 17:57 年少的你如此美丽
阅读(716)
评论(0)
推荐(0)
React-Native解决ListView 在Android手机上无吸顶效果
摘要: stickySectionHeadersEnabled={true} stickyHeaderIndices={[0]}
阅读全文
posted @ 2018-11-01 15:10 年少的你如此美丽
阅读(464)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
15
下一页