|
|
@ -54,19 +54,19 @@ class ExploreController extends GetxController { |
|
|
// AI功能列表 |
|
|
// AI功能列表 |
|
|
final List<AIFeature> aiFeatures = [ |
|
|
final List<AIFeature> aiFeatures = [ |
|
|
AIFeature( |
|
|
AIFeature( |
|
|
title: 'allRoundAssistant'.tr, // 全能助理 |
|
|
title: 'aiAssistant'.tr, // AI全能助手 |
|
|
description: 'allRoundAssistantInfo'.tr, // 帮你解决各类问题 |
|
|
description: 'aiAssistantInfo'.tr, // 帮你解决各类问题 |
|
|
icon: Icons.assistant, |
|
|
icon: Icons.assistant, |
|
|
startColor: const Color(0xFF0066CC), |
|
|
startColor: const Color(0xFF0066CC), |
|
|
endColor: const Color(0xFF5E5CE6), |
|
|
endColor: const Color(0xFF5E5CE6), |
|
|
iconBgColor: const Color(0xFF0066CC).withOpacity(0.2), |
|
|
iconBgColor: const Color(0xFF0066CC).withOpacity(0.2), |
|
|
iconColor: const Color(0xFF0066CC), |
|
|
iconColor: const Color(0xFF0066CC), |
|
|
agentId: 'personal_assistant', |
|
|
agentId: 'personal_assistant', |
|
|
targetRoute: Routes.chat, |
|
|
targetRoute: Routes.agent, |
|
|
), |
|
|
), |
|
|
AIFeature( |
|
|
AIFeature( |
|
|
title: 'simultaneousTranslation'.tr, // 同声翻译 |
|
|
title: 'simultaneousInterpretation'.tr, // 同声翻译 |
|
|
description: 'simultaneousTranslationInfo'.tr, // 实时翻译80+种语言 |
|
|
description: 'simultaneousInterpretationInfo'.tr, // 实时翻译80+种语言 |
|
|
icon: Icons.translate, |
|
|
icon: Icons.translate, |
|
|
startColor: const Color(0xFF4CAF50), |
|
|
startColor: const Color(0xFF4CAF50), |
|
|
endColor: const Color(0xFF009688), |
|
|
endColor: const Color(0xFF009688), |
|
|
@ -175,6 +175,8 @@ class ExploreController extends GetxController { |
|
|
} else if (feature.targetRoute == Routes.translation) { |
|
|
} else if (feature.targetRoute == Routes.translation) { |
|
|
// 跳转到翻译页面 |
|
|
// 跳转到翻译页面 |
|
|
Get.toNamed(feature.targetRoute); |
|
|
Get.toNamed(feature.targetRoute); |
|
|
|
|
|
} else if (feature.targetRoute == Routes.agent) { |
|
|
|
|
|
Get.toNamed(feature.targetRoute); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|