摘要: 常用的前端JavaScript方法封装 1.获得视口的尺寸 function getViewportOffset() { if (window.innerWidth) { return { w: window.innerWidth, h: window.innerHeight } } else { // ie8及其以下 if (docum 阅读全文
posted @ 2021-11-02 14:16 AvenCheung 阅读(33) 评论(0) 推荐(0) 编辑
摘要: VSCode的个人setting.json配置 { "workbench.colorTheme": "Eva Dark Bold", "explorer.confirmDelete": false, // 重新设定tabsize "editor.tabSize": 2, // 光标样式 "editor.cursorBlinking": "phas 阅读全文
posted @ 2021-11-02 09:41 AvenCheung 阅读(403) 评论(0) 推荐(0) 编辑