上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页
摘要: 1.装依赖 "cssnano": "^4.1.10", "cssnano-preset-advanced": "^4.0.7", "postcss-aspect-ratio-mini": "^1.0.1", "postcss-cssnext": "^3.1.0", "postcss-import": 阅读全文
posted @ 2019-10-09 17:08 米牙 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 1.移动端或者谷歌浏览器(webkit内核) ::-webkit-scrollbar { display: none; } 2.兼容所有浏览器的css写法 demo: html部分: <div class="outsideBox"> <div class="centerBox"> <div clas 阅读全文
posted @ 2019-09-19 15:16 米牙 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/liub37/article/details/83310879 https://www.cnblogs.com/zhongchao666/p/11142537.html 阅读全文
posted @ 2019-09-09 16:03 米牙 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 一:安装 1.vue create 工程名(注vue3: build没了、config没了,3.0的安装项目时自动下载node-model。) 2.在根目录下创建一个vue.config.js function getIPAdress(){ var interfaces = require('os' 阅读全文
posted @ 2019-09-09 15:43 米牙 阅读(4472) 评论(0) 推荐(0) 编辑
摘要: vue-cli2:兼容ie9及其以上; flex:兼容ie10及其以上; vue-cli3:兼容ie11及其以上 阅读全文
posted @ 2019-09-09 13:59 米牙 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: 1.js身份证校验 //身份证校验 function checkIDCard(idcode){ // 加权因子 var weight_factor = [7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2]; // 校验码 var check_code = ['1', '0', 阅读全文
posted @ 2019-08-22 16:41 米牙 阅读(3366) 评论(0) 推荐(0) 编辑
摘要: 方法一. 后台:配置access-control-allow-origin:*, 前端:不用做任何操作,即可访问 问题:前端请求头不会带上cookie,后台无法获取当前会话id(sesseionId) 方法二. 前端:请求配置withcreadential:true eg:1/axios: axio 阅读全文
posted @ 2019-08-01 21:55 米牙 阅读(9779) 评论(0) 推荐(2) 编辑
摘要: 1.安装Debugger for Chrome插件 2.使用ctrl+`快捷键打开终端,然后输入npm install -g live-server 3.在命令行里输入 live-server即可 阅读全文
posted @ 2019-07-24 09:45 米牙 阅读(2435) 评论(0) 推荐(0) 编辑
摘要: https://www.chromefor.com/ 阅读全文
posted @ 2019-06-24 18:28 米牙 阅读(501) 评论(0) 推荐(0) 编辑
摘要: ES全称ECMAScript,ECMAScript是ECMA制定的标准化脚本语言。目前JavaScript使用的ECMAScript版本为ECMA-417。关于ECMA的最新资讯可以浏览 ECMA news查看。 ECMA规范最终由TC39敲定。TC39由包括浏览器厂商在内的各方组成,他们开会推动J 阅读全文
posted @ 2019-05-31 16:02 米牙 阅读(14195) 评论(0) 推荐(4) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页