![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端CV
李二苟
热爱前端新技术的95后
展开
-
2021-06-22 js正则校验身份证
isCardNo (card) { let flag = false if (card.length === 15) { let reg = /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}原创 2021-06-22 21:01:47 · 910 阅读 · 0 评论 -
微信小程序 下载大于10M的视频 并下载至用户相册ios安卓通用
文章目录需求一、代码片段二、如何使用总结需求微信小程序中将线上视频下载到用户手机相册一、代码片段以下代码可直接cv 当前开发基础库 2.16.0download() { const _this = this let fileName = new Date().valueOf() let nowActive = _this.data.videoList[_this.data.nowActiveIndex] //这里当前视频行数据的的对象 根据自己业务修改原创 2021-04-21 09:51:15 · 1323 阅读 · 0 评论