Commit 7b7f08b6 authored by 杜欣's avatar 杜欣

Merge branch 'featrue/duxin' into 'test'

Featrue/duxin

See merge request !46
parents e16c12a4 3de49d5b
...@@ -129,7 +129,7 @@ class MechanismBox implements IBottomPicker { ...@@ -129,7 +129,7 @@ class MechanismBox implements IBottomPicker {
return mechanismList(mq, keyHeight); return mechanismList(mq, keyHeight);
}, },
), ),
bottomMessage() bottomMessage(context)
], ],
); );
} }
...@@ -303,7 +303,7 @@ class MechanismBox implements IBottomPicker { ...@@ -303,7 +303,7 @@ class MechanismBox implements IBottomPicker {
} }
// 底部输入框部分 // 底部输入框部分
Widget bottomMessage() { Widget bottomMessage(context) {
return Container( return Container(
height: 96, height: 96,
color: Color(0xffF9F8FB), color: Color(0xffF9F8FB),
...@@ -340,6 +340,8 @@ class MechanismBox implements IBottomPicker { ...@@ -340,6 +340,8 @@ class MechanismBox implements IBottomPicker {
return GestureDetector( return GestureDetector(
onTap: () { onTap: () {
textController.text += questions[index]; textController.text += questions[index];
FocusScope.of(context)
.requestFocus(focusNode);
}, },
child: Container( child: Container(
height: 25, height: 25,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment