2021年6月21日
摘要: function getQueryString = (name) => { let reg = new RegExp("(^|/?|&)" + name + "=([^&]*)(&|$)", "i"); let r = decodeURIComponent(location.href).substr 阅读全文
posted @ 2021-06-21 17:33 阿梅M 阅读(39) 评论(0) 推荐(0) 编辑
摘要: /** * 获取距离当前时间的 (天数/小时数/分钟数) * @param {*} timesData '2018-05-17 16:58:00' * @returns */ function timesDiff(timesData) { var dateBegin = new Date();//获 阅读全文
posted @ 2021-06-21 17:25 阿梅M 阅读(1136) 评论(0) 推荐(0) 编辑