Browse Source

修改样式

zhangxc 5 years ago
parent
commit
b5d819015e

+ 1 - 1
src/css/knowledgeMap.less

@@ -98,7 +98,7 @@
                     border:1px solid rgba(230,230,230,1);
                     border-radius: 4px 0 0 4px;
                     box-sizing: border-box;
-                    outline: none;
+                    // outline: none;
                     color: #333;
                     font-size: 14px;
                 }

+ 1 - 1
src/css/knowledgeTree.less

@@ -43,7 +43,7 @@
             font-size: 14px;
             color: #333;
             resize: none;
-            outline: none;
+            // outline: none;
             padding: 10px;
             background: #F7F8FA;
             border: none;

+ 1 - 1
src/js/graphMap.js

@@ -198,7 +198,7 @@ function drawTree(data, showNodeName){
                 idKey: "id",
                 pIdKey: "pId",
                 rootPId: ""
-            }
+            },
         },
         //树的显示设置
         view:{

+ 3 - 3
src/js/index.js

@@ -32,9 +32,9 @@ window.select_type_noSearch="diagnose";
  $(".ztree").css("height",contentHei-80-43-60-20+'px')
  $("#main").css("height",contentHei-20+'px')
 //关系图
-getGraph("胆囊炎",select_type);
-getTree(1,1,"胆囊炎");
-$('#searchInp').val("胆囊炎")
+getGraph("急性冠脉综合征",select_type);
+getTree(1,1,"急性冠脉综合征");
+$('#searchInp').val("急性冠脉综合征")
 
 //选择类型
 $('.select').click(function(e){

+ 4 - 1
src/resources/zTree/css/zTreeStyle/zTreeStyle.css

@@ -27,7 +27,7 @@ website:	http://code.google.com/p/jquerytree/
 .ztree li a.tmpTargetNode_next {}
 .ztree li a input.rename {height:14px; width:80px; padding:0; margin:0;
 	font-size:12px; border:1px #7EC4CC solid; *border:0px}
-.ztree li span {line-height:22px; margin-right:2px}
+.ztree li span {line-height:19px; margin-right:2px}
 .ztree li span.button {line-height:0; margin:0; width:16px; height:16px; display: inline-block; vertical-align:middle;
 	border:0 none; cursor: pointer;outline:none;
 	background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
@@ -106,4 +106,7 @@ ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height
 	overflow: hidden;
     text-overflow:ellipsis;
     white-space: nowrap;
+}
+.node_name:hover{
+	border-bottom: 1px solid #333;
 }