Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
book-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
book-app
Commits
843d638a
提交
843d638a
authored
2月 29, 2024
作者:
yueweilu
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/test' into test
上级
e75e9cee
f9b7be66
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
22 行删除
+5
-22
filter.dart
lib/pages/library/widgets/filter.dart
+2
-0
view.dart
lib/pages/user_order_evaluate/view.dart
+3
-22
没有找到文件。
lib/pages/library/widgets/filter.dart
浏览文件 @
843d638a
...
@@ -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> {
)
)
],
],
),
),
),
);
);
}
}
...
...
lib/pages/user_order_evaluate/view.dart
浏览文件 @
843d638a
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论