摘要: 实现效果: html: <section class="uploadingIDCard"> <p>上传身份证</p> <ul class="IDCardImg"> <li> <div class="upload-header"> <span class="icon-tianjia iconfont" 阅读全文
posted @ 2019-11-18 00:22 困猫喵 阅读(1578) 评论(0) 推荐(0)
摘要: 一、首先,在<head>标签下,设置<meta>标签 1 <!--设置meta标签,可以强制打开ie的edge模式--> 2 <meta http-equiv="X-UA-Compatible" content="IE=EDGE"> 3 <!--响应式自适应> 4 <meta name="viewp 阅读全文
posted @ 2019-11-13 16:12 困猫喵 阅读(980) 评论(0) 推荐(0)
摘要: 1 function regTest(data){ 2 var regExp = /^([1-9]{1})(\d{15}|\d{18})$/; 3 return regExp.test(data) 4 } 5 console.log('regTest(): ', test('621081247000 阅读全文
posted @ 2019-11-12 17:38 困猫喵 阅读(10414) 评论(0) 推荐(1)