提交 843d638a authored 作者: yueweilu's avatar yueweilu

Merge remote-tracking branch 'origin/test' into test

...@@ -28,6 +28,7 @@ class _FilterPageState extends State<FilterPage> { ...@@ -28,6 +28,7 @@ class _FilterPageState extends State<FilterPage> {
return Container( return Container(
color: const Color(0xFF000000).withOpacity(0.5), color: const Color(0xFF000000).withOpacity(0.5),
child: SingleChildScrollView(
child: Column( child: Column(
children: [ children: [
Container( Container(
...@@ -98,6 +99,7 @@ class _FilterPageState extends State<FilterPage> { ...@@ -98,6 +99,7 @@ class _FilterPageState extends State<FilterPage> {
) )
], ],
), ),
),
); );
} }
......
...@@ -194,7 +194,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto ...@@ -194,7 +194,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
), ),
Gaps.hGaps20, Gaps.hGaps20,
AbsorbPointer( AbsorbPointer(
absorbing: false, absorbing: bookListModel.rating!.toDouble()>0,
child: CustomRating( child: CustomRating(
max: 5, max: 5,
score:bookListModel.rating !=null ?bookListModel.rating!.toDouble():0, score:bookListModel.rating !=null ?bookListModel.rating!.toDouble():0,
...@@ -221,6 +221,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto ...@@ -221,6 +221,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
focusedBorder: InputBorder.none, focusedBorder: InputBorder.none,
border: InputBorder.none, border: InputBorder.none,
enabledBorder: InputBorder.none, enabledBorder: InputBorder.none,
disabledBorder: InputBorder.none,
errorBorder: InputBorder.none, errorBorder: InputBorder.none,
fillColor: Colors.white, fillColor: Colors.white,
hintText: '请简要描述', hintText: '请简要描述',
...@@ -233,6 +234,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto ...@@ -233,6 +234,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
}, },
focusNode: myController._focusNode, focusNode: myController._focusNode,
controller: myController._commentsControllers[index], controller: myController._commentsControllers[index],
enabled: myController._commentsControllers[index].text.isEmpty,
onTap: () { onTap: () {
// 在文本框获取焦点时,将光标移动到文本末尾 // 在文本框获取焦点时,将光标移动到文本末尾
myController._commentsControllers[index].selection = TextSelection.fromPosition( myController._commentsControllers[index].selection = TextSelection.fromPosition(
...@@ -240,27 +242,6 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto ...@@ -240,27 +242,6 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
); );
}, },
), ),
// CustomInputCommands(
// decoration: InputDecoration(
// focusedBorder: InputBorder.none,
// border: InputBorder.none,
// enabledBorder: InputBorder.none,
// errorBorder: InputBorder.none,
// fillColor: Colors.white,
// hintStyle: TextStyle(
// fontSize: 14.w, height: 1.5, color: Colours.c6)),
// maxLines: 5,
// controller: myController.commentsInput,
// hintText: '请简要描述',
// onChanged: (text){
// myController.setCanClick();
// print(myController.commentsInput.text);
// orderEvaluates[index].comments=myController.commentsInput.text;
// },
// focusNode: myController._focusNode,
// ),
], ],
), ),
), ),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论