上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页

2019年1月2日

js自动生成条形码插件-JsBarcode

摘要: JsBarcode.html 阅读全文

posted @ 2019-01-02 14:16 夜里码码 阅读(629) 评论(0) 推荐(0)

js计算两个时间相差

摘要: ``` .filter('useTime', function() { return function(val) { // if (/.(.mp4)$/gi.test(url)) { // return JSON.parse(str); // } let curTime = new Date().getTime(); var... 阅读全文

posted @ 2019-01-02 14:15 夜里码码 阅读(639) 评论(0) 推荐(0)

微信小程序 A~Z城市选择器js文件

摘要: 微信小程序城市选择 [a~z] 的所有城市选择 city.js addressChoose.js 阅读全文

posted @ 2019-01-02 14:14 夜里码码 阅读(342) 评论(0) 推荐(0)

原生JavaScript封装的jsonp跨域请求

摘要: 原生JavaScript封装的jsonp跨域请求 阅读全文

posted @ 2019-01-02 14:13 夜里码码 阅读(147) 评论(0) 推荐(0)

JavaScript浮点运算,小数点精度

摘要: math.js 阅读全文

posted @ 2019-01-02 14:12 夜里码码 阅读(125) 评论(0) 推荐(0)

JavaScript&jQuery获取url参数方法

摘要: JavaScript jQuery 阅读全文

posted @ 2019-01-02 14:11 夜里码码 阅读(112) 评论(0) 推荐(0)

textarea输入框回车加大高度

摘要: JavaScript 阅读全文

posted @ 2019-01-02 14:10 夜里码码 阅读(191) 评论(0) 推荐(0)

判断手机横屏和竖屏方向

摘要: ``` function orient() { if (window.orientation == 90 || window.orientation == -90) { //ipad、iphone竖屏;Andriod横屏 $("body").attr("class", "landscape"); orientation = 'landsca... 阅读全文

posted @ 2019-01-02 14:08 夜里码码 阅读(168) 评论(0) 推荐(0)

JS等比例缩放图片,限定最大宽度和最大高度

摘要: JavaScript html 阅读全文

posted @ 2019-01-02 14:08 夜里码码 阅读(347) 评论(0) 推荐(0)

JavScript 日期格式化

摘要: ``` //日期格式化 function formatDate(date,fmt) { if(date == null || typeof (date) == undefined || date == ''){ date = new Date(); } if(typeof (fmt) == undefined || fmt == null || fmt ... 阅读全文

posted @ 2019-01-02 14:07 夜里码码 阅读(164) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页

导航