From 6e8e38e7375b93dc7f8b9b3c535839c7bb0fc352 Mon Sep 17 00:00:00 2001 From: tnt group Date: Fri, 19 May 2023 17:19:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContentCharts/components/ChartsSearch/index.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/chart/ContentCharts/components/ChartsSearch/index.vue b/src/views/chart/ContentCharts/components/ChartsSearch/index.vue index dd8466d3..5c833602 100644 --- a/src/views/chart/ContentCharts/components/ChartsSearch/index.vue +++ b/src/views/chart/ContentCharts/components/ChartsSearch/index.vue @@ -37,7 +37,8 @@ :title="item.title" @click="selectChartHandle(item)" > - + + {{ item.title }} @@ -78,6 +79,7 @@ import { isString, addEventListener, removeEventListener } from '@/utils' import { fetchConfigComponent, fetchChartComponent } from '@/packages/index' import { componentInstall, loadingStart, loadingFinish, loadingError } from '@/utils' import { ChartGlobImage } from '@/components/Pages/ChartGlobImage' +import { Icon } from '@iconify/vue' const props = defineProps({ menuOptions: { @@ -228,10 +230,16 @@ $searchWidth: 176px; font-size: 12px; } &-img { - height: 28px; + height: 20px; + max-width: 30px; margin-right: 5px; border-radius: 5px; } + & > svg { + min-width: 20px; + min-height: 20px; + margin-right: 5px; + } &:hover { &::before { content: '';