Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
book-app
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
book-app
Commits
18dec114
提交
18dec114
authored
3月 21, 2024
作者:
yueweilu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
笔记超长展示问题
上级
958ccddd
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
18 行增加
和
10 行删除
+18
-10
controller.dart
lib/pages/login/controller.dart
+1
-0
discuss.dart
lib/pages/read_web/widgets/discuss.dart
+1
-0
input_discuss.dart
lib/pages/read_web/widgets/input_discuss.dart
+2
-2
controller.dart
lib/pages/user_edit_note/controller.dart
+3
-0
view.dart
lib/pages/user_edit_note/view.dart
+0
-0
view.dart
lib/pages/user_nick/view.dart
+1
-0
note.dart
lib/pages/user_notes_des/widgets/note.dart
+10
-8
没有找到文件。
lib/pages/login/controller.dart
浏览文件 @
18dec114
...
...
@@ -117,6 +117,7 @@ class LoginController extends GetxController {
/// 登录
void
onLogin
(
BuildContext
context
)
async
{
Tools
.
unfocus
();
if
(!
agree
)
{
Toast
.
show
(
'请先阅读并同意《用户协议》和《隐私政策》'
);
return
;
...
...
lib/pages/read_web/widgets/discuss.dart
浏览文件 @
18dec114
...
...
@@ -136,6 +136,7 @@ class _ReadDiscussPageState extends State<ReadDiscussPage> {
top:
0
,
child:
GestureDetector
(
onTap:
(){
Tools
.
unfocus
();
controller
.
setShow
();
},
child:
Container
(
...
...
lib/pages/read_web/widgets/input_discuss.dart
浏览文件 @
18dec114
...
...
@@ -198,7 +198,7 @@ class _ReadInputDiscussState extends State<ReadInputDiscuss> {
);
widget
.
controller
.
addDiscussInputImages
(
assets
!.
path
);
},
child:
Container
(
child:
SizedBox
(
// color: Colors.red,
width:
25
,
height:
25
,
...
...
@@ -215,7 +215,7 @@ class _ReadInputDiscussState extends State<ReadInputDiscuss> {
}
},
child:
Container
(
child:
SizedBox
(
// color: Colors.red,
width:
23
,
height:
23
,
...
...
lib/pages/user_edit_note/controller.dart
浏览文件 @
18dec114
...
...
@@ -34,6 +34,7 @@ class UserEditNoteController extends GetxController {
void
onClose
()
{
contentInput
.
dispose
();
audioPlayer
.
dispose
();
Tools
.
unfocus
();
super
.
onClose
();
}
...
...
@@ -186,6 +187,7 @@ class UserEditNoteController extends GetxController {
// 提交
Future
<
bool
>
submit
()
async
{
CustomToast
.
loading
();
// 循环上传图片获取地址
for
(
MediaModel
mediaModel
in
model
.
noteContent
!.
image
!){
if
(
mediaModel
.
id
==
0
){
...
...
@@ -201,6 +203,7 @@ class UserEditNoteController extends GetxController {
mediaModel
.
content
=
url
;
}
}
CustomToast
.
dismiss
();
// 组织图片
List
<
Map
>
images
=
[];
...
...
lib/pages/user_edit_note/view.dart
浏览文件 @
18dec114
差异被折叠。
点击展开。
lib/pages/user_nick/view.dart
浏览文件 @
18dec114
...
...
@@ -40,6 +40,7 @@ class _UserNickPageState extends State<UserNickPage> {
// print("保存昵称");
controller
.
changeInfo
(
_textFieldController
.
text
);
_focusNode
.
unfocus
();
Tools
.
unfocus
();
},
child:
Text
(
'保存'
,
...
...
lib/pages/user_notes_des/widgets/note.dart
浏览文件 @
18dec114
...
...
@@ -66,18 +66,20 @@ class BuildNote extends StatelessWidget {
_showText
(
model
).
isEmpty
?
const
SizedBox
():
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
[
Text
(
_showText
(
model
),
style:
TextStyle
(
fontSize:
14
.
w
,
height:
1.5
,
// color: Colors.red,
color:
Colours
.
c3
),),
Expanded
(
child:
Text
(
_showText
(
model
),
style:
TextStyle
(
fontSize:
14
.
w
,
height:
1.5
,
// color: Colors.red,
color:
Colours
.
c3
),
maxLines:
999
,
overflow:
TextOverflow
.
ellipsis
,),
),
Text
(
_showStatus
(
model
),
style:
TextStyle
(
fontSize:
11
.
w
,
height:
1.5
,
color:
AppTheme
.
primary
),),
],
),
Gaps
.
vGaps13
,
model
.
noteContent
!.
image
!.
isEmpty
?
const
SizedBox
():
Gaps
.
vGaps13
,
_buildImageGridView
(),
Gaps
.
vGaps13
,
model
.
noteContent
!.
audio
!.
isEmpty
?
const
SizedBox
():
Gaps
.
vGaps13
,
_buildAudioListView
(),
Gaps
.
vGaps13
,
Container
(
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论