瀏覽代碼

fix 17856: 【体检系统】【预约】预约二维码,文字下方显示“请扫描二维码”,看不出来二维码的作用,建议修改为“请扫码预约体检”

Melon 1 年之前
父節點
當前提交
c434dd1e1e

二進制
assets/images/flyinsono.png


二進制
assets/images/ic_launcher.png


+ 1 - 0
lib/pages/medical_checkup_station/appointment/controller/list.dart

@@ -176,6 +176,7 @@ class AppointmentListController {
                 Get.dialog(
                   ShareQrCode(
                     shareUrl: appointment.appointmentUrl!,
+                    description: "请扫码预约体检",
                   ),
                 );
               },

+ 3 - 1
lib/pages/medical_checkup_station/appointment/widgets/share_qr_code.dart

@@ -8,8 +8,10 @@ class ShareQrCode extends StatelessWidget {
   const ShareQrCode({
     super.key,
     required this.shareUrl,
+    required this.description,
   });
   final String shareUrl;
+  final String description;
 
   @override
   Widget build(BuildContext context) {
@@ -51,7 +53,7 @@ class ShareQrCode extends StatelessWidget {
         padding: const EdgeInsets.only(top: 20, bottom: 20),
         child: QRCodeWithLogo(
           shareUrl,
-          codeStatement: i18nBook.remedical.scanQrCodeToShare.t,
+          codeStatement: description,
           operationStatement: i18nBook.remedical.copyLink.t,
           operationSuccessCallback: () {
             PromptBox.toast(i18nBook.remedical.copySuccess.t);