From 62d717c3eee2c3486de7c219c60693b99db503a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E9=94=8B?= <2535831261@qq.com> Date: Fri, 17 Jul 2026 12:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0build-apk-split.sh=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E4=BB=A5=E6=B7=BB=E5=8A=A0=E9=94=99=E8=AF=AF=E5=A4=84?= =?UTF-8?q?=E7=90=86=E5=92=8C=E6=9E=84=E5=BB=BA=E5=AE=8C=E6=88=90=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E8=BE=93=E5=87=BA=EF=BC=9B=E5=9C=A8ScanQrCodePage?= =?UTF-8?q?=E4=B8=AD=E5=A2=9E=E5=BC=BA=E7=8E=A9=E5=AE=B6ID=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=97=A0=E6=95=88=E5=87=AD?= =?UTF-8?q?=E8=AF=81=E6=8F=90=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-apk-split.sh | 7 ++++++- lib/features/scan_qrcode/pages/page_scan_qrcode.dart | 9 +++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/build-apk-split.sh b/build-apk-split.sh index e5af4e4..b35f315 100644 --- a/build-apk-split.sh +++ b/build-apk-split.sh @@ -1 +1,6 @@ -flutter build apk --release --split-per-abi \ No newline at end of file +#!/bin/sh +set -e + +flutter build apk --release --split-per-abi + +echo "构建完成时间: $(date '+%Y-%m-%d %H:%M:%S')" diff --git a/lib/features/scan_qrcode/pages/page_scan_qrcode.dart b/lib/features/scan_qrcode/pages/page_scan_qrcode.dart index 13688f4..159c780 100644 --- a/lib/features/scan_qrcode/pages/page_scan_qrcode.dart +++ b/lib/features/scan_qrcode/pages/page_scan_qrcode.dart @@ -125,12 +125,13 @@ class _AuthPageWidgetState extends ConsumerState { final String? playerId = await AppQrScannerDialog.show( context, ); - if (playerId == null || playerId.isEmpty) return; + if (playerId == null || playerId.isEmpty) { + AppToast.show('无效的参赛凭证'); + return; + } /// TODO - AppNavigator.push( - EventInfoPage(playerId: '74300708945530955'), - ); + AppNavigator.push(EventInfoPage(playerId: playerId)); }, variant: AppButtonVariant.secondary, ),