diff --git a/src/component/common/TableSearchBar.vue b/src/component/common/TableSearchBar.vue index 00fc3884..5cae4c2f 100644 --- a/src/component/common/TableSearchBar.vue +++ b/src/component/common/TableSearchBar.vue @@ -1,6 +1,6 @@ @@ -36,6 +36,7 @@ interface ButtonItem { interface Props { buttonList: ButtonItem[] placeholder?: string + inputWidth?: string } interface SearchParams { @@ -91,11 +92,13 @@ const handleSearch = () => { line-height: 4rem; min-width: 10rem; font-weight: normal; + border-width: 0.1rem; } } .search_input { height: 4rem; + width: 23rem; // 默认宽度 background-color: #fff; border: 0.1rem solid #000; border-radius: 43rem; @@ -106,6 +109,10 @@ const handleSearch = () => { height: 100%; padding-left: 3rem; border-radius: 4rem; + width: calc(100% - 2rem); + } + .search_input_icon { + font-size: 2rem; } } }