预约焦点错误
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user