摘要: 常用的正则表达式 pattern的用法,只是列出来一些常用的正则: 信用卡 [0-9]{13,16} 银联卡 ^62[0-5]\d{13,16}$ Visa: ^4[0-9]{12}(?:[0-9]{3})?$ 万事达:^5[1-5][0-9]{14}$ QQ号码: [1-9][0-9]{4,14} 阅读全文
posted @ 2018-12-17 10:41 阿阳= 阅读(3604) 评论(0) 推荐(0) 编辑
摘要: 原因是你使用了vue-router的history,可以尝试去掉 // mode:"history", 阅读全文
posted @ 2018-11-26 14:22 阿阳= 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: webpack.prod.conf.js 中output添加参数publicPath:'./' 修改webpack.base.conf.js中: publicPath: process.env.NODE_ENV 'production' ? './' +config.build.assetsPubl 阅读全文
posted @ 2018-11-26 14:08 阿阳= 阅读(6425) 评论(0) 推荐(0) 编辑
摘要: 1、flex布局 1.1 容器指定为flex布局 .box{display: flex;} 1.2 行元素指定flex布局 .box{display:inline-flex} 2、容器的属性 2.1、flex-direction 2.2、flex-wrap 2.3、flex-flow 2.4、jus 阅读全文
posted @ 2018-11-13 14:51 阿阳= 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 我的博客开通了!这是我的第一篇博客。。 阅读全文
posted @ 2018-11-08 17:25 阿阳= 阅读(70) 评论(0) 推荐(0) 编辑