Browse Source

新增组件及页面

liuqiwen 3 years ago
parent
commit
a6d4dee76b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dgtis-ui/src/assets/js/fishBone.js

+ 2 - 2
dgtis-ui/src/assets/js/fishBone.js

@@ -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");