01 2018 档案

摘要:.cont-detail ul li { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; ... 阅读全文
posted @ 2018-01-30 09:39 abcByme 阅读(366) 评论(1) 推荐(0) 编辑
摘要:CSS3时钟 css 始终效果演示 ... 阅读全文
posted @ 2018-01-22 21:52 abcByme 阅读(390) 评论(0) 推荐(0) 编辑
摘要:function toDecimal2(x) { var f = parseFloat(x); if (isNaN(f)) { return false; } var f = Math.round(x*100)/100; var s = f.toString(); var rs = s.indexOf('.'); if (r... 阅读全文
posted @ 2018-01-19 11:14 abcByme 阅读(2151) 评论(0) 推荐(0) 编辑
摘要:function getobjArr (data) { var result = []; data.HELMET.system = '系统分类' // console.log(data) $.each(data.HELMET, function (index_h, e... 阅读全文
posted @ 2018-01-12 13:01 abcByme 阅读(3340) 评论(0) 推荐(0) 编辑
摘要:var arrsAll = ['1','1','1']; console.log('isAllEqual',isAllEqual(arrsAll)); //true 阅读全文
posted @ 2018-01-12 12:27 abcByme 阅读(3788) 评论(0) 推荐(0) 编辑
摘要:var ary = new Array("111", "22", "33", "111"); console.log(arrHasvalue(ary)); //true 阅读全文
posted @ 2018-01-11 22:48 abcByme 阅读(1860) 评论(3) 推荐(0) 编辑
摘要:var arrs = ['1','2','3']; console.log(arrHasValue(1,arrs)); //true 阅读全文
posted @ 2018-01-11 22:25 abcByme 阅读(2573) 评论(0) 推荐(0) 编辑
摘要://金额处理 var number = 1234567.35; if (parseInt(number) == number) { var money = number.toString().split(''); var unit = money[money.length - 1]; var decade = money[m... 阅读全文
posted @ 2018-01-11 14:44 abcByme 阅读(724) 评论(0) 推荐(0) 编辑
摘要:console.log('fmoney',fmoney(100.12243, 2)) //100.12 阅读全文
posted @ 2018-01-11 14:29 abcByme 阅读(673) 评论(0) 推荐(0) 编辑
摘要:console.log('obj',obj) 阅读全文
posted @ 2018-01-11 14:23 abcByme 阅读(10869) 评论(0) 推荐(0) 编辑
摘要:console.log(smalltoBIG(43533534.78)); 阅读全文
posted @ 2018-01-11 13:03 abcByme 阅读(1245) 评论(0) 推荐(0) 编辑
摘要:来自:SangSir 链接:https://segmentfault.com/a/1190000012673854 原文:https://www.sitepoint.com/shorthand-javascript-techniques/ 1.三元操作符 当想写 if...else 语句时,使用三元 阅读全文
posted @ 2018-01-10 14:24 abcByme 阅读(2066) 评论(0) 推荐(1) 编辑
摘要:Document 1.时间都去哪儿了 2.海阔天空 3.真的爱你 ... 阅读全文
posted @ 2018-01-10 13:04 abcByme 阅读(332) 评论(0) 推荐(0) 编辑
摘要:ajaxJson('POST', url, JSON.stringify(param), function(err, result){ //result or rsp // if(SUCCESS){ //....... }else{ //....... } }); ————————————————— 阅读全文
posted @ 2018-01-04 10:14 abcByme 阅读(1178) 评论(0) 推荐(0) 编辑
摘要:转自:http://www.cnblogs.com/chiname/articles/216517.html(侵删) /* * 方法:Array.removeAt(Index) * 功能:删除数组元素. * 参数:Index删除元素的下标. * 返回:在原数组上修改数组 */ /* * 方法:Arr 阅读全文
posted @ 2018-01-03 18:05 abcByme 阅读(1173) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示