摘要: 来源:https://github.com/nolimits4web/Swiper/issues/1467 https://blog.csdn.net/oucqsy/article/details/76133818 阅读全文
posted @ 2018-07-03 19:19 糖糖部落 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 1、6-16位字符,数字,字母,下划线至少有两种元素组合 /^((?=.*\d)(?=.*_)|(?=.*[a-zA-Z])(?=.*[\d_]))\w{6,16}$/ 阅读全文
posted @ 2018-06-25 16:02 糖糖部落 阅读(118) 评论(0) 推荐(0) 编辑
摘要: $(".jsPwd").on('input propertychange', function() { //事件监听 $(".jsPlaceholder")[$(this).val() != '' ? 'hide' : 'show'](); }); window.addEventListener('pageshow', function(e... 阅读全文
posted @ 2018-05-30 15:22 糖糖部落 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://www.cnblogs.com/yangjie-space/p/4856109.html 定义子元素排列 定义子元素换行情况 flex-flow兼容 横向排列布局 新版本justify-content的兼容情况 竖向排列布局 新版本align-items兼容情况 伸缩盒子布 阅读全文
posted @ 2018-05-30 11:39 糖糖部落 阅读(1127) 评论(0) 推荐(0) 编辑
摘要: 加随机数:window.location.replace(window.location.href+'?rn='+ Date.now()); 阅读全文
posted @ 2018-05-30 10:57 糖糖部落 阅读(295) 评论(0) 推荐(0) 编辑
摘要: https://www.2cto.com/kf/201609/548586.html 阅读全文
posted @ 2018-04-23 14:06 糖糖部落 阅读(181) 评论(0) 推荐(0) 编辑
摘要: //userAgent 属性是一个只读的字符串,声明了浏览器用于 HTTP 请求的用户代理头的值。//appVersion 属性可返回浏览器的平台和版本信息。该属性是一个只读的字符串。define(function(require, exports, module) { exports.browse 阅读全文
posted @ 2018-03-26 10:57 糖糖部落 阅读(164) 评论(0) 推荐(0) 编辑
摘要: html: <input type="hidden" class="progressRate" value="{$content.progressRate/100}"> <!--progressRate 投资进度--> <canvas id="draw_circle" style="width:7r 阅读全文
posted @ 2018-03-23 18:02 糖糖部落 阅读(238) 评论(0) 推荐(0) 编辑
摘要: var u = navigator.userAgent, app = navigator.appVersion, isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器 isiOS = 阅读全文
posted @ 2018-03-23 17:28 糖糖部落 阅读(132) 评论(0) 推荐(0) 编辑
摘要: npm i node-sass -D 或npm install node-sass 安装报错 解决方法:1、使用淘宝镜像完成安装 阅读全文
posted @ 2018-03-23 17:09 糖糖部落 阅读(176) 评论(0) 推荐(0) 编辑