前端
舒服的趴呆
这个作者很懒,什么都没留下…
展开
-
js复制span内容到剪切板
<span id="copyText">123456</span><span onclick="copy();">复制卡号</span>function cop原创 2019-01-11 10:35:15 · 4094 阅读 · 0 评论 -
js获取指定日期
//计算日期 多少月前 countdate(before) { let date = new Date(); date.setMonth(date.getMonth() - before); let fullYear = date.getFullYear(); let month = date.getMonth() + 1; let month2...原创 2019-01-17 16:04:30 · 2276 阅读 · 0 评论