src/page/index/top/top-search.vue
@@ -1,6 +1,6 @@ <template> <el-autocomplete class="top-search" class="top-search ztzf-top-search" popper-class="my-autocomplete" v-model="value" :fetch-suggestions="querySearch" @@ -86,7 +86,21 @@ }; </script> <style lang="scss"> .ztzf-top-search{ display: flex !important; width: 150px; align-items: center; .el-input__inner{ background: #ffffff !important; border-radius: 80px 80px 80px 80px; padding: 0 20px; &::placeholder { color:rgba(172, 172, 172, 1) !important; } } } .my-autocomplete { li { line-height: normal !important;