上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: //手机号码格式校验 var regmobile = /^(13[0-9]|14[5|7]|15[0|1|2|3|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\d{8}$/; //输入的某个值是否数字 var regNumber = /^[0-9]*$/; //输入的某个值是否 阅读全文
posted @ 2020-03-01 12:18 edczjw 阅读(183) 评论(0) 推荐(0) 编辑
摘要: //获取url参数 getQueryVariable(variable){ var query =decodeURIComponent(window.location.search.substring(1)); var vars = query.split("&"); for (var i=0;i< 阅读全文
posted @ 2020-02-27 18:10 edczjw 阅读(177) 评论(0) 推荐(0) 编辑
摘要: <input v-if="ipshow" type="file" accept="image/*" name="file1" capture="camera" @change="upload"> <input v-else type="file" accept="image/*" name="fil 阅读全文
posted @ 2020-02-27 18:08 edczjw 阅读(800) 评论(0) 推荐(0) 编辑
摘要: <meta http-equiv="Cache-Control"content="no-cache"/> 手机页面通常在第一次加载后会进行缓存,然后每次刷新会使用缓存而不是去重新向服务器发送请求。如果不希望使用缓存可以设置no-cache。 阅读全文
posted @ 2020-02-27 17:47 edczjw 阅读(890) 评论(0) 推荐(0) 编辑
摘要: .bgimg{ width: 100%; height: 95vh; margin: 0; padding: 0 .32rem; background-image: url('../image/ld.jpg'); background-repeat: no-repeat; background-si 阅读全文
posted @ 2020-02-27 17:41 edczjw 阅读(2748) 评论(0) 推荐(0) 编辑
摘要: 修改前css部分代码: .receiving-info .receiving-info-list input { display: inline-block; width: 70%; font-size: 14px; color: #333; border: none; outline: none; 阅读全文
posted @ 2020-02-27 17:38 edczjw 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 在ios移动端, 弹出软键盘只能 行为事件才能触发 弹出软键盘, 脚本事件是不能触发 弹出软键盘 (行为事件;如点击,触屏等) (脚本事件:如 定时器定时触发) 阅读全文
posted @ 2020-02-27 17:35 edczjw 阅读(1253) 评论(0) 推荐(0) 编辑
摘要: <div class="mask"> <div class="content">我是弹框</div> </div> .mask { position: fixed; top: 0; left: 0; display: flex; justify-content: center; align-item 阅读全文
posted @ 2020-02-27 17:34 edczjw 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 以上行为可以总结成这几个(每个手机以及浏览器的表现形式不一样):长按图片保存、长按选择文字、长按链接/手机号/邮箱时呼出菜单。 想要禁止这些浏览器的默认行为,可以使用以下CSS: // 禁止长按图片保存 img { -webkit-touch-callout: none; pointer-event 阅读全文
posted @ 2020-02-27 16:58 edczjw 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: <body ontouchstart></body> 给body注册一个空事件即可😂 阅读全文
posted @ 2020-02-27 16:54 edczjw 阅读(496) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页