|
@@ -3,7 +3,7 @@ import $ from "jquery";
|
|
|
(function(window,$,html2canvas){
|
|
|
var fishBone = {};
|
|
|
fishBone.gapStep = 250; // 两块的间隙
|
|
|
- fishBone.style = '#038dc5';// 颜色设定
|
|
|
+ fishBone.style = '#f5f5f5';// 颜色设定
|
|
|
fishBone.option = {};
|
|
|
fishBone.dowload = true; //是否提供下载
|
|
|
fishBone.axisTpl = `<div class="fish-bone-axis"></div><div class="fish-bone-node dateNodeEnd"></div><div class="zhanwei"></div>`;
|
|
@@ -108,7 +108,7 @@ import $ from "jquery";
|
|
|
fishBone.attachClickEvent = function(container){
|
|
|
var color = this.style;
|
|
|
$(".fish-bone-block").on("click",function(){
|
|
|
- $(".fish-bone-content").css({"background-color":"#f5f5f5"});
|
|
|
+ // $(".fish-bone-content").css({"background-color":"#f5f5f5"});
|
|
|
$(".fish-bone-node").removeClass("active-node");
|
|
|
$(this).find(".fish-bone-content").css({"background-color":color});
|
|
|
$(this).find(".fish-bone-node").addClass("active-node");
|