摘要: // 匹配手机号// var res = /^[1][3,4,5,6.7,8,9][0-9]{9}$/// let num = 18045216903// console.log(res.test(num)) // 匹配身份证号码// var res = /(^\d{15}$)|(^\d{18}$) 阅读全文
posted @ 2023-03-09 16:58 叶乘风 阅读(1647) 评论(0) 推荐(0) 编辑
摘要: 子块: width: 'calc(25% - 4px)', margin: '2px', 父块: backgroundColor: '#f2f2f2', border: '2px solid #f2f2f2', // 这是重点 阅读全文
posted @ 2023-03-09 11:51 叶乘风 阅读(9) 评论(0) 推荐(0) 编辑