摘要: 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]] 阅读全文
posted @ 2018-04-17 16:57 loewe0202 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 自定义事件拖拽组件 阅读全文
posted @ 2018-03-29 00:19 loewe0202 阅读(437) 评论(0) 推荐(0) 编辑
摘要: JQ选项卡 111111 222222 333333 ... 阅读全文
posted @ 2018-03-29 00:18 loewe0202 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Document 添加数据 ... 阅读全文
posted @ 2018-03-22 08:36 loewe0202 阅读(113) 评论(0) 推荐(0) 编辑
摘要: //优惠券标题 $('#CouponTitle').on('input', function() { if($(this).prop('comStart')) return; // 中文输入过程中不截断 CouponTitle = $(this).val().trim(); if(CouponTitle.length <= 9) { ... 阅读全文
posted @ 2018-03-21 11:39 loewe0202 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 方法一:::-webkit-input-placeholder { /* WebKit browsers */ color: #fff; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #fff; opacity: 1; ... 阅读全文
posted @ 2017-11-30 16:17 loewe0202 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 三、live-server使用 用npm进行全局安装 npm install live-server -g npm install live-server -g 在项目目录中打开 阅读全文
posted @ 2017-11-30 09:50 loewe0202 阅读(272) 评论(0) 推荐(0) 编辑
摘要: test click me! 阅读全文
posted @ 2017-11-29 10:37 loewe0202 阅读(682) 评论(0) 推荐(0) 编辑
摘要: .bottom1px { position: relative;}.bottom1px:after { display: block; content: " "; width: 100%; box-sizing: border-box; border-bottom: 1px solid #e1e1e 阅读全文
posted @ 2017-11-28 21:30 loewe0202 阅读(1370) 评论(0) 推荐(0) 编辑
摘要: 用媒体查询: 阅读全文
posted @ 2017-07-28 13:48 loewe0202 阅读(379) 评论(0) 推荐(0) 编辑