摘要:
为元素添加on方法 Element.prototype.on = Element.prototype.addEventListener; NodeList.prototype.on = function (event, fn) {、 []['forEach'].call(this, function 阅读全文
摘要:
function getDuration(value,dateFormat){ let hour = parseInt((value) / 3600); if (hour<10) {//时 hour = "0" + hour; } var minute = parseInt((value % 360 阅读全文