上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 34 下一页
摘要: https://www.haorooms.com/post/long_lianjie_websocket 阅读全文
posted @ 2021-04-01 16:52 smil、梵音 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 例子: 只是说排好序 并没有说两个数组都是升序或者是降序 var ar1=[2,3,5,8,9]; var arr2=[10,7,4,2]; 将arr2 拼接到 arr1 中 按照 升序排列 相同的元素不去重哦 以前把 我们会用es5得方式进行 解决 又是判断两个的长度又是啥的 还是比较麻烦的 这里 阅读全文
posted @ 2021-04-01 16:44 smil、梵音 阅读(333) 评论(0) 推荐(0) 编辑
摘要: https://webpack.docschina.org/concepts/#entry 阅读全文
posted @ 2021-04-01 16:32 smil、梵音 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 获取 html 元素,然后设置字体大小: var oHtml=document.getElementsByTagName("html")[0]; oHtml.style.fontSize=document.documentElement.clientWidth/16+"px"; 获取屏幕的宽度的方法 阅读全文
posted @ 2021-04-01 15:07 smil、梵音 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 文章一:https://www.php.cn/css-tutorial-409768.html 一、nth-child( ) 与 nth-of-type( )的定义与用法 nth-child(n) : 匹配父元素中的第 n 个子元素,元素类型没有限制。 nth-of-type(n) : 匹配同类型中 阅读全文
posted @ 2021-03-31 15:00 smil、梵音 阅读(2451) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <!-- <meta name="viewport" content="width=device-width,initial-scale=.33333,minim 阅读全文
posted @ 2021-03-30 16:35 smil、梵音 阅读(55) 评论(0) 推荐(0) 编辑
摘要: Vue使用 import ... from ... 来导入组件,库,变量等。而 from 后的来源可以是js,vue,json。这个是在webpack.base.conf.js中设置的: module.exports = { resolve: { extensions: ['.js', '.vue' 阅读全文
posted @ 2021-03-30 15:20 smil、梵音 阅读(417) 评论(0) 推荐(0) 编辑
摘要: Flex 布局教程:语法篇:http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html Flex 布局教程:实例篇:http://www.ruanyifeng.com/blog/2015/07/flex-examples.html 阅读全文
posted @ 2021-03-30 14:45 smil、梵音 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 创建本地服务器的方法自己用过几种,比较来说node的http-server模块是最简单,最快速的(应该还有更好的)。 第一步 安装nodejs官网地址:https://nodejs.org/en/ 第二步 安装node1.不管你是windows 还是 mac osx 环境下都是傻瓜式安装(懒得配了, 阅读全文
posted @ 2021-03-30 11:22 smil、梵音 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 首先要明白的是axios是什么:axios是基于promise(诺言)用于浏览器和node.js是http客户端。 axios的作用是什么呢:axios主要是用于向后台发起请求的,还有在请求中做更多是可控功能。 特点:支持浏览器和node.js 支持promise 能拦截请求和响应 能转换请求和响应 阅读全文
posted @ 2021-03-30 09:38 smil、梵音 阅读(161) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 34 下一页