上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页
摘要: 需要2层div,外层是下方半透明的,内层是不透明的进度 外层css background-image: linear-gradient(90deg, rgba(1, 255, 255, 0.25) 60%, transparent 0); background-size: 0.20833vw; 内层 阅读全文
posted @ 2020-07-17 11:12 herry菌 阅读(391) 评论(0) 推荐(0)
摘要: 在项目的根目录,右键选择 Git Bash 进入命令行; 在命令行输入: touch .gitignore 生成 .gitignore 文件; 在文件中输入过滤信息,过滤规则如下: node_modules/ 表示过滤这个文件夹 *.zip 过滤zip后缀文件 demo.html 过滤该文件 我的项 阅读全文
posted @ 2020-07-12 18:29 herry菌 阅读(429) 评论(0) 推荐(0)
摘要: 整改中:目前项目使用umi.js+插件的方式,还未上线:git:https://gitee.com/wuhairui1/wuhairui/tree/bilibili/ git地址:https://e.coding.net/a18969054220/herry/bilibili_Time_SC.git 阅读全文
posted @ 2020-07-12 16:59 herry菌 阅读(376) 评论(0) 推荐(0)
摘要: 随机生成多个名字,从echarts官方案例看到的,也是echarts图例过多的一种处理方式:https://echarts.apache.org/examples/zh/editor.html?c=pie-legend&edit=1&reset=1 function genData(count) { 阅读全文
posted @ 2020-07-03 11:47 herry菌 阅读(606) 评论(0) 推荐(0)
摘要: 创建一个从0开始的顺序数组 [...new Array(5).keys()] //[0,1,2,3,4] 数组反向 [0,1,2,3,4,5].reverse() //[4,3,2,1,0] 取选中月最后一天日期 getLastDay(year,month){ var new_year = year 阅读全文
posted @ 2020-07-03 10:21 herry菌 阅读(169) 评论(0) 推荐(0)
摘要: 首先安装increase-memory-limit cnpm install -g increase-memory-limit 重启cmd,并在项目跟目录中运行一下 increase-memory-limit 然后打开项目的package.json,修改scripts的内容 在build运行的命令后 阅读全文
posted @ 2020-06-29 18:52 herry菌 阅读(1032) 评论(0) 推荐(0)
摘要: 这个问题之前反复出现,试过重新从其他同事将node_modules拿过来用,但是过了几天又出同样的问题 去网上百度了好久,大多数都说是node-sass重装一下就行。可是我这边卸载都无法卸载,何谈重装呢。 因此我尝试手动删除此包:进入node_modules,找到文件,删除: ,进入.bin目录,找 阅读全文
posted @ 2020-06-24 10:11 herry菌 阅读(427) 评论(0) 推荐(0)
摘要: 第一次接触Echarts,以前只了解到Echarts可以用来制作数据可视化,但没有具体学习过。 而工作项目中需要使用到,所以特点也进行了学习,并使用到工作当中。 工作时,项目down下来,了解了项目基本架构之后,开始了解了一些Echarts知识。 目前开发中主要使用了饼图和折线图,比如:住建局驾驶舱 阅读全文
posted @ 2020-06-21 18:49 herry菌 阅读(720) 评论(0) 推荐(0)
摘要: js点击下载文件 //点击下载文件写法 const w = window.open('about:blank'); w.location.href='文件url' PC端中px转vw与vh,sass写法 //PC端 px转vwvh 写法 sass @function px-vw($px) { @re 阅读全文
posted @ 2020-06-01 11:10 herry菌 阅读(197) 评论(0) 推荐(0)
摘要: 代码: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> @-webkit-keyframes rightan{ from { bottom: 0%; opacit 阅读全文
posted @ 2020-05-28 10:32 herry菌 阅读(1066) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页