Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ const statusItems = [
:items="pluginItems"
:label="tm('filters.byPlugin')"
density="compact"
variant="outlined"
variant="solo-filled"
flat
hide-details
/>
</v-col>
Expand All @@ -80,7 +81,8 @@ const statusItems = [
:items="typeItems"
:label="tm('filters.byType')"
density="compact"
variant="outlined"
variant="solo-filled"
flat
hide-details
/>
</v-col>
Expand All @@ -91,7 +93,8 @@ const statusItems = [
:items="permissionItems"
:label="tm('filters.byPermission')"
density="compact"
variant="outlined"
variant="solo-filled"
flat
hide-details
/>
</v-col>
Expand All @@ -102,15 +105,16 @@ const statusItems = [
:items="statusItems"
:label="tm('filters.byStatus')"
density="compact"
variant="outlined"
variant="solo-filled"
flat
hide-details
/>
</v-col>
</v-row>

<!-- 搜索栏 + 统计信息行 -->
<div class="mb-4 d-flex flex-wrap align-center ga-4">
<div style="min-width: 200px; max-width: 350px; flex: 1; border: 1px solid #B9B9B9; border-radius: 16px;">
<div style="min-width: 200px; max-width: 350px; flex: 1;">
<v-text-field
:model-value="searchQuery"
@update:model-value="emit('update:searchQuery', normalizeTextInput($event))"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const getRowProps = ({ item }: { item: CommandItem }) => {
</script>

<template>
<v-card class="rounded-lg overflow-hidden elevation-1">
<v-card class="rounded-lg overflow-hidden" variant="outlined">
<v-data-table
:headers="commandHeaders"
:items="items"
Expand Down Expand Up @@ -247,6 +247,19 @@ code.sub-command-code {
background-color: rgba(var(--v-theme-secondary), 0.1);
color: rgb(var(--v-theme-secondary));
}

:deep(.v-data-table-footer__items-per-page .v-field) {
background-color: rgba(var(--v-theme-on-surface), 0.04);
border-radius: 8px;
}

:deep(.v-data-table-footer__items-per-page .v-field__outline) {
opacity: 0;
}

:deep(.v-data-table-footer__items-per-page .v-field--focused .v-field__outline) {
opacity: 1;
}
</style>

<style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const getPermissionLabel = (permission?: string): string => {
</script>

<template>
<v-card class="rounded-lg overflow-hidden elevation-1">
<v-card class="rounded-lg overflow-hidden" variant="outlined">
<v-data-table
:headers="toolHeaders"
:items="items"
Expand Down Expand Up @@ -277,6 +277,19 @@ const getPermissionLabel = (permission?: string): string => {
line-height: 1.35;
}

:deep(.v-data-table-footer__items-per-page .v-field) {
background-color: rgba(var(--v-theme-on-surface), 0.04);
border-radius: 8px;
}

:deep(.v-data-table-footer__items-per-page .v-field__outline) {
opacity: 0;
}

:deep(.v-data-table-footer__items-per-page .v-field--focused .v-field__outline) {
opacity: 1;
}

.tool-config-tooltip {
max-width: 360px;
padding: 4px 0;
Expand Down
4 changes: 3 additions & 1 deletion dashboard/src/components/extension/componentPanel/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,12 @@ watch(viewMode, async (mode) => {
v-model="toolSearch"
prepend-inner-icon="mdi-magnify"
:label="tmTool('functionTools.search')"
variant="outlined"
variant="solo-filled"
flat
density="compact"
hide-details
clearable
single-line
/>
</div>

Expand Down
Loading