From 4f6ab39ed58d79891a664e67c4b5094b77f2b30a Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Fri, 3 Apr 2026 19:27:06 -0400 Subject: [PATCH] fix label ui --- src/components/ConversationView.vue | 44 ++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/src/components/ConversationView.vue b/src/components/ConversationView.vue index 7c72dfb..a8fd9b9 100644 --- a/src/components/ConversationView.vue +++ b/src/components/ConversationView.vue @@ -3,7 +3,7 @@ import { ref, computed, nextTick, onMounted, onUnmounted, watch } from 'vue'; import { Plus, Search, Trash2, Send, User, Type, ChevronDown, Check, MessageSquare, Loader2, Copy, - X, Sparkles + X, Sparkles, Languages, Venus, Mars, CircleSlash } from 'lucide-vue-next'; import { useSettingsStore, LANGUAGES, SPEAKER_IDENTITY_OPTIONS, TONE_REGISTER_OPTIONS, CONVERSATION_SYSTEM_PROMPT_TEMPLATE, type Participant } from '../stores/settings'; import { cn } from '../lib/utils'; @@ -367,9 +367,24 @@ onUnmounted(() => window.removeEventListener('click', handleGlobalClick));
-
- - {{ activeSession.partner.name }} 说 ({{ activeSession.partner.language.displayName }}) +
+ +
+ + {{ activeSession!.partner.name }} +
+ +
+ + + + {{ SPEAKER_IDENTITY_OPTIONS.find(o => o.value === activeSession!.partner.gender)?.label }} +
+ +
+ + {{ activeSession!.partner.language.displayName }} +
自动识别语气
@@ -394,9 +409,24 @@ onUnmounted(() => window.removeEventListener('click', handleGlobalClick));
-
- - {{ activeSession.me.name }} 说 ({{ activeSession.me.language.displayName }}) +
+ +
+ + {{ activeSession!.me.name }} +
+ +
+ + + + {{ SPEAKER_IDENTITY_OPTIONS.find(o => o.value === activeSession!.me.gender)?.label }} +
+ +
+ + {{ activeSession!.me.language.displayName }} +