摘要:
function findMost(arr) { if (!arr.length) return if (arr.length 1) return 1 var res = {} // 遍历数组 for (var i=0,l=arr.length;i<l;i++) { if (!res[arr[i]] 阅读全文
摘要:
Document 添加数据 ... 阅读全文
摘要:
//优惠券标题 $('#CouponTitle').on('input', function() { if($(this).prop('comStart')) return; // 中文输入过程中不截断 CouponTitle = $(this).val().trim(); if(CouponTitle.length <= 9) { ... 阅读全文
摘要:
方法一:::-webkit-input-placeholder { /* WebKit browsers */ color: #fff; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #fff; opacity: 1; ... 阅读全文
摘要:
三、live-server使用 用npm进行全局安装 npm install live-server -g npm install live-server -g 在项目目录中打开 阅读全文
摘要:
test click me! 阅读全文
摘要:
.bottom1px { position: relative;}.bottom1px:after { display: block; content: " "; width: 100%; box-sizing: border-box; border-bottom: 1px solid #e1e1e 阅读全文
摘要:
用媒体查询: 阅读全文