|
@@ -3,7 +3,7 @@ import $ from "jquery";
|
|
|
(function(window,$,html2canvas){
|
|
|
var fishBone = {};
|
|
|
fishBone.gapStep = 250; // 两块的间隙
|
|
|
- fishBone.style = '#f5f5f5';// 颜色设定
|
|
|
+ fishBone.style = '#013C8A';// 颜色设定
|
|
|
fishBone.option = {};
|
|
|
fishBone.dowload = true; //是否提供下载
|
|
|
fishBone.axisTpl = `<div class="fish-bone-axis"></div><div class="fish-bone-node dateNodeEnd"></div><div class="zhanwei"></div>`;
|
|
@@ -113,10 +113,10 @@ import $ from "jquery";
|
|
|
// $(".fish-bone-content").css({"background-color":"#f5f5f5"});
|
|
|
var length = dataOption.data.length;
|
|
|
$(".fish-bone-block").each(function(index,ele){
|
|
|
- $(".fish-bone-block").eq(index).find('.fish-bone-content').css({"background-color":dataOption.data[index].backgroundColor});
|
|
|
+ $(".fish-bone-block").eq(index).find('.fish-bone-content').css({"background-color":dataOption.data[index].backgroundColor,"color":"#3965a6"});
|
|
|
})
|
|
|
$(".fish-bone-node").removeClass("active-node");
|
|
|
- $(this).find(".fish-bone-content").css({"background-color":color});
|
|
|
+ $(this).find(".fish-bone-content").css({"background-color":color,"color":'#FFF'});
|
|
|
$(this).find(".fish-bone-node").addClass("active-node");
|
|
|
|
|
|
});
|