摘要: 判断设备android,weixin,iosvar UserAgent=navigator.userAgent.toLowerCase(); var IS_ANDROID=false; var IS_IOS=false; var IS_WEIXIN=false; var rootDomain = w... 阅读全文
posted @ 2015-10-09 10:29 公子襄 阅读(334) 评论(0) 推荐(0) 编辑
摘要: function addZero(time) { return time < 10 ? time == 0 ? time : time = '0' + time : time; } 阅读全文
posted @ 2015-10-09 10:14 公子襄 阅读(240) 评论(0) 推荐(0) 编辑