Browse Source

优化768

shaun-sheep 4 years ago
parent
commit
4fca9d8b30
1 changed files with 16 additions and 1 deletions
  1. 16 1
      src/views/legendLibrary/index.vue

+ 16 - 1
src/views/legendLibrary/index.vue

@@ -102,7 +102,7 @@
                     prefix-icon='el-icon-search'
                     v-model='keyword'
                     clearable
-                    style='width:180px;margin-right:12px;float:right;position: absolute;right:6px; top: 45px;'
+                    class='search-input'
                     @clear='keyword = ""'
                 ></el-input>
             </div>
@@ -541,6 +541,14 @@ export default {
     display: flex;
     flex-direction: column;
     height: 100%;
+    .search-input {
+        width: 180px;
+        margin-right: 12px;
+        float: right;
+        position: absolute;
+        right: 6px;
+        top: 45px;
+    }
     .nav {
         height: 48px;
         line-height: 48px;
@@ -648,6 +656,13 @@ export default {
     .legend-library-bottom {
         overflow-y: auto;
         margin-bottom: 20px;
+        z-index: 333;
+    }
+    .search-input {
+        right: 10px !important;
+    }
+    .library-btn {
+        margin-right: 20px !important;
     }
 }