会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
米牙
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
16
下一页
2019年10月9日
vue3 将px转为vw(大屏展示可用)
摘要: 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 米牙
阅读(1433)
评论(0)
推荐(0)
2019年9月19日
css隐藏滚动条(webkit和非webkit)
摘要: 1.移动端或者谷歌浏览器(webkit内核) ::-webkit-scrollbar { display: none; } 2.兼容所有浏览器的css写法 demo: html部分: <div class="outsideBox"> <div class="centerBox"> <div clas
阅读全文
posted @ 2019-09-19 15:16 米牙
阅读(988)
评论(0)
推荐(0)
2019年9月9日
vue富文本(推荐用Tinymce)
摘要: 参考:https://blog.csdn.net/liub37/article/details/83310879 https://www.cnblogs.com/zhongchao666/p/11142537.html
阅读全文
posted @ 2019-09-09 16:03 米牙
阅读(971)
评论(0)
推荐(0)
vue3的配置和踩坑(安装、配置vue-router、px转rem、热更新、less、axios)
摘要: 一:安装 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 米牙
阅读(4593)
评论(0)
推荐(0)
vue、flex兼容性
摘要: vue-cli2:兼容ie9及其以上; flex:兼容ie10及其以上; vue-cli3:兼容ie11及其以上
阅读全文
posted @ 2019-09-09 13:59 米牙
阅读(1372)
评论(0)
推荐(0)
2019年8月22日
js身份证校验、js手机号码校验
摘要: 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 米牙
阅读(3391)
评论(0)
推荐(0)
2019年8月1日
CORS跨域问题(前端处理)
摘要: 方法一. 后台:配置access-control-allow-origin:*, 前端:不用做任何操作,即可访问 问题:前端请求头不会带上cookie,后台无法获取当前会话id(sesseionId) 方法二. 前端:请求配置withcreadential:true eg:1/axios: axio
阅读全文
posted @ 2019-08-01 21:55 米牙
阅读(10003)
评论(0)
推荐(2)
2019年7月24日
vscode开启本地服务
摘要: 1.安装Debugger for Chrome插件 2.使用ctrl+`快捷键打开终端,然后输入npm install -g live-server 3.在命令行里输入 live-server即可
阅读全文
posted @ 2019-07-24 09:45 米牙
阅读(2515)
评论(0)
推荐(0)
2019年6月24日
免费下载谷歌扩展工具
摘要: https://www.chromefor.com/
阅读全文
posted @ 2019-06-24 18:28 米牙
阅读(518)
评论(0)
推荐(0)
2019年5月31日
ES6、ES7、ES8、ES9、ES10新特性一览
摘要: ES全称ECMAScript,ECMAScript是ECMA制定的标准化脚本语言。目前JavaScript使用的ECMAScript版本为ECMA-417。关于ECMA的最新资讯可以浏览 ECMA news查看。 ECMA规范最终由TC39敲定。TC39由包括浏览器厂商在内的各方组成,他们开会推动J
阅读全文
posted @ 2019-05-31 16:02 米牙
阅读(14314)
评论(0)
推荐(4)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
16
下一页
公告