diff --git a/client/lib/screens/connect_page.dart b/client/lib/screens/connect_page.dart index 90bbe16..5100214 100644 --- a/client/lib/screens/connect_page.dart +++ b/client/lib/screens/connect_page.dart @@ -340,14 +340,17 @@ class _NodePill extends StatelessWidget { ? '${t.smartSelect} · ${node.localizedName(t.lang)} · $pingLabel' : '${node.localizedName(t.lang)} · $pingLabel'; return Container( - padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 6), + padding: const EdgeInsets.only(left: 6, right: 14, top: 5, bottom: 5), decoration: BoxDecoration( color: c.surface, border: Border.all(color: c.border), borderRadius: BorderRadius.circular(PangolinRadius.full), ), child: Row(mainAxisSize: MainAxisSize.min, children: [ - if (smart) ...[Icon(PangolinIcons.zap, size: 13, color: c.accent), const SizedBox(width: 7)], + // 地域国旗(无效码回退码块);智能选择再叠一个 zap 标识。 + CountryCode(code: node.code, size: 20), + const SizedBox(width: 8), + if (smart) ...[Icon(PangolinIcons.zap, size: 13, color: c.accent), const SizedBox(width: 6)], Text(label, style: PangolinText.caption.copyWith(color: c.fg2, fontSize: 12.5, fontWeight: FontWeight.w600)), ]),