From 6042f70b8499a4d11dd1579d293e1a9651569634 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Sun, 29 May 2022 13:20:27 +0530 Subject: [PATCH] incr(ui): add Doc group ui --- src/components/SearchBar.vue | 45 ++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue index a3a2d7a4..2bb87c6f 100644 --- a/src/components/SearchBar.vue +++ b/src/components/SearchBar.vue @@ -63,11 +63,35 @@ v-for="(si, i) in suggestions" :key="`${i}-${si.key}`" ref="suggestions" - class="hover:bg-blue-100 cursor-pointer" + class="hover:bg-blue-50 cursor-pointer" :class="idx === i ? 'bg-blue-100' : ''" @click="select(i)" > +
+
+

+ {{ si.label }} +

+

+ {{ si.more.join(', ') }} +

+
+

+ {{ si.schemaLabel }} +

+
+ + +
@@ -75,8 +99,8 @@ {{ si.label }}

{{ groupLabelMap[si.group] }}
@@ -92,18 +116,13 @@