摘要:
option = { tooltip:{ trigger: 'axis' //鼠标悬浮提示 }, xAxis: { axisLabel:{ color:"#6f6f6f" //改变X轴坐标值颜色 }, axisLine:{ lineStyle:{ color:"#cfcfcf" //改变x轴线颜色 阅读全文
摘要:
在String的原型上增加该方法 String.prototype.format = function(){ let args = arguments; return this.replace(/{(\d+)}/g,function(s,i){ return args[i]; }) } 调用方式 " 阅读全文
摘要:
对于单表格,表头固定以及第一列固定 对tbody设置宽高,溢出的采用overflow:auto 对tbody的滚动条事件监听,第一列采用translatex方式 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta 阅读全文