refactor: standardize loading and avatar sizes across components

- Changed loading component size from large to medium in document preview, agent list, knowledge base list, and organization list for improved consistency.
- Updated avatar sizes from large to medium in agent editor modal, organization editor modal, organization settings modal, and other relevant components to maintain uniformity in UI design.
- Adjusted switch component sizes from large to medium in various settings to enhance visual coherence.

These changes contribute to a more consistent and polished user interface across the application.
This commit is contained in:
wizardchen
2026-03-05 21:08:13 +08:00
committed by lyingbug
parent e309e0bed8
commit bedb8ceb08
9 changed files with 12 additions and 12 deletions
@@ -77,7 +77,7 @@
<t-icon :name="isAgentMode ? 'control-platform' : 'chat'" size="24px" />
</div>
<!-- 自定义智能体使用 AgentAvatar -->
<AgentAvatar v-else :name="formData.name || '?'" size="large" />
<AgentAvatar v-else :name="formData.name || '?'" size="medium" />
<t-input
v-model="formData.name"
:placeholder="$t('agent.editor.namePlaceholder')"
+1 -1
View File
@@ -303,7 +303,7 @@
<!-- 按空间筛选:该空间内全部智能体(含我共享的) -->
<div v-if="spaceSelectionOrgId && spaceAgentsLoading" class="agent-list-main-loading">
<t-loading size="large" text="" />
<t-loading size="medium" text="" />
</div>
<div v-else-if="spaceSelectionOrgId && spaceAgentsList.length > 0" class="agent-card-wrap">
<div