|
|
@ -740,8 +740,9 @@ class HomeView extends GetView<HomeController> { |
|
|
'太棒了!你已成功唤醒小言,接下来试试让它帮你做件事吧', |
|
|
'太棒了!你已成功唤醒小言,接下来试试让它帮你做件事吧', |
|
|
); |
|
|
); |
|
|
}, |
|
|
}, |
|
|
builder: (BuildContext context, GlobalKey key) => _buildFeatureCard( |
|
|
builder: (BuildContext context, GlobalKey key) => SizedBox( |
|
|
key: key, |
|
|
key: key, |
|
|
|
|
|
child: _buildFeatureCard( |
|
|
title: 'aiAssistant'.tr, // AI全能助手 |
|
|
title: 'aiAssistant'.tr, // AI全能助手 |
|
|
description: 'aiAssistantInfo'.tr, // 24小时专属顾问,解答问题、提供建议 |
|
|
description: 'aiAssistantInfo'.tr, // 24小时专属顾问,解答问题、提供建议 |
|
|
icon: Icons.assistant, |
|
|
icon: Icons.assistant, |
|
|
@ -761,6 +762,7 @@ class HomeView extends GetView<HomeController> { |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
|
|
|
SizedBox(width: 16.w), |
|
|
SizedBox(width: 16.w), |
|
|
|
|
|
|
|
|
@ -821,7 +823,6 @@ class HomeView extends GetView<HomeController> { |
|
|
|
|
|
|
|
|
// 特性卡片构建方法 |
|
|
// 特性卡片构建方法 |
|
|
Widget _buildFeatureCard({ |
|
|
Widget _buildFeatureCard({ |
|
|
GlobalKey? key, |
|
|
|
|
|
required String title, |
|
|
required String title, |
|
|
required String description, |
|
|
required String description, |
|
|
required IconData icon, |
|
|
required IconData icon, |
|
|
@ -833,7 +834,6 @@ class HomeView extends GetView<HomeController> { |
|
|
Color iconColor = Colors.white, |
|
|
Color iconColor = Colors.white, |
|
|
}) { |
|
|
}) { |
|
|
return GestureDetector( |
|
|
return GestureDetector( |
|
|
key: key, |
|
|
|
|
|
onTap: onTap, |
|
|
onTap: onTap, |
|
|
child: Container( |
|
|
child: Container( |
|
|
height: height ?? 175.h, |
|
|
height: height ?? 175.h, |
|
|
|