预约焦点错误

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,6 +190,11 @@ class BookInfoPage extends GetView<BookInfoController> {
Flexible(child: Obx(() { Flexible(child: Obx(() {
return InkWell( return InkWell(
onTap: () { onTap: () {
FocusScope.of(context)
.requestFocus(FocusNode());
Future.delayed(
const Duration(
milliseconds: 250), () {
showOneSelectionDialog(context, showOneSelectionDialog(context,
arr: controller arr: controller
.model.time_period .model.time_period
@@ -198,12 +203,15 @@ class BookInfoPage extends GetView<BookInfoController> {
.toList()!, .toList()!,
checkIndex: controller.model checkIndex: controller.model
.select_time_index ?? .select_time_index ??
0, checkChange: (index) { 0,
checkChange: (index) {
controller.model controller.model
.select_time_index = index; .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),