摘要:
function getQueryString = (name) => { let reg = new RegExp("(^|/?|&)" + name + "=([^&]*)(&|$)", "i"); let r = decodeURIComponent(location.href).substr 阅读全文
摘要:
/** * 获取距离当前时间的 (天数/小时数/分钟数) * @param {*} timesData '2018-05-17 16:58:00' * @returns */ function timesDiff(timesData) { var dateBegin = new Date();//获 阅读全文