Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
book-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
book-app
Commits
0688944f
提交
0688944f
authored
3月 06, 2024
作者:
yueweilu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、帮助中心内容bug
2、关于我们 换行
上级
47bd586f
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
9 行增加
和
4 行删除
+9
-4
mine.dart
lib/models/mine.dart
+6
-1
view.dart
lib/pages/help_center/view.dart
+1
-1
item.dart
lib/pages/help_center/widgets/item.dart
+1
-1
view.dart
lib/pages/user_about/view.dart
+1
-1
没有找到文件。
lib/models/mine.dart
浏览文件 @
0688944f
...
...
@@ -664,25 +664,29 @@ class HelpCenterModel {
this
.
id
,
this
.
helpTitle
,
this
.
createTime
,
this
.
index
,
});
HelpCenterModel
.
fromJson
(
dynamic
json
)
{
id
=
json
[
'id'
];
helpTitle
=
json
[
'help_title'
];
createTime
=
json
[
'create_time'
];
index
=
json
[
'index'
];
}
num
?
index
;
num
?
id
;
String
?
helpTitle
;
String
?
createTime
;
HelpCenterModel
copyWith
({
num
?
index
,
num
?
id
,
String
?
helpTitle
,
String
?
createTime
,
})
=>
HelpCenterModel
(
id:
id
??
this
.
id
,
index:
index
??
this
.
index
,
helpTitle:
helpTitle
??
this
.
helpTitle
,
createTime:
createTime
??
this
.
createTime
,
);
...
...
@@ -690,6 +694,7 @@ class HelpCenterModel {
Map
<
String
,
dynamic
>
toJson
()
{
final
map
=
<
String
,
dynamic
>{};
map
[
'id'
]
=
id
;
map
[
'index'
]
=
index
;
map
[
'help_title'
]
=
helpTitle
;
map
[
'create_time'
]
=
createTime
;
return
map
;
...
...
lib/pages/help_center/view.dart
浏览文件 @
0688944f
...
...
@@ -26,7 +26,7 @@ class _HelpCenterPageState extends State<HelpCenterPage> {
itemCount:
controller
.
helpCenters
.
length
,
itemBuilder:
(
BuildContext
context
,
int
index
){
HelpCenterModel
model
=
controller
.
helpCenters
[
index
];
model
.
i
d
=
index
+
1
;
model
.
i
ndex
=
index
+
1
;
return
GestureDetector
(
child:
BuildItem
(
model:
model
,),
onTap:
(){
...
...
lib/pages/help_center/widgets/item.dart
浏览文件 @
0688944f
...
...
@@ -18,7 +18,7 @@ class BuildItem extends StatelessWidget {
Row
(
children:
<
Widget
>[
Text
(
'
${model!.i
d
}
.'
,
'
${model!.i
ndex
}
.'
,
style:
TextStyle
(
fontSize:
14
.
w
,
height:
1.5
.
w
,
color:
Colours
.
c3
),
),
...
...
lib/pages/user_about/view.dart
浏览文件 @
0688944f
...
...
@@ -73,7 +73,7 @@ class _AboutPageState extends State<AboutPage> {
],
),
Gaps
.
hGaps10
,
Text
(
'Copyright © 2024 Zijing Education. All rights reserved.
\n
清控紫荆(北京)教育科技股份有限公司
京
\n
ICP证150431号'
,
style:
TextStyle
(
color:
Colours
.
c9
,
fontSize:
9
.
w
),
textAlign:
TextAlign
.
center
,),
Text
(
'Copyright © 2024 Zijing Education. All rights reserved.
\n
清控紫荆(北京)教育科技股份有限公司
\n
京
ICP证150431号'
,
style:
TextStyle
(
color:
Colours
.
c9
,
fontSize:
9
.
w
),
textAlign:
TextAlign
.
center
,),
Gaps
.
vGaps25
,
],
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论