预约焦点错误

This commit is contained in:
czz
2025-07-17 10:13:16 +08:00
parent 80d6670ad9
commit c2e606eb66
2 changed files with 22 additions and 14 deletions

View File

@@ -190,20 +190,28 @@ class BookInfoPage extends GetView<BookInfoController> {
Flexible(child: Obx(() { Flexible(child: Obx(() {
return InkWell( return InkWell(
onTap: () { onTap: () {
showOneSelectionDialog(context, FocusScope.of(context)
arr: controller .requestFocus(FocusNode());
.model.time_period Future.delayed(
.map((d) => const Duration(
"${d['timeStr']} (${d['unBookAmount']}/${d['amount']})") milliseconds: 250), () {
.toList()!, showOneSelectionDialog(context,
checkIndex: controller.model arr: controller
.select_time_index ?? .model.time_period
0, checkChange: (index) { .map((d) =>
controller.model "${d['timeStr']} (${d['unBookAmount']}/${d['amount']})")
.select_time_index = index; .toList()!,
checkIndex: controller.model
.select_time_index ??
0,
checkChange: (index) {
controller.model
.select_time_index =
index;
controller.updateAll(); controller.updateAll();
}, title: '请选择时间'); }, title: '请选择时间');
});
}, },
child: Container( child: Container(
width: 140, width: 140,

View File

@@ -748,7 +748,7 @@ class PeopleInfoPage extends GetView<PeopleInfoController> {
.spaceBetween, .spaceBetween,
children: [ children: [
Text( Text(
'联系', '联系方式',
style: TextStyle( style: TextStyle(
fontFamily: 'Readex Pro', fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7), color: Color(0xFF9EA4B7),