摘要: 一、临时响应 100——客户必须继续发出请求101——客户要求服务器根据请求转换HTTP协议版本二、成功 200——服务器成功返回网页201——提示知道新文件的URL202——接受和处理、但处理未完成203——返回信息不确定或不完整204——请求收到,但返回信息为空205——服务器完成了请求,用户代 阅读全文
posted @ 2021-07-23 17:25 人才不才 阅读(89) 评论(0) 推荐(0) 编辑
摘要: html <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900"> css font-family: 'Noto Sans SC','STHe 阅读全文
posted @ 2021-06-30 15:02 人才不才 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: wowjs的使用方式 例: <el-row class="header-main wow bounceInDown"> </el-row> ** 需要的动画里面 class 里面 添加 wow 然后在添加动画样试 bounceInDown ** 方式一: 第一步:安装 cnpm install wo 阅读全文
posted @ 2021-06-24 15:31 人才不才 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 定义缩放算法的 img { image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: -o-crisp-edges; /* Opera */ image-rendering: -webkit-optimize-contrast 阅读全文
posted @ 2021-06-21 15:43 人才不才 阅读(6189) 评论(0) 推荐(0) 编辑
摘要: 1.map //键名没有限制,什么类型都可以 .keys() //得到所有键名 .values() //得到所有值 .entries() //得到所有键值对 for (const [key, value] of map.entries()){} //循环map类型,得到键名和值 //课堂小实例:点击 阅读全文
posted @ 2021-02-04 17:53 人才不才 阅读(69) 评论(0) 推荐(0) 编辑
摘要: New set() //数组。不能有重复的值。类型严格约束,不转换类型,类型不同也可以存在.没有索引(key) .clear() //清空set数组,没有返回值 .delete('') //返回true/fal .size //返回数组元素个数 .value() //返回元素 .keys() //返 阅读全文
posted @ 2021-02-03 17:05 人才不才 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Symbol('后盾人') //拥有唯一性,可以添加描述 .hescription //查看Symbol的描述内容 Symbol.for('后盾人') //可以反复被使用,调用同一个内存地址。属于全局定义, .keyfor //可以获取for定义的描述 阅读全文
posted @ 2021-02-02 11:16 人才不才 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 数组属于引用类型 数组的方法: Array.of() //创建数组 array.isArray([]) //true 判断是否为数组,返回布尔值 [1,2].toString() //转换为字符串 String([1,2]) //转换字符串 [1,2,3].join('-') //‘’1-2-3‘’ 阅读全文
posted @ 2021-02-02 10:55 人才不才 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 字符串截取方法 1 let hd = 'abcdefg' 2 3 hd.slice(1) //bcdefg 4 hd.substring(1) //bcdefg 5 hd.substr(1) //bcdefg 6 7 8 hd.slice(1,3) //bc 9 hd.substring(1,3) 阅读全文
posted @ 2021-01-18 17:58 人才不才 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1. ++n 先n=n+1 ; n++ 最后n+1 2. && ‘并且’ 两个都为真为true;(第一个为false,第二个不判断) || ‘或’ 有一个为真就是true ;(第一个为true,第二个不判断) 3.switch let name = 'a' switch(name) { case " 阅读全文
posted @ 2021-01-09 15:03 人才不才 阅读(70) 评论(0) 推荐(0) 编辑