转圈圈
摘要: 官方开发文档: "小程序公众平台" "小程序开发者指南" "小程序开发者文档" 学习资源: "微信:官方入门教程" "微信:WeUI 是一套同微信原生视觉体验一致的基础样式库" "微信:微信小程序示例" 视频: "学堂在线:学做小程序" 阅读全文
posted @ 2019-04-03 09:36 rosendolu 阅读(330) 评论(0) 推荐(0) 编辑
摘要: ajax 1. get 方法 1. post 方法 阅读全文
posted @ 2019-03-28 22:23 rosendolu 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1. Promise常用方法 Promise.prototype.then() 接受两个参数resolved 回调 rejected 回调(可选) Promise.prototype.catch() 是.then(null, rejection)或.then(undefined, rejection 阅读全文
posted @ 2019-03-27 22:33 rosendolu 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 图片压缩: "Google·开源 squoosh" 生成头像 "avataaars generator" 阅读全文
posted @ 2019-03-27 14:12 rosendolu 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 参考: "bilibili:第13讲 IPv4地址 构造超网(无分类编址)(计算机网络简明教程及仿真实验)" 阅读全文
posted @ 2019-03-27 13:14 rosendolu 阅读(217) 评论(0) 推荐(0) 编辑
摘要: BFC块级格式化上下文 1. 触发条件 1. overflow 值不为 visible 的块元素 1. 根元素 html 元素 1. 浮动元素(元素的 float 不是 none) 1. 绝对定位元素(元素的 position 为 absolute 或 fixed) 1. display 为这类值. 阅读全文
posted @ 2019-03-26 22:24 rosendolu 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1. 流体布局 主要内容无法优先加载,影响用户体验 html结构,left,right,center,主要内容无法优先加载 css 1. BFC3栏布局 主要内容无法优先加载,影响用户体验 css 1. 双飞翼布局 利用的是浮动元素 margin 负值的应用。主体内容可以优先加载, HTML 代码结 阅读全文
posted @ 2019-03-26 18:30 rosendolu 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. float + 两层DOM实现 html css 1. display:inline block + 两层DOM 实现 css 1. white sapce:nowrap 减少一层DOM html css 阅读全文
posted @ 2019-03-25 22:43 rosendolu 阅读(782) 评论(0) 推荐(0) 编辑
摘要: 1. 常规方法 1. es6 对象解构赋值实现 1. 传入两个参(arr,fn),控制升序,降序 javascript function sort_bubble(arr,fn) { let length = arr.length; for(let x = 0; x y; } function des 阅读全文
posted @ 2019-03-25 11:53 rosendolu 阅读(405) 评论(0) 推荐(0) 编辑
摘要: "install" docker 命令 阅读全文
posted @ 2019-03-24 20:49 rosendolu 阅读(78) 评论(0) 推荐(0) 编辑