摘要: [toc] 1. FaskClick 1. 为什么使用FastClick 移动设备上的浏览器默认会在用户点击屏幕大约延迟300毫秒后才会触发点击事件,这是为了检查用户是否在做双击,为了能够立即相应用户的点击事件,才有了FastClick。 项目地址: "https://github.com/ftla 阅读全文
posted @ 2020-03-24 21:14 liehuofeihu 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 左右居中 垂直居中方式 父元素需要设置position为非static定位,如果需要左右也居中,加上 即可。 ` 样例代码 阅读全文
posted @ 2020-03-23 10:58 liehuofeihu 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 如何配置fiddler达到限速功能? 1.打开fiddler-> Rules -> Costomize Rules 2.搜索300ms找到默认配置如下,可根据需要自行修改值。 if (m_SimulateModem) { // Delay sends by 300ms per KB uploaded 阅读全文
posted @ 2020-03-20 21:52 liehuofeihu 阅读(450) 评论(0) 推荐(0) 编辑
摘要: root@always-virtual-machine:/home/always# cat /proc/version Linux version 5.3.0-40-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu 7.4.0-1 阅读全文
posted @ 2020-03-19 16:01 liehuofeihu 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 问题1Launching lib\main.dart on Android SDK built for x86 64 in debug mode... Initializing gradle... Resolving dependencies... * Error running Gradle: P 阅读全文
posted @ 2019-11-01 16:09 liehuofeihu 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: var num = 234234234234234; num.toLocaleString(); //"234,234,234,234,234" 阅读全文
posted @ 2019-10-30 11:04 liehuofeihu 阅读(935) 评论(0) 推荐(0) 编辑
摘要: 当使用flutter doctor下载相关依赖比较慢,或者超时,先确认是否是国内镜像,如果不是可以采用国内镜像进行下载 一般默认装好flutter之后,window需要做如下配置修改镜像源 1.在windows系统变量或者用户变量中添加如下两条变量和值 如果是linux可以采用如下命令 2.找到fl 阅读全文
posted @ 2019-10-30 11:01 liehuofeihu 阅读(3884) 评论(0) 推荐(1) 编辑