Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
book-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
book-app
Commits
472a8d79
提交
472a8d79
authored
2月 25, 2024
作者:
yueweilu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
字体适配
上级
249e7567
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
12 行增加
和
12 行删除
+12
-12
item.dart
lib/pages/book_category/widgets/item.dart
+4
-4
count.dart
lib/pages/book_shop/widgets/count.dart
+2
-2
view.dart
lib/pages/mine/view.dart
+2
-2
item.dart
lib/pages/read_web/widgets/item.dart
+4
-4
没有找到文件。
lib/pages/book_category/widgets/item.dart
浏览文件 @
472a8d79
...
...
@@ -66,8 +66,8 @@ class _BuildItemState extends State<BuildItem> {
});
},
child:
Container
(
width:
20
,
height:
20
,
width:
20
.
w
,
height:
20
.
w
,
// color: Colors.red,
child:
Image
.
asset
(
'assets/images/down.png'
)
),
...
...
@@ -103,8 +103,8 @@ class _BuildItemState extends State<BuildItem> {
Widget
_buildSection
(
ChapterModel
model
){
return
Container
(
color:
Colors
.
white
,
padding:
const
EdgeInsets
.
only
(
left:
60
,
bottom:
4
),
child:
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
14
,
color:
model
.
seen
==
0
?
Colours
.
c3
:
Colours
.
c9
,
height:
2
),),
padding:
EdgeInsets
.
only
(
left:
60
.
w
,
bottom:
4
.
w
),
child:
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
14
.
w
,
color:
model
.
seen
==
0
?
Colours
.
c3
:
Colours
.
c9
,
height:
2
),),
);
}
}
lib/pages/book_shop/widgets/count.dart
浏览文件 @
472a8d79
...
...
@@ -43,8 +43,8 @@ class BuildCounter extends StatelessWidget {
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Text
(
'合计 ¥
${controller.allPrice.toStringAsFixed(2)}
'
,
style:
const
TextStyle
(
color:
AppTheme
.
primary
,
fontSize:
16
,
fontWeight:
Fonts
.
boldSemi
)),
Text
(
'已选
${controller.num}
件'
,
style:
const
TextStyle
(
color:
Color
(
0xFF999999
),
fontSize:
12
,))
Text
(
'合计 ¥
${controller.allPrice.toStringAsFixed(2)}
'
,
style:
TextStyle
(
color:
AppTheme
.
primary
,
fontSize:
16
.
w
,
fontWeight:
Fonts
.
boldSemi
)),
Text
(
'已选
${controller.num}
件'
,
style:
TextStyle
(
color:
Color
(
0xFF999999
),
fontSize:
12
.
w
,))
],
)
],
...
...
lib/pages/mine/view.dart
浏览文件 @
472a8d79
...
...
@@ -50,9 +50,9 @@ class _MinePageState extends State<MinePage> {
}
},
child:
badges
.
Badge
(
position:
badges
.
BadgePosition
.
topEnd
(
top:
-
5
,
end:
0
),
position:
badges
.
BadgePosition
.
topEnd
(
top:
-
5
.
w
,
end:
0
),
showBadge:
controller
.
num
==
0
?
false
:
true
,
badgeContent:
Text
(
controller
.
num
.
toString
(),
style:
const
TextStyle
(
fontSize:
8
,
color:
Colors
.
white
),),
badgeContent:
Text
(
controller
.
num
.
toString
(),
style:
TextStyle
(
fontSize:
8
.
w
,
color:
Colors
.
white
),),
badgeStyle:
const
badges
.
BadgeStyle
(
badgeColor:
AppTheme
.
primary
,
shape:
badges
.
BadgeShape
.
circle
...
...
lib/pages/read_web/widgets/item.dart
浏览文件 @
472a8d79
...
...
@@ -59,8 +59,8 @@ class _BuildItemState extends State<BuildItem> {
});
},
child:
SizedBox
(
width:
20
,
height:
20
,
width:
20
.
w
,
height:
20
.
w
,
child:
Image
.
asset
(
'assets/images/down.png'
)
),
)
...
...
@@ -95,8 +95,8 @@ class _BuildItemState extends State<BuildItem> {
Widget
_buildSection
(
ChapterModel
model
){
return
Container
(
color:
Colors
.
white
,
padding:
const
EdgeInsets
.
only
(
left:
60
),
child:
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
14
,
color:
model
.
seen
==
0
?
Colours
.
c3
:
Colours
.
c9
,
height:
2
),),
padding:
EdgeInsets
.
only
(
left:
60
.
w
),
child:
Text
(
model
.
name
??
''
,
style:
TextStyle
(
fontSize:
14
.
w
,
color:
model
.
seen
==
0
?
Colours
.
c3
:
Colours
.
c9
,
height:
2
),),
);
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论