摘要: function dateFomat(fmt, date) { //fmt:设置的时间格式,data:时间戳 let ret; const opt = { "Y+": date.getFullYear().toString(), //年 "m+": (date.getMonth() + 1).toS 阅读全文
posted @ 2020-08-26 10:22 用户小唐 阅读(277) 评论(0) 推荐(0)
摘要: (function(doc, win) { var docEl = doc.documentElement, resizeEvt = "orientationchange" in window ? "orientationchange" : "resize", recalc = function() 阅读全文
posted @ 2020-08-26 10:17 用户小唐 阅读(260) 评论(0) 推荐(0)