摘要:
1.浏览器样式重置-reset.css @charset "utf-8"; html { background-color: #fff; color: #000; font-size: 12px } body, ul, ol, dl, dd, h1, h2, h3, h4, h5, h6, figu 阅读全文
摘要:
function dateFomat(fmt, date) { //fmt:设置的时间格式,data:时间戳 let ret; const opt = { "Y+": date.getFullYear().toString(), //年 "m+": (date.getMonth() + 1).toS 阅读全文
摘要:
(function(doc, win) { var docEl = doc.documentElement, resizeEvt = "orientationchange" in window ? "orientationchange" : "resize", recalc = function() 阅读全文