zhouna 3 years atrás
parent
commit
fca32a77e3
3 changed files with 7 additions and 3 deletions
  1. 3 1
      src/css/knowledgeMap.less
  2. 3 1
      src/css/knowledgeTree.less
  3. 1 1
      src/js/graphMap.js

+ 3 - 1
src/css/knowledgeMap.less

@@ -60,9 +60,10 @@
         margin: 10px 0 0 0;
         .top{
             position: relative;
-            width:394px;
+            width:392px;
             height:80px;
             background:#0D2C53;
+            border:1px #6794A8 solid;
             border-radius:2px;
             margin: 0 0 10px 0;
             font-size: 14px;
@@ -188,6 +189,7 @@
         }
         .bottom{
             background: #0D2C53;
+            border:1px #6794A8 solid;
             .tabList{
                 width: 100%;
                 height: 43px;

+ 3 - 1
src/css/knowledgeTree.less

@@ -57,10 +57,11 @@
         margin: 10px 0 0 0;
         .top{
             position: relative;
-            width:394px;
+            width:392px;
             height:80px;
             background:#0D2C53;
             border-radius:2px;
+            border:1px #6794A8 solid;
             margin: 0 0 10px 0;
             font-size: 14px;
             .select{
@@ -185,6 +186,7 @@
         }
         .bottom{
             background: #0D2C53;
+            border:1px #6794A8 solid;
             .tabList{
                 width: 100%;
                 height: 43px;

+ 1 - 1
src/js/graphMap.js

@@ -526,7 +526,7 @@ function renderTab(data){
     }
     hidetabStr += `<div class="toggleTab">
     <span class="toggleTabTxt">收起</span>
-    <img class="toggleArrow" src="./images/iconUp.png" alt="">
+    <img class="toggleArrow" style="transform: rotate(180deg);top:18px;" src="./images/iconDown.png" alt="">
 </div>`
     // console.log('showtabStr',showtabStr)