摘要: 1:最近维护项目,老板让新增了一个,公告功能,前提是输出的公告要保持原来的布局风格,也就是最简便的编辑器了,基本都是文本,只要保证最起码得文本间的空格和换行就行了,于是搜索文档,记录如下 因为此方法最初为IE提供,只有在IE浏览器中,document.all才返回 布尔值true, 其他浏览器返回f 阅读全文
posted @ 2019-06-17 10:17 墨墨君 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1. 安装完成后,在开始菜单里找到“Git”->“Git Bash” 2. git config --global user.name "Your Name" git config --global user.email "email@example.com" 3. cd F: (打开F盘) mkd 阅读全文
posted @ 2019-04-15 16:39 墨墨君 阅读(131) 评论(0) 推荐(0) 编辑
摘要: //自动化部署路由 const requireComponent = require.context('../page', true, /\.vue$/); const routes = requireComponent.keys().map(fileName => { // 获取组件配置 const componentConfig = requireComponent(file... 阅读全文
posted @ 2019-04-11 13:44 墨墨君 阅读(922) 评论(1) 推荐(1) 编辑
摘要: newArr 为返回结果 reduce 参数最后一位传了个{}, 代表累加开始的初始处理对象是个空对象 阅读全文
posted @ 2018-12-28 11:57 墨墨君 阅读(496) 评论(0) 推荐(0) 编辑
摘要: clip-path 通过路径裁剪 使对象区域内的显示 区域外的隐藏的属性 可以制作动态高亮, 图片重叠等特效 用于勾画多边形 clip-path: polygon(x1 y1,x2 y2, .........) 要画三角形 参数要3个 4边形 要4个参数.... x表示点距离父级区域x轴距离,支持百 阅读全文
posted @ 2018-12-20 11:29 墨墨君 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: { mix-blend-mode: normal; // 正常 mix-blend-mode: multiply; // 正片叠底 mix-blend-mode: screen; // 滤色 mix-blend-mode: overlay; // 叠加 mix-blend-mode: darken; 阅读全文
posted @ 2018-12-20 11:12 墨墨君 阅读(1804) 评论(0) 推荐(0) 编辑
摘要: var perChart = { props: ['charts'], data() { return { name: '', clanId: '', nums: '', formatterDataList: [], myecharts: '', //实例 option: { color: ['#5 阅读全文
posted @ 2018-12-14 16:59 墨墨君 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1: 由于webWorker无法加载本地文件,所以要在本地文件创建worker,要通过Blob()方式本地创建 用script 标签来包裹worker线程的逻辑代码, 同时绑定id属性, type类型, 类型必须是js无法识别的 2: 在主js文件里创建构造worker的函数 3: 创建worker 阅读全文
posted @ 2018-12-14 16:52 墨墨君 阅读(2565) 评论(0) 推荐(0) 编辑
摘要: 之前喜欢纸质笔记, 但查阅起来不方面, 今天开始博客之旅,希望坚持 阅读全文
posted @ 2018-12-11 11:47 墨墨君 阅读(131) 评论(1) 推荐(0) 编辑