From 40799f2d1550690be125a2d90f5781afd4df7513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E9=94=8B?= <2535831261@qq.com> Date: Wed, 29 Jul 2026 10:13:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E7=A0=81=E9=A1=B5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scan_qrcode/pages/page_scan_qrcode.dart | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/lib/features/scan_qrcode/pages/page_scan_qrcode.dart b/lib/features/scan_qrcode/pages/page_scan_qrcode.dart index 76bad42..5b001b6 100644 --- a/lib/features/scan_qrcode/pages/page_scan_qrcode.dart +++ b/lib/features/scan_qrcode/pages/page_scan_qrcode.dart @@ -240,19 +240,28 @@ class _BrandHeader extends StatelessWidget { ], ), ), - Row( - children: [ - Icon(Icons.chevron_left_rounded, color: Colors.black, size: 28.sp), - Text( - '返回', - style: TextStyle( - // color: const Color(0xFF53A7F3), + GestureDetector( + onTap: () { + AppNavigator.pop(); + }, + child: Row( + children: [ + Icon( + Icons.chevron_left_rounded, color: Colors.black, - fontSize: 14.sp, - fontWeight: FontWeight.w400, + size: 28.sp, ), - ), - ], + Text( + '返回', + style: TextStyle( + // color: const Color(0xFF53A7F3), + color: Colors.black, + fontSize: 14.sp, + fontWeight: FontWeight.w400, + ), + ), + ], + ), ), ], );