From 9890f07adeb853790dd5d81a5c2f1b2b6335fd66 Mon Sep 17 00:00:00 2001 From: Theo <971366405@qq.com> Date: Tue, 13 Aug 2024 22:43:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增菜单搜索功能 --- src/assets/icons/search.svg | 1 + src/components/MenuSearch/index.vue | 153 ++++++++++++++++++ .../NavBar/components/NavbarAction.vue | 2 + src/types/components.d.ts | 1 + 4 files changed, 157 insertions(+) create mode 100644 src/assets/icons/search.svg create mode 100644 src/components/MenuSearch/index.vue diff --git a/src/assets/icons/search.svg b/src/assets/icons/search.svg new file mode 100644 index 00000000..0cb0f832 --- /dev/null +++ b/src/assets/icons/search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/MenuSearch/index.vue b/src/components/MenuSearch/index.vue new file mode 100644 index 00000000..142b8cd7 --- /dev/null +++ b/src/components/MenuSearch/index.vue @@ -0,0 +1,153 @@ + + + + diff --git a/src/layout/components/NavBar/components/NavbarAction.vue b/src/layout/components/NavBar/components/NavbarAction.vue index efc84950..0e595ee7 100644 --- a/src/layout/components/NavBar/components/NavbarAction.vue +++ b/src/layout/components/NavBar/components/NavbarAction.vue @@ -1,6 +1,8 @@