摘要: 1. 展示效果: 1.文件路径 - project + components - static + css - font iconfont.css iconfont.eot iconfont.svg iconfont.ttf iconfont.woff iconfont.woff2 - pages 阅读全文
posted @ 2020-08-21 15:02 一丝心情 阅读(6546) 评论(0) 推荐(0)
摘要: 1. air-datepicker 日历插件(日期多选,月份多选,年份多选,季度多选) github:https://github.com/t1m0n/air-datepicker 文档说明:http://t1m0n.name/air-datepicker/docs/ 1.1.1效果展示: 1.1. 阅读全文
posted @ 2020-07-27 16:04 一丝心情 阅读(8471) 评论(0) 推荐(1)
摘要: 1.遍历删除多个元素 var defaultArr = [{a:1},{a:2},{a:4},{a:2},{a:2},{a:6},{a:7},{a:2}]; for (var i = defaultArr.length - 1; i >=0 ; i--){ if(defaultArr[i]['a'] 阅读全文
posted @ 2020-06-19 16:44 一丝心情 阅读(1212) 评论(0) 推荐(0)
摘要: 让网页适应系统主题及夜间模式。 1.使用CSS判断使用媒介查询prefers-color-scheme,支持dark,light,no-preference三种模式。 /*深色*/ @media (prefers-color-scheme: dark) { body { background: rg 阅读全文
posted @ 2020-05-28 11:35 一丝心情 阅读(1363) 评论(0) 推荐(0)
摘要: 1.示例组件结构 <template> <div ref="myBox"> <v-page :ref="myPage"> </v-page> </div> </template> 2.获取距离顶部的距离 // ref=myBox元素 this.$refs.myBox.getBoundingClien 阅读全文
posted @ 2020-03-23 16:55 一丝心情 阅读(7073) 评论(0) 推荐(0)
摘要: 百度ueditor、 textbox summernote jodit froala(收费) quill syncfusion 阅读全文
posted @ 2019-12-09 09:34 一丝心情 阅读(404) 评论(0) 推荐(0)
摘要: css cursor对照表 css 示例 cursor: alias cursor: all-scroll cursor: cell cursor: col-resize cursor: copy cursor: crosshair cursor: default cursor: e-resize cursor: ew-resize cursor: -webkit-grab; cursor: -m 阅读全文
posted @ 2019-11-26 17:23 一丝心情 阅读(532) 评论(0) 推荐(0)
摘要: 问题1 报错问题: 解决方法: 先清理一遍缓存npm cache clean --force,然后再去cnpm install 原博客链接 https://blog.csdn.net/qq_37161378/article/details/91039166 阅读全文
posted @ 2019-10-12 09:29 一丝心情 阅读(4706) 评论(0) 推荐(0)
摘要: 原文链接:http://www.pianshen.com/article/9677274805/ 第一种原因就是import和module.exports的混用要知道commonJS和ES6的语法是不太一样的前者是require和module.exports后者则是import和exports,当你 阅读全文
posted @ 2019-09-30 10:55 一丝心情 阅读(1739) 评论(0) 推荐(0)
摘要: WebStorm /IntelliJ IDEA 永久激活,亲测有效 2020.1教程链接 :https://www.cnblogs.com/xpybsh/p/12703269.html 或 https://blog.51cto.com/14795266/2488182(很好用)2017~2019教程 阅读全文
posted @ 2019-09-24 17:26 一丝心情 阅读(702) 评论(0) 推荐(0)