预约焦点错误

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(() {
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,

View File

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