摘要: //render 第一种方法:先const一个对象,把需要应用图片的dom上的style写入对象中, 然后在return()中使用style关键字赋值为预先定义的那个style对象 const bgGround = { display:'block', height: '600px', width: 阅读全文
posted @ 2020-01-25 18:36 仙界架构师 阅读(1135) 评论(3) 推荐(0) 编辑
摘要: requestAnimationFrame 随着浏览器的刷新而执行。 let a = () =>{ doSomething() ; window.requestAnimationFrame( function ); } window.requestAnimationFrame( function ) 阅读全文
posted @ 2020-01-25 18:26 仙界架构师 阅读(113) 评论(0) 推荐(0) 编辑
摘要: /* sass 可以用写JS的思想来写CSS代码 * #{} 用来插值,大括号中填写需要插入的变量 * @for 变量 from 1 through 9 从1到9循环 * $sizei 定义一个变量 值为 $i * 7.5 * .myposition0#{$i}0#{$j} class类名中插入变量 阅读全文
posted @ 2020-01-25 18:20 仙界架构师 阅读(1986) 评论(0) 推荐(0) 编辑
摘要: react脚手架搭建命令 react常用库 阅读全文
posted @ 2020-01-20 17:06 仙界架构师 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: js 数组方法 字符串方法 总览 阅读全文
posted @ 2020-01-20 16:42 仙界架构师 阅读(671) 评论(0) 推荐(1) 编辑
摘要: 使用国外原镜像 npm install -g @vue/cli //yarn global add @vue/cli 使用淘宝镜像 cnpm install -g @vue/cli //yarn global add @vue/cli vue create name 新建VUE项目,name一定不能 阅读全文
posted @ 2020-01-20 15:55 仙界架构师 阅读(656) 评论(0) 推荐(0) 编辑
摘要: npm、node的版本查看与升级 淘宝镜像 阅读全文
posted @ 2020-01-20 15:48 仙界架构师 阅读(725) 评论(0) 推荐(0) 编辑
摘要: git 阅读全文
posted @ 2020-01-20 15:21 仙界架构师 阅读(110) 评论(0) 推荐(0) 编辑
摘要: python sorted() max() min() filter() map() reduce() 阅读全文
posted @ 2020-01-20 14:42 仙界架构师 阅读(245) 评论(0) 推荐(0) 编辑
摘要: python 学习笔记 阅读全文
posted @ 2020-01-20 13:54 仙界架构师 阅读(272) 评论(0) 推荐(1) 编辑