diff --git a/src/components/table/header/index.vue b/src/components/table/header/index.vue index e860912..6177074 100644 --- a/src/components/table/header/index.vue +++ b/src/components/table/header/index.vue @@ -81,7 +81,7 @@ const showUnfoldButton = ref(false) const headerFormSecondStyleOpen = { opacity: 1, height: 'auto', - padding: '13px 15px' + padding: '0 15px 13px 15px' } const headerFormSecondStyleClose = { opacity: 0, @@ -116,7 +116,7 @@ const handlerHeight = () => { const computedSearchRow = () => { const headerForm = document.getElementById('header-form') as HTMLElement const headerFormSecond = document.getElementById('header-form-second') as HTMLElement - if(!headerForm) return + if (!headerForm) return // 判断是否需要折叠 if (headerForm.scrollHeight > 50) { showUnfoldButton.value = true @@ -197,9 +197,9 @@ defineExpose({ onComSearch, areaRef }) #header-form-second, #header-form { - display: flex; - flex-wrap: wrap; - transition: all 0.3s; + // display: flex; + // flex-wrap: wrap; + // transition: all 0.3s; } .mlr-12 { @@ -270,4 +270,13 @@ html.dark { } } } +#header-form, +#header-form-second { + :deep(.el-select) { + --el-select-width: 220px; + } + :deep(.el-input) { + --el-input-width: 220px; + } +} diff --git a/src/styles/element.scss b/src/styles/element.scss index c10dd43..8058ed3 100644 --- a/src/styles/element.scss +++ b/src/styles/element.scss @@ -129,3 +129,4 @@ font-weight: 700; } } + diff --git a/src/views/auth/userList/popupEdit.vue b/src/views/auth/userList/popupEdit.vue index ca40329..f63754f 100644 --- a/src/views/auth/userList/popupEdit.vue +++ b/src/views/auth/userList/popupEdit.vue @@ -12,8 +12,7 @@ - - + - + - + - + @@ -98,7 +97,7 @@ - + - + diff --git a/src/views/setting/dictionary/list/popupEdit.vue b/src/views/setting/dictionary/list/popupEdit.vue index 712354d..a5a4b61 100644 --- a/src/views/setting/dictionary/list/popupEdit.vue +++ b/src/views/setting/dictionary/list/popupEdit.vue @@ -16,7 +16,6 @@