Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
book-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
book-app
Commits
98c8b12c
提交
98c8b12c
authored
2月 27, 2024
作者:
maodou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ui修改
上级
5d689120
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
19 行增加
和
18 行删除
+19
-18
view.dart
lib/pages/course/view.dart
+1
-1
filter.dart
lib/pages/library/widgets/filter.dart
+3
-2
view.dart
lib/pages/login/view.dart
+1
-1
view.dart
lib/pages/mine/view.dart
+1
-1
card.dart
lib/pages/study_report/widgets/card.dart
+4
-4
view.dart
lib/pages/user_order_evaluate/view.dart
+9
-9
没有找到文件。
lib/pages/course/view.dart
浏览文件 @
98c8b12c
...
@@ -50,7 +50,7 @@ class _CoursePageState extends State<CoursePage> {
...
@@ -50,7 +50,7 @@ class _CoursePageState extends State<CoursePage> {
badgeStyle:
const
badges
.
BadgeStyle
(
badgeStyle:
const
badges
.
BadgeStyle
(
badgeColor:
AppTheme
.
primary
,
badgeColor:
AppTheme
.
primary
,
shape:
badges
.
BadgeShape
.
circle
,
shape:
badges
.
BadgeShape
.
circle
,
padding:
EdgeInsets
.
all
(
3
),
padding:
EdgeInsets
.
all
(
2
),
),
),
child:
CustomButton
.
icon
(
child:
CustomButton
.
icon
(
padding:
EdgeInsets
.
zero
,
padding:
EdgeInsets
.
zero
,
...
...
lib/pages/library/widgets/filter.dart
浏览文件 @
98c8b12c
...
@@ -126,7 +126,7 @@ class _FilterPageState extends State<FilterPage> {
...
@@ -126,7 +126,7 @@ class _FilterPageState extends State<FilterPage> {
},
},
child:
Container
(
child:
Container
(
height:
27
,
height:
27
,
padding:
const
EdgeInsets
.
only
(
left:
15
,
right:
15
,
top:
4
),
padding:
const
EdgeInsets
.
only
(
left:
15
,
right:
15
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
13.5
),
borderRadius:
BorderRadius
.
circular
(
13.5
),
color:
model
.
selected
?
const
Color
(
0xFFC02D55
).
withOpacity
(
0.08
):
Colours
.
cF4
,
color:
model
.
selected
?
const
Color
(
0xFFC02D55
).
withOpacity
(
0.08
):
Colours
.
cF4
,
...
@@ -139,7 +139,8 @@ class _FilterPageState extends State<FilterPage> {
...
@@ -139,7 +139,8 @@ class _FilterPageState extends State<FilterPage> {
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
13
,
height:
1.4
,
color:
model
.
selected
?
AppTheme
.
primary
:
Colours
.
c3
),
textAlign:
TextAlign
.
center
,),
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
13
,
height:
1.4
,
color:
model
.
selected
?
AppTheme
.
primary
:
Colours
.
c3
),
textAlign:
TextAlign
.
center
,),
Image
.
asset
(
model
.
selected
?
'assets/images/filter_select.png'
:
'assets/images/filter_unselect.png'
),
Image
.
asset
(
model
.
selected
?
'assets/images/filter_select.png'
:
'assets/images/filter_unselect.png'
),
],
],
):
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
13
,
height:
1.4
,
color:
model
.
selected
?
AppTheme
.
primary
:
Colours
.
c3
),
textAlign:
TextAlign
.
end
,),
):
Padding
(
padding:
EdgeInsets
.
only
(
top:
4
.
w
),
child:
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
13
,
height:
1.4
,
color:
model
.
selected
?
AppTheme
.
primary
:
Colours
.
c3
),
textAlign:
TextAlign
.
end
,),),
),
),
);
);
...
...
lib/pages/login/view.dart
浏览文件 @
98c8b12c
...
@@ -199,7 +199,7 @@ class _LoginPageState extends State<LoginPage> {
...
@@ -199,7 +199,7 @@ class _LoginPageState extends State<LoginPage> {
height:
14
.
w
,
height:
14
.
w
,
// color: AppTheme.primary,
// color: AppTheme.primary,
child:
Image
.
asset
(
child:
Image
.
asset
(
controller
.
agree
?
'assets/images/check_box_select.png'
:
'assets/images/uncheck.png'
,
controller
.
agree
?
'assets/images/check_box_select.png'
:
'assets/images/uncheck.png'
,
fit:
BoxFit
.
contain
,
),
),
),
),
Gaps
.
hGaps5
,
Gaps
.
hGaps5
,
...
...
lib/pages/mine/view.dart
浏览文件 @
98c8b12c
...
@@ -56,7 +56,7 @@ class _MinePageState extends State<MinePage> {
...
@@ -56,7 +56,7 @@ class _MinePageState extends State<MinePage> {
badgeStyle:
const
badges
.
BadgeStyle
(
badgeStyle:
const
badges
.
BadgeStyle
(
badgeColor:
AppTheme
.
primary
,
badgeColor:
AppTheme
.
primary
,
shape:
badges
.
BadgeShape
.
circle
,
shape:
badges
.
BadgeShape
.
circle
,
padding:
EdgeInsets
.
all
(
3
),
padding:
EdgeInsets
.
all
(
2
),
),
),
child:
CustomButton
.
icon
(
child:
CustomButton
.
icon
(
padding:
EdgeInsets
.
zero
,
padding:
EdgeInsets
.
zero
,
...
...
lib/pages/study_report/widgets/card.dart
浏览文件 @
98c8b12c
...
@@ -33,13 +33,13 @@ class BuildCard extends StatelessWidget {
...
@@ -33,13 +33,13 @@ class BuildCard extends StatelessWidget {
mainAxisAlignment:
MainAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
children:
[
Text
(
model
.
bookName
??
''
,
style:
TextStyle
(
fontSize:
20
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
medium
),),
Text
(
model
.
bookName
??
''
,
style:
TextStyle
(
fontSize:
18
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
boldSemi
),),
Gaps
.
vGaps15
,
Gaps
.
vGaps15
,
Row
(
Row
(
children:
[
children:
[
Text
(
'学习总进度'
,
style:
TextStyle
(
fontSize:
15
.
w
,
height:
1.4
,
color:
Colors
.
white
),),
Text
(
'学习总进度'
,
style:
TextStyle
(
fontSize:
15
.
w
,
height:
1.4
,
color:
Colors
.
white
),),
Gaps
.
hGaps15
,
Gaps
.
hGaps15
,
Text
(
model
.
progress
??
''
,
style:
TextStyle
(
fontSize:
16
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
medium
),),
Text
(
model
.
progress
??
''
,
style:
TextStyle
(
fontSize:
16
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
boldSemi
),),
]
]
),
),
Gaps
.
vGaps10
,
Gaps
.
vGaps10
,
...
@@ -47,13 +47,13 @@ class BuildCard extends StatelessWidget {
...
@@ -47,13 +47,13 @@ class BuildCard extends StatelessWidget {
children:
[
children:
[
Text
(
'学习总时长'
,
style:
TextStyle
(
fontSize:
15
.
w
,
height:
1.4
,
color:
Colors
.
white
),),
Text
(
'学习总时长'
,
style:
TextStyle
(
fontSize:
15
.
w
,
height:
1.4
,
color:
Colors
.
white
),),
Gaps
.
hGaps15
,
Gaps
.
hGaps15
,
Text
(
'
${model.readSecond??''}
分钟'
,
style:
TextStyle
(
fontSize:
16
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
medium
),),
Text
(
'
${model.readSecond??''}
分钟'
,
style:
TextStyle
(
fontSize:
16
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
boldSemi
),),
]
]
),
),
Gaps
.
vGaps10
,
Gaps
.
vGaps10
,
Text
(
'上次读到'
,
style:
TextStyle
(
fontSize:
15
.
w
,
height:
1.4
,
color:
Colors
.
white
),),
Text
(
'上次读到'
,
style:
TextStyle
(
fontSize:
15
.
w
,
height:
1.4
,
color:
Colors
.
white
),),
Gaps
.
vGaps5
,
Gaps
.
vGaps5
,
Text
(
model
.
lastChapter
??
''
,
style:
TextStyle
(
fontSize:
16
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
medium
),
maxLines:
1
,
overflow:
TextOverflow
.
ellipsis
,),
Text
(
model
.
lastChapter
??
''
,
style:
TextStyle
(
fontSize:
16
.
w
,
height:
1.4
,
color:
Colors
.
white
,
fontWeight:
Fonts
.
boldSemi
),
maxLines:
1
,
overflow:
TextOverflow
.
ellipsis
,),
]
]
),
),
),
),
...
...
lib/pages/user_order_evaluate/view.dart
浏览文件 @
98c8b12c
...
@@ -96,14 +96,14 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
...
@@ -96,14 +96,14 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
List
<
OrderEvaluate
>
orderEvaluates
,
List
<
OrderEvaluate
>
orderEvaluates
,
List
<
TextEditingController
>
controllers
)
{
List
<
TextEditingController
>
controllers
)
{
int
indexToUpdate
=
orderEvaluates
.
indexWhere
((
obj
)
=>
obj
.
recordId
==
bookListModel
.
recordId
);
int
indexToUpdate
=
orderEvaluates
.
indexWhere
((
obj
)
=>
obj
.
recordId
==
bookListModel
.
recordId
);
TextEditingController
textFieldController
=
TextEditingController
();
//
TextEditingController textFieldController= TextEditingController();
if
(
indexToUpdate
==-
1
){
//
if(indexToUpdate==-1){
OrderEvaluate
evaluate
=
OrderEvaluate
(
recordId:
bookListModel
.
recordId
);
//
OrderEvaluate evaluate = OrderEvaluate(recordId: bookListModel.recordId);
orderEvaluates
.
add
(
evaluate
);
//
orderEvaluates.add(evaluate);
controllers
.
add
(
textFieldController
);
//
controllers.add(textFieldController);
}
else
{
//
}else{
textFieldController
=
controllers
[
indexToUpdate
];
//
textFieldController = controllers[indexToUpdate];
}
//
}
int
index
=
orderEvaluates
.
length
-
1
;
int
index
=
orderEvaluates
.
length
-
1
;
return
Container
(
return
Container
(
...
@@ -225,7 +225,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
...
@@ -225,7 +225,7 @@ class _UserOrderEvaluatePageState extends State<UserOrderEvaluatePage> with Auto
hintStyle:
TextStyle
(
hintStyle:
TextStyle
(
fontSize:
14
.
w
,
height:
1.5
,
color:
Colours
.
c6
)),
fontSize:
14
.
w
,
height:
1.5
,
color:
Colours
.
c6
)),
maxLines:
5
,
maxLines:
5
,
controller:
textFieldController
,
//
controller: textFieldController,
hintText:
'请简要描述'
,
hintText:
'请简要描述'
,
),
),
),
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论