|
|
|
@ -740,24 +740,26 @@ class HomeView extends GetView<HomeController> { |
|
|
|
'太棒了!你已成功唤醒小言,接下来试试让它帮你做件事吧', |
|
|
|
); |
|
|
|
}, |
|
|
|
builder: (BuildContext context, GlobalKey key) => _buildFeatureCard( |
|
|
|
builder: (BuildContext context, GlobalKey key) => SizedBox( |
|
|
|
key: key, |
|
|
|
title: 'aiAssistant'.tr, // AI全能助手 |
|
|
|
description: 'aiAssistantInfo'.tr, // 24小时专属顾问,解答问题、提供建议 |
|
|
|
icon: Icons.assistant, |
|
|
|
gradient: LinearGradient( |
|
|
|
begin: Alignment.topLeft, |
|
|
|
end: Alignment.bottomRight, |
|
|
|
colors: [ |
|
|
|
Color(0xFF0066CC).withOpacity(0.3), |
|
|
|
Color(0xFF5E5CE6).withOpacity(0.3), |
|
|
|
], |
|
|
|
child: _buildFeatureCard( |
|
|
|
title: 'aiAssistant'.tr, // AI全能助手 |
|
|
|
description: 'aiAssistantInfo'.tr, // 24小时专属顾问,解答问题、提供建议 |
|
|
|
icon: Icons.assistant, |
|
|
|
gradient: LinearGradient( |
|
|
|
begin: Alignment.topLeft, |
|
|
|
end: Alignment.bottomRight, |
|
|
|
colors: [ |
|
|
|
Color(0xFF0066CC).withOpacity(0.3), |
|
|
|
Color(0xFF5E5CE6).withOpacity(0.3), |
|
|
|
], |
|
|
|
), |
|
|
|
onTap: controller.exploreAIFeatures, |
|
|
|
iconOnTop: true, |
|
|
|
height: 175.h, // 增加高度 |
|
|
|
isDarkMode: isDarkMode, |
|
|
|
iconColor: const Color(0xFF0066CC), |
|
|
|
), |
|
|
|
onTap: controller.exploreAIFeatures, |
|
|
|
iconOnTop: true, |
|
|
|
height: 175.h, // 增加高度 |
|
|
|
isDarkMode: isDarkMode, |
|
|
|
iconColor: const Color(0xFF0066CC), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
@ -821,7 +823,6 @@ class HomeView extends GetView<HomeController> { |
|
|
|
|
|
|
|
// 特性卡片构建方法 |
|
|
|
Widget _buildFeatureCard({ |
|
|
|
GlobalKey? key, |
|
|
|
required String title, |
|
|
|
required String description, |
|
|
|
required IconData icon, |
|
|
|
@ -833,7 +834,6 @@ class HomeView extends GetView<HomeController> { |
|
|
|
Color iconColor = Colors.white, |
|
|
|
}) { |
|
|
|
return GestureDetector( |
|
|
|
key: key, |
|
|
|
onTap: onTap, |
|
|
|
child: Container( |
|
|
|
height: height ?? 175.h, |
|
|
|
|