diff --git a/main/manager-mobile/src/i18n/de.ts b/main/manager-mobile/src/i18n/de.ts index aa048248..0a409adb 100644 --- a/main/manager-mobile/src/i18n/de.ts +++ b/main/manager-mobile/src/i18n/de.ts @@ -85,7 +85,7 @@ export default { 'agent.chatHistory': 'Chat-Verlauf', 'agent.voiceprintManagement': 'Stimmabdruckverwaltung', 'agent.editTitle': 'Agent bearbeiten', - 'agent.toolsTitle': 'Funktionen bearbeiten', + 'agent.toolsTitle': 'Bearbeiten', 'agent.voiceActivityDetection': 'Sprachaktivitätserkennung', 'agent.speechRecognition': 'Spracherkennung', 'agent.largeLanguageModel': 'Großes Sprachmodell', @@ -116,7 +116,7 @@ export default { 'agent.tts': 'Text-zu-Sprache', 'agent.voiceprint': 'Agenten-Stimme', 'agent.plugins': 'Plugins', - 'agent.editFunctions': 'Funktionen bearbeiten', + 'agent.editFunctions': 'Bearbeiten', 'agent.historyMemory': 'Verlaufsspeicher', 'agent.memoryContent': 'Speicherinhalt', 'agent.saving': 'Wird gespeichert...', @@ -371,7 +371,7 @@ export default { 'agent.tools.mcpAccessPoint': 'MCP-Zugangspunkt', 'agent.tools.copy': 'Kopieren', 'agent.tools.noTools': 'Keine Werkzeuge verfügbar', - 'agent.tools.parameterConfig': 'Parameterkonfiguration', + 'agent.tools.parameterConfig': 'Konfig', 'agent.tools.noParamsNeeded': 'Keine Parameter benötigt', 'agent.tools.pleaseInput': 'Bitte eingeben', 'agent.tools.inputOneItemPerLine': 'Ein Element pro Zeile eingeben', diff --git a/main/manager-mobile/src/i18n/en.ts b/main/manager-mobile/src/i18n/en.ts index f0fe4c14..af1dddc6 100644 --- a/main/manager-mobile/src/i18n/en.ts +++ b/main/manager-mobile/src/i18n/en.ts @@ -371,7 +371,7 @@ export default { 'agent.tools.mcpAccessPoint': 'MCP Access Point', 'agent.tools.copy': 'Copy', 'agent.tools.noTools': 'No tools available', - 'agent.tools.parameterConfig': 'Parameter Configuration', + 'agent.tools.parameterConfig': 'Param Config', 'agent.tools.noParamsNeeded': 'No parameters needed', 'agent.tools.pleaseInput': 'Please input', 'agent.tools.inputOneItemPerLine': 'Input one item per line', diff --git a/main/manager-mobile/src/i18n/pt_BR.ts b/main/manager-mobile/src/i18n/pt_BR.ts index 2901583b..b8bc979f 100644 --- a/main/manager-mobile/src/i18n/pt_BR.ts +++ b/main/manager-mobile/src/i18n/pt_BR.ts @@ -371,7 +371,7 @@ export default { 'agent.tools.mcpAccessPoint': 'Ponto de Acesso MCP', 'agent.tools.copy': 'Copiar', 'agent.tools.noTools': 'Nenhuma ferramenta disponível', - 'agent.tools.parameterConfig': 'Configuração de Parâmetros', + 'agent.tools.parameterConfig': 'Configuração', 'agent.tools.noParamsNeeded': 'Nenhum parâmetro necessário', 'agent.tools.pleaseInput': 'Por favor, insira', 'agent.tools.inputOneItemPerLine': 'Insira um item por linha', diff --git a/main/manager-mobile/src/i18n/vi.ts b/main/manager-mobile/src/i18n/vi.ts index e9406afe..cbb790f7 100644 --- a/main/manager-mobile/src/i18n/vi.ts +++ b/main/manager-mobile/src/i18n/vi.ts @@ -371,7 +371,7 @@ export default { 'agent.tools.mcpAccessPoint': 'Điểm truy cập MCP', 'agent.tools.copy': 'Sao chép', 'agent.tools.noTools': 'Không có công cụ nào', - 'agent.tools.parameterConfig': 'Cấu hình tham số', + 'agent.tools.parameterConfig': 'Cấu hình', 'agent.tools.noParamsNeeded': 'Không cần tham số', 'agent.tools.pleaseInput': 'Vui lòng nhập', 'agent.tools.inputOneItemPerLine': 'Nhập một mục mỗi dòng', diff --git a/main/manager-mobile/src/pages/agent/edit.vue b/main/manager-mobile/src/pages/agent/edit.vue index 93e715ca..112a48a2 100644 --- a/main/manager-mobile/src/pages/agent/edit.vue +++ b/main/manager-mobile/src/pages/agent/edit.vue @@ -1006,6 +1006,7 @@ onMounted(async () => { @@ -1059,4 +1060,13 @@ onMounted(async () => { background: transparent !important; } } +::v-deep .custom-sheet-tts { + .wd-action-sheet { + padding: 8px 0 !important; + overflow: hidden; + } + .wd-action-sheet__actions { + padding: 0 !important; + } +} diff --git a/main/manager-mobile/src/pages/agent/tools.vue b/main/manager-mobile/src/pages/agent/tools.vue index ab0b595b..fb47deae 100644 --- a/main/manager-mobile/src/pages/agent/tools.vue +++ b/main/manager-mobile/src/pages/agent/tools.vue @@ -311,7 +311,7 @@ onMounted(async () => { v-if="notSelectedList.length === 0" class="h-[400rpx] flex items-center justify-center" > - + { v-if="selectedList.length === 0" class="h-[400rpx] flex items-center justify-center" > - + { @@ -586,3 +586,9 @@ onMounted(async () => { + + diff --git a/main/manager-mobile/src/pages/login/index.vue b/main/manager-mobile/src/pages/login/index.vue index 4a83d710..adaf5fb3 100644 --- a/main/manager-mobile/src/pages/login/index.vue +++ b/main/manager-mobile/src/pages/login/index.vue @@ -15,7 +15,7 @@ import { computed, onMounted, ref } from 'vue' import { login } from '@/api/auth' // 导入国际化相关功能 import { changeLanguage, getCurrentLanguage, getSupportedLanguages, initI18n, t } from '@/i18n' -import { useConfigStore } from '@/store' +import { useConfigStore, useUserStore } from '@/store' // 导入SM2加密工具 import { getEnvBaseUrl, sm2Encrypt } from '@/utils' import { toast } from '@/utils/toast' @@ -61,6 +61,7 @@ const loginType = ref<'username' | 'mobile'>('username') // 获取配置store const configStore = useConfigStore() +const userStore = useUserStore() // 区号选择相关 const showAreaCodeSheet = ref(false) @@ -227,6 +228,7 @@ async function handleLogin() { const response = await login(loginData) // 存储token uni.setStorageSync('token', JSON.stringify(response)) + await userStore.getUserInfo() toast.success(t('message.loginSuccess')) @@ -581,7 +583,6 @@ onMounted(async () => { .input-wrapper { position: relative; - background: #f8f9fa; border-radius: 16rpx; padding: 20rpx 16rpx; border: 2rpx solid #e9ecef; diff --git a/main/manager-mobile/src/pages/voiceprint/index.vue b/main/manager-mobile/src/pages/voiceprint/index.vue index e0917c98..a00711a5 100644 --- a/main/manager-mobile/src/pages/voiceprint/index.vue +++ b/main/manager-mobile/src/pages/voiceprint/index.vue @@ -460,8 +460,11 @@ defineExpose({ - - * {{ t('voiceprint.voiceVector') }} + + + * + + {{ t('voiceprint.voiceVector') }} - - * {{ t('voiceprint.name') }} + + + * + + {{ t('voiceprint.name') }} - - * {{ t('voiceprint.description') }} + + + * + + {{ t('voiceprint.description') }}