diff --git a/src/components/Application/src/search/AppSearchModal.vue b/src/components/Application/src/search/AppSearchModal.vue index 012cd6f3..49d20f62 100644 --- a/src/components/Application/src/search/AppSearchModal.vue +++ b/src/components/Application/src/search/AppSearchModal.vue @@ -163,7 +163,7 @@ function handleClose() { width: 632px; margin: 0 auto auto; background-color: var(--component-background); - border-radius: 16px; + border-radius: 8px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%); } @@ -177,7 +177,7 @@ function handleClose() { &-input { width: 100%; height: 48px; - font-size: 1.5em; + font-size: 1.2em; color: #1c1e21; border-radius: 6px; @@ -233,6 +233,8 @@ function handleClose() { } &--active { + color: @primary-color; + .@{prefix-cls}-list__item-enter { opacity: 1; } diff --git a/src/components/Application/src/search/useMenuSearch.ts b/src/components/Application/src/search/useMenuSearch.ts index ac508f58..3623fa82 100644 --- a/src/components/Application/src/search/useMenuSearch.ts +++ b/src/components/Application/src/search/useMenuSearch.ts @@ -70,7 +70,7 @@ export function useMenuSearch(refs: Ref, scrollWrap: Ref, ret.push({ name: parent?.name ? `${parent.name} > ${name}` : name, path, - icon, + icon: icon || parent?.icon, }) } if (!meta?.hideChildrenInMenu && Array.isArray(children) && children.length)