From c2e606eb669c84755a32304c4b0c337d3a18f4b3 Mon Sep 17 00:00:00 2001 From: czz <862977248@qq.com> Date: Thu, 17 Jul 2025 10:13:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E7=84=A6=E7=82=B9=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/mh_page/book_info_page.dart | 34 +++++++++++++++++---------- lib/pages/mh_page/people_info.dart | 2 +- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/lib/pages/mh_page/book_info_page.dart b/lib/pages/mh_page/book_info_page.dart index 362d958..17eceaf 100644 --- a/lib/pages/mh_page/book_info_page.dart +++ b/lib/pages/mh_page/book_info_page.dart @@ -190,20 +190,28 @@ class BookInfoPage extends GetView { Flexible(child: Obx(() { return InkWell( onTap: () { - showOneSelectionDialog(context, - arr: controller - .model.time_period - .map((d) => - "${d['timeStr']} (${d['unBookAmount']}/${d['amount']})") - .toList()!, - checkIndex: controller.model - .select_time_index ?? - 0, checkChange: (index) { - controller.model - .select_time_index = index; + FocusScope.of(context) + .requestFocus(FocusNode()); + Future.delayed( + const Duration( + milliseconds: 250), () { + showOneSelectionDialog(context, + arr: controller + .model.time_period + .map((d) => + "${d['timeStr']} (${d['unBookAmount']}/${d['amount']})") + .toList()!, + checkIndex: controller.model + .select_time_index ?? + 0, + checkChange: (index) { + controller.model + .select_time_index = + index; - controller.updateAll(); - }, title: '请选择时间'); + controller.updateAll(); + }, title: '请选择时间'); + }); }, child: Container( width: 140, diff --git a/lib/pages/mh_page/people_info.dart b/lib/pages/mh_page/people_info.dart index e53f80e..dc640fc 100644 --- a/lib/pages/mh_page/people_info.dart +++ b/lib/pages/mh_page/people_info.dart @@ -748,7 +748,7 @@ class PeopleInfoPage extends GetView { .spaceBetween, children: [ Text( - '联系人', + '联系方式', style: TextStyle( fontFamily: 'Readex Pro', color: Color(0xFF9EA4B7),