20260805173201

This commit is contained in:
oneao committed 2026-08-05 17:32:01 +08:00
1 parent 7c9761a4fc
commit bca59a2755
7 files changed
+812 -31

No files matched your search

@@ -138,7 +138,7 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
:aria-label="appStore.t('common.search', '搜索')"
@click="handleQuickSearch"
>
<Search :size="16" />
<Search />
</a-button>
</a-space-compact>
@@ -152,7 +152,6 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
>
<a-button
shape="circle"
class="toolbar-icon-button"
:class="{ 'toolbar-icon-button--active': advancedOpen }"
:aria-label="
advancedOpen
@@ -161,7 +160,7 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
"
@click="toggleAdvancedSearch"
>
<Search :size="16" />
<Search />
</a-button>
</a-tooltip>
@@ -172,17 +171,14 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
:trigger="['click']"
placement="bottomRight"
>
<span class="more-trigger">
<a-tooltip :title="appStore.t('common.more', '更多')">
<a-button
shape="circle"
class="toolbar-icon-button"
:aria-label="appStore.t('common.more', '更多')"
>
<Ellipsis :size="17" />
</a-button>
</a-tooltip>
</span>
<a-tooltip :title="appStore.t('common.more', '更多')">
<a-button
shape="circle"
:aria-label="appStore.t('common.more', '更多')"
>
<Ellipsis />
</a-button>
</a-tooltip>
</a-dropdown>
</div>
</div>
@@ -211,8 +207,8 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
class="query-more-toggle"
@click="advancedMoreOpen = !advancedMoreOpen"
>
<ChevronUp v-if="advancedMoreOpen" :size="15" />
<ChevronDown v-else :size="15" />
<ChevronUp v-if="advancedMoreOpen" />
<ChevronDown v-else />
{{
advancedMoreOpen
? appStore.t("common.collapseConditions", "收起条件")
@@ -223,11 +219,11 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
<div class="query-actions">
<a-button type="primary" :loading="loading" @click="handleAdvancedSearch">
<Search :size="15" />
<Search />
{{ appStore.t("common.search", "查询") }}
</a-button>
<a-button type="text" :disabled="loading" @click="handleAdvancedReset">
<RotateCcw :size="15" />
<RotateCcw />
{{ appStore.t("common.reset", "重置") }}
</a-button>
</div>
@@ -294,14 +290,6 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
}
.toolbar-icon-button {
display: inline-flex;
width: 34px;
min-width: 34px;
height: 34px;
align-items: center;
justify-content: center;
padding: 0;
&--active {
border-color: #91caff;
background: #e6f4ff;
@@ -311,8 +299,6 @@ watch(() => props.queryItems, initializeDrafts, { immediate: true });
.more-trigger {
display: inline-flex;
width: 34px;
height: 34px;
}
.query-panel {