mod: 动态评论、二级评论展示

This commit is contained in:
guozhigq
2023-07-23 17:26:50 +08:00
parent 8fe0215fbc
commit bcc6431ec5
9 changed files with 117 additions and 131 deletions

View File

@ -72,7 +72,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage> {
}
void replyReply(replyItem) {
int oid = replyItem.replies!.first.oid;
int oid = replyItem.oid;
int rpid = replyItem.rpid!;
Get.to(
() => Scaffold(
@ -85,6 +85,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage> {
rpid: rpid,
source: 'dynamic',
replyType: ReplyType.values[type],
firstFloor: replyItem,
),
),
);
@ -217,7 +218,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage> {
replyLevel: '1',
replyReply: (replyItem) =>
replyReply(replyItem),
replyType: ReplyType.album,
replyType: ReplyType.values[type],
);
}
},