diff --git a/lib/app/modules/kr_home/views/kr_home_node_list_view.dart b/lib/app/modules/kr_home/views/kr_home_node_list_view.dart index bee56ea..c13c810 100755 --- a/lib/app/modules/kr_home/views/kr_home_node_list_view.dart +++ b/lib/app/modules/kr_home/views/kr_home_node_list_view.dart @@ -542,27 +542,17 @@ class KRHomeNodeListView extends GetView { } } - // 获取图标颜色 - Color? getIconColor(int delay) { - if (delay == 0) { - return null; - } else if (delay >= 3000) { - return Colors.red; - } - return null; - } - return Container( key: ValueKey(item.id), padding: EdgeInsets.symmetric(vertical: 8.w), child: Row( crossAxisAlignment: CrossAxisAlignment.center, children: [ - KrLocalImage( - imageName: "home_list_location", + // 🔧 修改:显示国旗代替图标 + KRCountryFlag( + countryCode: item.country, width: 36.w, height: 36.w, - color: getIconColor(item.urlTestDelay.value), ), SizedBox(width: 8.w), Expanded(