소스 검색

crear search

star7th 6 년 전
부모
커밋
64d48027aa
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      web_src/src/components/item/show/show_regular_item/LeftMenu.vue

+ 8 - 0
web_src/src/components/item/show/show_regular_item/LeftMenu.vue

@@ -17,6 +17,8 @@
               @keyup.enter.native="input_keyword"
               :placeholder="$t('input_keyword')"
               class="search-box"
+              :clearable="true"
+              @clear="search_item()"
               v-model="keyword">
              
             </el-input>
@@ -264,6 +266,7 @@
 <style type="text/css">
   #left-side-menu .el-input__inner{
       background-color: #fafafa !important;
+      padding-right:10px;
   }
 
   .hide-scrollbar .el-submenu__title{
@@ -284,5 +287,10 @@
   .normal-scrollbar li{
     font-size: 12px;
   }
+  
+  #left-side-menu .el-input__suffix{
+    right: 25px;
+    padding-right:10px;
+  }
 
 </style>