摘要: function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 var r = window.location.search.substr(1).mat 阅读全文
posted @ 2020-09-25 09:52 YH丶浩 阅读(610) 评论(0) 推荐(0) 编辑
摘要: Date.prototype.Format = function(fmt) { // author: meizz var o = { "M+": this.getMonth() + 1, // 月份 "d+": this.getDate(), // 日 "h+": this.getHours(), 阅读全文
posted @ 2020-09-25 09:45 YH丶浩 阅读(205) 评论(0) 推荐(0) 编辑
摘要: function DateTime(Tid) { var now = new Date(); var validDate = "", day = now.getDate(), month = now.getMonth(), year = now.getFullYear(); var nowTime 阅读全文
posted @ 2020-09-25 09:43 YH丶浩 阅读(238) 评论(0) 推荐(0) 编辑