- 博客(11)
- 收藏
- 关注
原创 span设置display:inline-block后 通过vertical-align来设置垂直对齐
参考:https://segmentfault.com/a/1190000004352438
2020-09-02 14:20:00
372
原创 checkbox和div的联动
<label><input type="radio" name="category" value="1" checked>按填写人</label> <label><input type="radio" name="category" value="2" >按被填人</label><div id="div1">......</div><div id="div1">......</di
2020-08-03 11:39:14
495
原创 Echarts事件(笔记)
myChartPieNY.on('click', function (params) { //params包含很多的信息 下标索引 如横坐标名称 对应的值 console.log(params); });params包含所点击图例的所有信息
2020-05-28 10:51:56
158
原创 实现div四角的的样式(笔记)
<style type="text/css">.item-angle{ background: linear-gradient(#00faff, #00faff) left top, linear-gradient(#00faff, #00faff) left top, linear-gradient(#00faff, #00faff) right top, linear-gradient(#00faff, #00faff) right
2020-05-27 15:37:47
386
原创 获取浏览器和屏幕各种高度宽度(笔记)
document.body.clientWidth; //网页可见区域宽(body)document.body.clientHeight; //网页可见区域高(body)document.body.offsetWidth; //网页可见区域宽(body),包括border、margin等document.body.offsetHeight; //网页可见区域宽(body),包括border、margin等document.body.scrollWidt
2020-05-27 13:39:09
120
原创 table导出excel
<a id="output_table">导出</a> <script> // 核心:拼接完整的html格式文档并填充数据 //使用outerHTML属性获取整个table元素的HTML代码, 包括根标签<table></table> // 自定义封装html格式文档<html><hea...
2020-03-29 12:37:01
127
原创 用checkbox实现table列的显示与隐藏
<label style="margin-left: 10px"> <input type="checkbox" name="category" checked>负责人 <input type="checkbox" name="category" checked>任务名 <input type="checkbox" name="category...
2020-03-29 12:05:34
394
原创 table自适应
<table border="1" width="100%" style="white-space: nowrap">white-space:nowrap 将内容显示在同一行
2020-03-16 11:27:05
69
原创 echarts 颜色池来解决柱形图颜色问题(笔记)
方法一: itemStyle: { normal: { color: function(params) { // build a color map as your need. var colorList = [ ...
2020-03-02 14:08:21
455
原创 时间轴堆叠条形图
最近学习使用echarts画堆叠条形图时 发现使用time类型条形从原点开始echarts版本 4.6.0学习样本:https://gallery.echartsjs.com/editor.html?c=xryzwi7fVl在本地显示结果:我的解决方案(未根本解决从原点出发问题)将隐藏线做为覆盖series: [ { name: '投入', type:...
2020-03-02 13:30:57
1577
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人