diff --git a/lib/common/values/constants.dart b/lib/common/values/constants.dart index d7e427b..72c24a3 100644 --- a/lib/common/values/constants.dart +++ b/lib/common/values/constants.dart @@ -16,7 +16,7 @@ class Constants { /// 服务 url 线上 static const apiUrl = 'https://dzc-test-1.fy.takin.cc'; -// static const apiUrl = 'https://www.zianxin.com/api'; + // static const apiUrl = 'https://www.zianxin.com/api'; // static const apiUrl = 'https://dzc-test-1.fy.takin.cc'; diff --git a/lib/pages/terminal/card_active/view.dart b/lib/pages/terminal/card_active/view.dart index acffca4..6bd58d2 100644 --- a/lib/pages/terminal/card_active/view.dart +++ b/lib/pages/terminal/card_active/view.dart @@ -20,9 +20,10 @@ class CardActivePage extends GetView { width: 360.w, controller: pageController.carNumberC, hint: '请输入饭卡卡号', - // 饭卡卡号为数字;触摸输入走自研数字键盘,读卡与实体键盘不受影响。 + // 读卡返回的卡号为字母数字串,与基线一致允许输入字母; + // 触摸输入默认数字面板,ABC 面板可切,读卡与实体键盘不受影响。 softKeyboard: AppSoftKeyboardMode.digits, - softKeyboardAllowPattern: RegExp('[0-9]'), + softKeyboardAllowPattern: RegExp('[0-9a-zA-Z]'), onSubmit: (_) => pageController.doPage(page: 1), ), SizedBox(width: 12.w),